summaryrefslogtreecommitdiffstats
path: root/win10-prep.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win10-prep.bat')
-rw-r--r--win10-prep.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/win10-prep.bat b/win10-prep.bat
index 733eaac..b39161a 100644
--- a/win10-prep.bat
+++ b/win10-prep.bat
@@ -67,6 +67,9 @@ 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 disable 8.3 names on root and strip existing values
+fsutil 8dot3name set %systemdrive% 1
+fsutil 8dot3name strip /s /v %systemdrive%
exit /b %errorlevel%
:registry_tweaks