Originally Posted by fade2green514
just wondering if there is a tool that works to delete user passwords in win10 or windows server 2012. i tried parted magic and it didn't work. may try it again later and tweak the settings it uses but it's just a retail copy of win10.
***this is just for future reference it is not urgent, i know my password but i wanted this ability in case i need it someday***
There's no need to use 3rd-party hacks like Hirens or PartedMagic. The method using built-in tools that has worked since Windows Vista works just fine on Windows 10.
1. Boot a Windows installation disc.
2. At the installation/repair screen, press [Shift] + [F10] to open a command prompt window.
3. Locate the C: partition, change directory to "\Windows\system 32", rename "sethc.exe" to "-sethc.exe", and copy "cmd.exe" to "sethc.exe". (This can be done via command prompt, or done visually via the regedit
command, where you can open an explorer-like window using the import/export functions.)
4. Reboot back into Windows. At the login screen, press [Shift] repeatedly until a command window opens.
5. Use the net
command to make the desired account changes. You can change passwords, create new accounts, and assign group affinity.
6. If needed, you can force the login screen to refresh by executing the taskkill /f /im logonui.exe
7. When you're finished, don't forget to repeat steps 1-2, and undo step 3 to restore security.