Managed Kubernetes now available in Open Beta. Test out the new service yourself at your Control Panel.
Managed Kubernetes now available in Open Beta. Test out the new service yourself at your Control Panel.
Strong system security requires equally strong passwords, which, in turn, make the passwords more difficult to remember. In such case that the password for the Windows administrator user account is lost without an alternative method, you might end up locked out of your own system. Luckily, resetting the administrator password of your Windows cloud server is fairly straightforward and will only take a few minutes to complete.
Step 1: Proceed to shut down your Windows server (the server that needs the administrator password to be reset) via the Windows operating system interface as shown below:
Step 2: Once the Windows server has been successfully shut down. Proceed to the “RESIZE” sub-menu of your Windows server as shown below:
Step 3: On the “RESIZE” page, scroll down to the Storage section and take note of the storage device name, and then proceed to detach this storage device from the original Windows server you are needing the password to be reset from as shown below:
Step 4: Once the above step is completed and you have successfully detached the Windows storage device from your original Windows server, you will now need to proceed to deploy a new Debian server ($5 Simple Plan) in the SAME data center location as your original Windows server resides in:
Step 5: Once your temporary Debian server has been started, please proceed to shut down the temporary Debian server you just deployed, to attach the Windows Storage Device you detached in Step 3. Once the temporary Debian server has been shut down, go to the “RESIZE” sub-menu as shown in step 2 for the temp Debian server to add/attach the original Windows storage device you detached earlier to the temp Debian server:
Once the “Add new device” button has been selected on the temp Debian server, proceed to select the “Attach existing device” menu as shown:
Now proceed to click on the “Device list” Dropdown to select the detached original Windows Storage device to attach it to the temp Debian server as shown below:
Once the original Windows storage device has been selected, proceed to click the “Add a storage device” button to complete the attachment of the storage device to the temp Debian server:
Step 6: Now that you have successfully attached the original Windows storage device to the temp Debian server, proceed to start the temp Debian server:
Once the temp Debian server has been successfully started, proceed to login as root with the password that you received upon deployment of your server (Emailed to your email address listed in your UpCloud account) and type these commands as shown below:
apt-get install chntpw ntfs-3g
and hit the “enter” key and then “Y” to install these packages:
Once that is done, proceed to type in your console:
sfdisk -l
Now, you should see /dev/vdb1 and /dev/vdb2 and type is HPFS/NTFS/exFAT. /dev/vdb1 is the Debian storage and /dev/vdb2 is the original Windows storage you added to your temp Debian server and will have a filesystem type (NTFS for example):
Now type the following to create a mount point to the Windows storage, mount the drive, give permissions and change the administrator password:
mkdir /mnt/Microsoft/
mount -o rw /dev/vdb2 /mnt/Microsoft/
ntfs-3g -o rw /dev/vdb2 /mnt/Microsoft/
(If you get “Mount is denied because the NTFS volume is already exclusively opened.”
… continue to the next command below as normal)
cd /mnt/Microsoft/Windows/System32/config/
chntpw -i SAM
You should now see this in the console:
Input “1” and hit enter to “Edit user data and passwords” and you will see this in your temporary Debian server console:
Now enter the user ID (RID) for the “Administrator” username, which is 01f4 and hit enter and you will see this:
Now select 1 from the list to “Clear (blank) user password” and hit enter:
Now hit q and q again to exit this console and then hit y to save those changes:
Step 7: Once all above steps have been successfully completed, proceed to shut down the temporary Debian server via the UpCloud control panel and detach the original Windows server storage device from the temp Debian server via the “RESIZE” sub-menu as done in Steps 2-3:
Step 8: Now, go back to select your Windows server in your UpCloud control panel to re-attach the Windows storage device back to the original Windows server:
Step 9: Proceed to Start the original Windows server now once the Windows storage device has been successfully attached back to the original server, and proceed to boot and create a new administrator password as needed:
Step 10: Once everything is working as expected with your newly created Windows Administrator password, you can now proceed to delete the temp Debian server via the UpCloud control panel: