Transcript for:
Windows Password Reset on OCI

welcome to Oracle Cloud infrastructure this video explains how to reset a forgotten password of a Windows instance without terminating the instance before resetting the password do a full backup of a Windows instance boot volume first please check the video description for the links create an UB to instance in the same compartment and the same subnet as your windows instance I have already created a UB to instance for this video so now to detach a boot volume go to the navigation menu click on compute then instances select the compartment and click on the Windows instance and then click the stop to power up the windows instance let's wait for the instance status change to stop the status now click on boot volume under the resource section select the boot volume and click on the action menu click on detach boot volume and then click detach boot volume on the popup window let's say for the boot volume status to change to detach status now attach Windows Server boot volume to the uban 2 instance so that go to the navigation menu click on UB to instance then click on attach boot volume under the resources section click on attach boot volume and then select the Windows boot volume that we want to restore then select attachment type as is ice cussy and access type as read and write and click on attach and close the popup window wait for the attachment status Chang to attached and then click on action menu and click I cussy commands and information here under the Linux copy connect command and fast in the notepad or any editor Now log to Linux instance using SS run the copy isy command from the not pit and pass it validate the partition layout now run sudo as dis space iph l/ d/ sdb check the interace volume for common problems run sudo NTFS fix space dv/ sb4 here sb4 contains Microsoft OS basic data sometime the disk number varies so you need to choose disk name accordingly like sdb 1 2 or three Mount windows partition now so first create amount directory by command sud sudo space mkd SP i p SP media / Windows now to mount a partition run command sud sudo space Mount space SL dv/ sb4 space SL media Windows Now update the UB to OS run command sudo space app space update to install chnt PW run sud sudo space app space install space chntpw now use chntpw to reset OPC password run chntpw command here enter one to clear the user password now enter to be sure the user is unlocked next enter Q to quit and then enter y to save now edit the registry setting to allow blank password run chntpw SP iph e/ media SL Windows SL Windows system32 SLC config SL system then CD to LSA directory and then Ed to limit blank password use then enter 0 x0 then enter Q to quit and then enter y to right to files now unmount the Windows File system run sud sudo you mount SP SL media / Windows now to verify run D5 th now to detach block volume which was attached in the earlier step go to the attached block volumes and then select volume and then click on the action menu and then click on ISC command and information under the Linux click the copy disconnect command and run the isy disconnect command in the UB to OS terminal to verify the disconnection run command lsblk to detach the boot volume from UB to recovery instance go to attach block volumes and then select volume and then click on action menu and then click on detach and then click on detach volume after the volume is detached attach that boot volume back to the windows instance so go to the navigation menu click on compute instances and then select Windows instance for which password reset is required and then go to the boot volume in the resource section and click on action menu and then click attach boot volume then in the popup window click attach boot volume wait for the boot volume to be in attached status and then start the windows instance Now by clicking on start now let's take RDP to the windows instance since the windows instance is in running State you will be able to login without password as you can see here now let's set up a new password go to the control panel then user accounts and then click on user accounts and then click on manage another account then select op P user click on create password give the desired password two times and then click on create password now edit the registry after you recover the system and set the password click on the search and then type registry edit means R A it to open the registry editor Now set the limit blank password use key2 one log out and Advance disconnect the RDP connection and connect again to validate the password login all the reference documentation links are mentioned in this video description thank you for watching