summaryrefslogtreecommitdiffstats
path: root/1-tweaks.bat
diff options
context:
space:
mode:
authorbreadcat2020-07-05 18:17:57 +0100
committerbreadcat2020-07-05 18:17:57 +0100
commit004961c0a812dca3bb4327e5970845b138994db4 (patch)
tree2fbf2a4ac02a0f3e81a7500cabb88bf71e419099 /1-tweaks.bat
parent06ca1b2a3d7f98b1a147d7d11a0585bcd00f538b (diff)
downloadwin10-prep-004961c0a812dca3bb4327e5970845b138994db4.tar.gz
win10-prep-004961c0a812dca3bb4327e5970845b138994db4.tar.bz2
win10-prep-004961c0a812dca3bb4327e5970845b138994db4.zip
Tidied unused local server sections
No longer use local server, so removed sections relating to it, also removed activation as no longer running that server
Diffstat (limited to '1-tweaks.bat')
-rw-r--r--1-tweaks.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/1-tweaks.bat b/1-tweaks.bat
new file mode 100644
index 0000000..8c6138c
--- /dev/null
+++ b/1-tweaks.bat
@@ -0,0 +1,20 @@
+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
+rem batch file shortcuts
+echo robocopy . . /s /move> %windir%\system32\empties.bat
+echo findstr %1> %windir%\system32\grep.bat
+echo dir /b> %windir%\system32\ls.bat
+echo del %1> %windir%\system32\rm.bat
+echo exit> %windir%\system32\x.bat \ No newline at end of file