WIN cancels 100M hidden partition and bypasses repair mode after abnormal power failure

  • 2020-05-14 05:35:07
  • OfStack

1. When installing win system, cancel the method of front hidden partition of 100M:

When installing the system, when installing the Windows interface, do not use the new (E) graphical interface to partition, directly press the shortcut key Shift+F10 to open the CMD command line, and enter the following command to partition:


diskpart
# Enter the diskpart Mode, execute the following command: 
list disk
select disk 0
create partition primary
format fs=ntfs quick
exit

Close the CMD command line window, hit refresh (R), and you'll see that disk 0 has been formatted, then click next step (N) to install the system, so you can avoid hiding the 100M partition.

2. The system will automatically enter the repair mode after the abnormal power failure and restart of win. The following optimization can skip the repair mode.

When the Windows system is abnormally powered off, it will automatically enter the repair mode when starting the system again, which is easy to cause the server to be inaccessible. You can enter the following two commands on the CMD command line to cancel the startup and automatically enter the repair mode:


bcdedit /set {default} bootstatuspolicy ignoreallfailures
bcdedit /set {current} recoveryenabled No

conclusion


Related articles: