Clean MBR Partition Table with CMD

Remove clean MBR Partition Table via CMD command Prompt

To run Diskpart, you need to first open Command Prompt. Press Windows + R key combination to start Run box. This will take delete internal hard disk MBR partition for example.

  • Type “diskpart” in Run box and press Enter. Please run CMD as administrator.
  • Type “list disk”
  • Type “select disk X”. X is the disk number you want to convert.
  • Type “clean”. This will delete all partitions or volumes on the disk.
  • Type “convert gpt”.
  • Type “exit” to exit the Command Prompt

Reset Windows 10 password without utilman.exe

  • Boot from the Windows installation disk/USB stick with Windows setup.
  • Wait for the “Windows Setup” screen:
Windows 10 setup screen

  • Press Shift + F10 keys together on the keyboard. This will open the command prompt window:
  • In the command prompt, type regedit and press the Enter key. This will open Reg Editor
Windows 10 setup run regedit
  • Select HKEY_LOCAL_MACHINE key on the left.
  • After you select it, run the File -> Load Hive… menu command.
Windows 10 file load hive
  • In the load hive dialog, select the following file:
  1. Enter any desired name for the hive you are loading. For example, I gave it a name 111:
  2. Go to the following key:HKEY_LOCAL_MACHINE\111\Setup
Windows 10 file named loaded hive
  • Edit the cmdline parameter and set it to cmd.exe
Windows 10 edit cmdline parameter
  • Change the SetupType DWORD parameter value to 2.
Windows 10 edit setuptype parameter
  • Now select 111 on the left and run the File -> Unload hive menu item in Regedit.
Windows 10 unload hive
  • Close Registry Editor and all open windows.
  • Reboot Windows and you will see the following command prompt at boot:
Windows 10 password reset mode
  • Type “net user”
  • Use the a current administrator account to reset password with the following command:
  • net user ‘username’ ‘newPassword’
  • e.g. net user chris apples123
  • Type “regedit” to open Regisry Editor.
  • Go to the following key:HKEY_LOCAL_MACHINE\System\Setup
  • Edit the cmdline parameter and set it to the empty value.
  • Change the SetupType DWORD parameter value to 0. See this screenshot:
Windows 10 reset registry values
  • Close that off and reset the power on the PC and next time you log in with that account use your new password.

Source ”