|
|
@ -41,8 +41,13 @@ Then rename bootmgfw.efi found in: EFI\Microsoft\Boot to bootmgfw.efi.backup.
|
|
|
|
|
|
|
|
|
|
|
|
### Launch.bat
|
|
|
|
### Launch.bat
|
|
|
|
```batch
|
|
|
|
```batch
|
|
|
|
mountvol X: /S
|
|
|
|
NET SESSION >nul 2>&1
|
|
|
|
move X:\EFI\Microsoft\Boot\bootmgfw.efi X:\EFI\Microsoft\Boot\bootmgfw.efi.backup
|
|
|
|
IF %ERRORLEVEL% EQU 0 (
|
|
|
|
move bootmgfw.efi X:\EFI\Microsoft\Boot\
|
|
|
|
mountvol X: /S
|
|
|
|
shutdown /r
|
|
|
|
move X:\EFI\Microsoft\Boot\bootmgfw.efi X:\EFI\Microsoft\Boot\bootmgfw.efi.backup
|
|
|
|
|
|
|
|
move bootmgfw.efi X:\EFI\Microsoft\Boot\
|
|
|
|
|
|
|
|
shutdown /r
|
|
|
|
|
|
|
|
) ELSE (
|
|
|
|
|
|
|
|
Please run as admin!
|
|
|
|
|
|
|
|
)
|
|
|
|
```
|
|
|
|
```
|