diff options
author | breadcat | 2018-07-10 14:22:04 +0100 |
---|---|---|
committer | breadcat | 2018-07-10 14:22:04 +0100 |
commit | c8b8716bc349173deae7990901182fe8a376faf2 (patch) | |
tree | 5e36c7c34180527fedf1145bbf32e402e5e176dd /2-tweaks.bat | |
parent | 532a45ee7b68ee4f5606e1649380b3adf5e4d713 (diff) | |
download | win10-prep-c8b8716bc349173deae7990901182fe8a376faf2.tar.gz win10-prep-c8b8716bc349173deae7990901182fe8a376faf2.tar.bz2 win10-prep-c8b8716bc349173deae7990901182fe8a376faf2.zip |
Initial commit
Diffstat (limited to '2-tweaks.bat')
-rw-r--r-- | 2-tweaks.bat | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2-tweaks.bat b/2-tweaks.bat new file mode 100644 index 0000000..d7645d0 --- /dev/null +++ b/2-tweaks.bat @@ -0,0 +1,14 @@ +rem enable f8 boot menu +bcdedit /set {default} bootmenupolicy legacy +rem enable admin account +net user Administrator /active:yes +rem label system drive +label %systemdrive%System +rem disable hibernation, removing hiberfil.sys +powercfg -h off +rem change ntp server addresses and resync time +w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org" +w32tm /resync /nowait +rem don't require signin after wakeup +powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0 +powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
\ No newline at end of file |