From e3ede3179df3dcfffe6bd3b02531390ee9687fbe Mon Sep 17 00:00:00 2001 From: breadcat Date: Sat, 14 Nov 2020 11:29:22 +0000 Subject: Disable and strip 8.3 name support --- win10-prep.bat | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3