Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

How to bulk reset passwords in Plesk

 
databasedomainsemailgohttps

Question

How to bulk reset passwords in Plesk?

Answer

Use the Mass Password Reset script, which is designed to allow Plesk administrators to reset passwords for all accounts in one click.

Once executed, the script prints account names and their new passwords in the command output and to the new_plesk_passwords.csv file. The new_plesk_passwords.csv file will be created in the same directory where the script is located.

 

Plesk for Linux

 

  1. Download the script:

    # curl -LO https://raw.githubusercontent.com/plesk/kb-scripts/master/plesk-password-changer/plesk-password-changer.php

  2. Run the script using one of the following ways:

    • Reset passwords for all Plesk accounts:

      # /usr/local/psa/bin/sw-engine-pleskrun plesk-password-changer.php `cat /etc/psa/.psa.shadow`

    • Reset passwords for individual account groups:

      # /usr/local/psa/bin/sw-engine-pleskrun plesk-password-changer.php `cat /etc/psa/.psa.shadow` [option]

      where [option] is one of the following parameters:

      • --all - [default] reset passwords for all Plesk accounts

      • --admin - reset the password for the admin user

      • --additionaladmins - reset passwords for additional administrator accounts

      • --clean-up-sessions - close all active Plesk sessions

      • --resellers - reset passwords for all Plesk resellers

      • --clients - reset passwords for all Plesk customers

      • --domains - reset passwords for main FTP accounts of all subscriptions

      • --additionalftpaccounts - reset passwords for all additional FTP accounts of subscriptions

      • --users - reset passwords for all additional Plesk users and email accounts, if an email account is also a Plesk user

      • --mailaccounts - reset passwords for email accounts, if an email account does not have an access to Plesk.

      • --dbusers - reset passwords for all database users

      • --apsc - reset the password for the apsc database

         

      Examples

    • Set a specific password for the admin user and reset passwords for all other Plesk accounts:

      # /usr/local/psa/bin/sw-engine-pleskrun plesk-password-changer.php `cat /etc/psa/.psa.shadow` '*****'

    • Reset passwords for Plesk users and email accounts:

      # /usr/local/psa/bin/sw-engine-pleskrun plesk-password-changer.php `cat /etc/psa/.psa.shadow` --users --mailaccounts

 

Plesk for Windows Server

 

  1. Download the script.

  2. Extract the downloaded script.

  3. Start a command prompt as an administrator and go to the directory where the extracted script is located:

    C:> cd /path/to/script/folder

  4. Run the script using one of the following ways. In the commands below, replace ***** with an actual Plesk admin account password:

    Note: To get a Plesk admin account password, use the 'plesk sbin psadb --get-admin-password' command.

    • Reset passwords for all Plesk accounts:

      C:> "%plesk_dir%adminbinphp.exe" -dauto_prepend_file= plesk_password_changer.php *****

    • Reset passwords for individual account groups:

      C:> "%plesk_dir%adminbinphp.exe" -dauto_prepend_file= plesk-password-changer.php ***** [option]

      where [option] is one of the following parameters:

      • --admin - reset the password for the admin user

      • --additionaladmins - reset passwords for additional administrator accounts

      • --clean-up-sessions - close all active Plesk sessions

      • --resellers - reset passwords for all Plesk resellers

      • --clients - reset passwords for all Plesk customers

      • --domains - reset passwords for main FTP accounts of all subscriptions

      • --additionalftpaccounts - reset passwords…

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Host a Go App on Plesk

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »
Knowledge Base

 An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘X’ for key ‘PRIMARY’

Read More »

Broken WordPress installation after migration to Plesk via Site Import: it does not seem that this WordPress website is working

Read More »

Mail disk space usage is incorrect in Plesk

Read More »

How to create an email account in Plesk

Read More »

Hosting Wiki

  • Django
  • Server Redundancy
  • Linux Containers
  • Google Cloud CDN
  • AMP
  • Bare Metal Server
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • PHP
  • MongoDB
  • Domain
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • Email Autoresponder
  • Email Alias
  • Email Virus Protection
  • Email Forwarding
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family