Advertisement
Shokedbrain

Add "Safe boot" option to boot

Sep 11th, 2021
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.18 KB | None | 0 0
  1. cls
  2. for /f "delims={} tokens=2" %%a in ('bcdedit /copy {default} /d "Safe mode 1"') do set nam=%%a
  3. bcdedit /set {%nam%} safeboot minimal
  4. echo Set timeout 5 sec
  5. bcdedit /timeout 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement