{"id":143,"date":"2022-11-30T10:59:49","date_gmt":"2022-11-30T10:59:49","guid":{"rendered":"https:\/\/faq.powervps.ru\/?p=143"},"modified":"2026-10-01T17:32:40","modified_gmt":"2026-10-01T17:32:40","slug":"%d0%ba%d0%b0%d0%ba-%d1%81%d0%b1%d1%80%d0%be%d1%81%d0%b8%d1%82%d1%8c-%d0%bf%d0%b0%d1%80%d0%be%d0%bb%d1%8c-vps-%d1%81-%d0%be%d1%81-windows","status":"publish","type":"post","link":"https:\/\/faq.powervps.xyz\/?p=143","title":{"rendered":"How to Reset a Windows VPS Password"},"content":{"rendered":"<h1 style=\"text-align: center;\">How to Reset a Windows VPS Password<\/h1>\n<p>This guide explains how to reset the password of a <strong>Windows VPS<\/strong> from the PowerVPS control panel.<\/p>\n<p>First, try changing the password directly from the VPS control panel. If this does not work, you can use <strong>Recovery Mode<\/strong> and the <code>chntpw<\/code> utility.<\/p>\n<p><strong>Important:<\/strong> Use this procedure only for a VPS that you own or administer.<\/p>\n<p><strong>Warning:<\/strong> Recovery Mode modifies the Windows account database directly. Incorrect actions may prevent Windows from starting correctly.<\/p>\n<h2>Method 1. Change the Password from the VPS Control Panel<\/h2>\n<p>Open the PowerVPS VPS control panel:<\/p>\n<p><code>https:\/\/vm.powervps.xyz\/<\/code><\/p>\n<p>Go to:<\/p>\n<p><strong>Virtual Machines \u2192 Select the VPS \u2192 Menu \u2192 Change Password<\/strong><\/p>\n<p>Enter a new password and apply the change.<\/p>\n<p>If the new password does not work after the operation is complete, use Recovery Mode as described below.<\/p>\n<h2>Method 2. Reset the Windows Password in Recovery Mode<\/h2>\n<h3>Step 1. Enable Recovery Mode<\/h3>\n<p>In the VPS control panel, go to:<\/p>\n<p><strong>Virtual Machines \u2192 Select the VPS \u2192 Menu \u2192 Recovery Mode<\/strong><\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_306.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-248\" src=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_306.jpg\" alt=\"Opening Recovery Mode for a Windows VPS\" width=\"443\" height=\"767\" srcset=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_306.jpg 443w, https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_306-173x300.jpg 173w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/a><\/p>\n<p>Select:<\/p>\n<p><strong>Start Recovery Mode and Reboot<\/strong><\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_307.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-249\" src=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_307.jpg\" alt=\"Starting VPS Recovery Mode\" width=\"436\" height=\"684\" srcset=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_307.jpg 436w, https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_307-191x300.jpg 191w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/a><\/p>\n<p>Wait for the VPS to reboot into the recovery environment.<\/p>\n<h2>Step 2. Open the VNC Console<\/h2>\n<p>Go to:<\/p>\n<p><strong>Virtual Machines \u2192 Select the VPS \u2192 Menu \u2192 VNC<\/strong><\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_308.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-250\" src=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_308.jpg\" alt=\"Opening VNC for the VPS\" width=\"424\" height=\"654\" srcset=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_308.jpg 424w, https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/Screenshot_308-194x300.jpg 194w\" sizes=\"auto, (max-width: 424px) 100vw, 424px\" \/><\/a><\/p>\n<p>When SystemRescue starts, select the default boot option.<\/p>\n<h2>Step 3. Find the Windows Partition<\/h2>\n<p>In the SystemRescue terminal, display the available disks and partitions:<\/p>\n<pre><code class=\"language-bash\">fdisk -l<\/code><\/pre>\n<p>You can also use:<\/p>\n<pre><code class=\"language-bash\">lsblk -f<\/code><\/pre>\n<p>Look for the Windows partition. It will normally use the <strong>NTFS<\/strong> filesystem.<\/p>\n<p>Example:<\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/fdisk-l.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-430\" src=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/fdisk-l.png\" alt=\"Listing Windows partitions in SystemRescue\" width=\"562\" height=\"55\" srcset=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/fdisk-l.png 562w, https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/fdisk-l-300x29.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><\/p>\n<p>In this example, the Windows partition is:<\/p>\n<p><code>\/dev\/vda2<\/code><\/p>\n<p><strong>Important:<\/strong> The partition on your VPS may have a different name. Do not assume that it is always <code>\/dev\/vda2<\/code>.<\/p>\n<h2>Step 4. Mount the Windows Partition<\/h2>\n<p>Create or use the mount point and mount the Windows partition:<\/p>\n<pre><code class=\"language-bash\">mount \/dev\/vda2 \/mnt<\/code><\/pre>\n<p>Replace:<\/p>\n<p><code>\/dev\/vda2<\/code><\/p>\n<p>with the actual Windows partition found in the previous step.<\/p>\n<h2>Step 5. Open the Windows Configuration Directory<\/h2>\n<p>Run:<\/p>\n<pre><code class=\"language-bash\">cd \/mnt\/Windows\/System32\/config\/<\/code><\/pre>\n<p>The Windows local account database is stored in the:<\/p>\n<p><code>SAM<\/code><\/p>\n<p>file.<\/p>\n<h2>Step 6. Display the Windows Local Accounts<\/h2>\n<p>Run:<\/p>\n<pre><code class=\"language-bash\">chntpw -l SAM<\/code><\/pre>\n<p>The command will display the local Windows users.<\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/chntpw-l-SAM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-431\" src=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/chntpw-l-SAM.png\" alt=\"Windows local users displayed by chntpw\" width=\"552\" height=\"193\" srcset=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/chntpw-l-SAM.png 552w, https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/chntpw-l-SAM-300x105.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/a><\/p>\n<p>The output includes information such as:<\/p>\n<ul>\n<li><strong>RID<\/strong> \u2014 account identifier.<\/li>\n<li><strong>Username<\/strong> \u2014 Windows local account name.<\/li>\n<li><strong>Admin<\/strong> \u2014 whether the account has administrator privileges.<\/li>\n<li><strong>Lock status<\/strong> \u2014 whether the account is disabled or locked.<\/li>\n<\/ul>\n<p>Find the administrator account that you want to reset.<\/p>\n<p>For the built-in Windows Administrator account, the RID is commonly:<\/p>\n<p><code>01f4<\/code><\/p>\n<h2>Step 7. Open the Account in chntpw<\/h2>\n<p>For an account with RID <code>01f4<\/code>, run:<\/p>\n<pre><code class=\"language-bash\">chntpw -u 0x01f4 SAM<\/code><\/pre>\n<p><strong>Important:<\/strong> Use the RID shown by <code>chntpw -l SAM<\/code> for the account you actually want to reset.<\/p>\n<h2>Step 8. Unlock the Account if Necessary<\/h2>\n<p>If the account is disabled or locked, the chntpw menu may display an option similar to:<\/p>\n<p><code>2 - Unlock and enable user account<\/code><\/p>\n<p>Enter:<\/p>\n<p><code>2<\/code><\/p>\n<p>if the account needs to be enabled or unlocked.<\/p>\n<h2>Step 9. Clear the Password<\/h2>\n<p>In the chntpw menu, select:<\/p>\n<p><code>1 - Clear (blank) user password<\/code><\/p>\n<p>Then enter:<\/p>\n<p><code>q<\/code><\/p>\n<p>to exit.<\/p>\n<p>When asked whether to save the changes, enter:<\/p>\n<p><code>y<\/code><\/p>\n<h2>Step 10. Verify the Result<\/h2>\n<p>Run:<\/p>\n<pre><code class=\"language-bash\">chntpw -l SAM<\/code><\/pre>\n<p>again.<\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/03_chntpw-l-SAM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-432\" src=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/03_chntpw-l-SAM.png\" alt=\"Windows password cleared with chntpw\" width=\"578\" height=\"197\" srcset=\"https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/03_chntpw-l-SAM.png 578w, https:\/\/faq.powervps.xyz\/wp-content\/uploads\/2022\/11\/03_chntpw-l-SAM-300x102.png 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/a><\/p>\n<p>If the password was successfully cleared, the account may be shown with:<\/p>\n<p><code>BLANK<\/code><\/p>\n<p>status.<\/p>\n<h2>Step 11. Disable Recovery Mode<\/h2>\n<p>Return to the PowerVPS VPS control panel.<\/p>\n<p>Go to:<\/p>\n<p><strong>Virtual Machines \u2192 Select the VPS \u2192 Menu \u2192 Recovery Mode<\/strong><\/p>\n<p>Select:<\/p>\n<p><strong>Disable Recovery Mode and Reboot<\/strong><\/p>\n<p>Wait for Windows to start normally.<\/p>\n<h2>Step 12. Set a New Windows Password<\/h2>\n<p>Connect to the server through VNC.<\/p>\n<p>Open:<\/p>\n<p><strong>Start \u2192 Computer Management \u2192 Local Users and Groups \u2192 Users<\/strong><\/p>\n<p>Find the administrator account whose password was reset.<\/p>\n<p>This may be:<\/p>\n<p><code>Administrator<\/code><\/p>\n<p>or another local administrator account configured on the VPS.<\/p>\n<p>Right-click the account and select:<\/p>\n<p><strong>Set Password&#8230;<\/strong><\/p>\n<p>Enter a new strong password.<\/p>\n<h2>Password Security<\/h2>\n<p>Windows servers connected to the Internet regularly receive automated RDP login attempts.<\/p>\n<p>Use a strong and unique password.<\/p>\n<p>We recommend:<\/p>\n<ul>\n<li>At least <strong>14 characters<\/strong>.<\/li>\n<li>Uppercase and lowercase letters.<\/li>\n<li>Numbers.<\/li>\n<li>Special characters.<\/li>\n<li>A password that is not used on any other service.<\/li>\n<\/ul>\n<p>You can use the PowerVPS password guide:<\/p>\n<p><a href=\"https:\/\/faq.powervps.xyz\/?p=564\"><strong>Password Security Guide<\/strong><\/a><\/p>\n<h2>Important Limitations<\/h2>\n<p>This recovery method works with <strong>local Windows accounts<\/strong> stored in the local SAM database.<\/p>\n<p>It is not intended to reset:<\/p>\n<ul>\n<li>Microsoft online accounts<\/li>\n<li>Microsoft Entra ID accounts<\/li>\n<li>Active Directory domain passwords<\/li>\n<\/ul>\n<p>SystemRescue documents <code>chntpw<\/code> specifically as a tool for modifying local Windows accounts stored in the SAM database.<\/p>\n<h2>If Windows Does Not Boot After Recovery<\/h2>\n<p>Check that:<\/p>\n<ul>\n<li>Recovery Mode was disabled.<\/li>\n<li>The correct Windows partition was mounted.<\/li>\n<li>The SAM file was modified in the correct Windows installation.<\/li>\n<\/ul>\n<p>If necessary, return to Recovery Mode and verify the disk configuration again.<\/p>\n<h2>Conclusion<\/h2>\n<p>To reset a Windows VPS password:<\/p>\n<ol>\n<li>First try <strong>Change Password<\/strong> in the VPS control panel.<\/li>\n<li>If that fails, start <strong>Recovery Mode<\/strong>.<\/li>\n<li>Mount the Windows NTFS partition.<\/li>\n<li>Use <code>chntpw<\/code> to identify and clear the local administrator password.<\/li>\n<li>Disable Recovery Mode and reboot Windows.<\/li>\n<li>Set a new strong password from Windows.<\/li>\n<\/ol>\n<p>Use Recovery Mode only when the normal password reset function does not work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Reset a Windows VPS Password This guide explains how to reset the password of a Windows VPS from the PowerVPS control panel. First, try changing the password directly from the VPS control panel. If this does not work, you can use Recovery Mode and the chntpw utility. Important: Use this procedure only for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-virtual-servers"],"_links":{"self":[{"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":14,"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":793,"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions\/793"}],"wp:attachment":[{"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/faq.powervps.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}