diff options
author | breadcat | 2020-11-14 11:29:22 +0000 |
---|---|---|
committer | breadcat | 2020-11-14 11:29:22 +0000 |
commit | e3ede3179df3dcfffe6bd3b02531390ee9687fbe (patch) | |
tree | 3293c37813909bfc0d522841a2ceb108d065d809 | |
parent | cf0c4ce43f4bc0cd0c68b0a437348bd0256b4de2 (diff) | |
download | win10-prep-e3ede3179df3dcfffe6bd3b02531390ee9687fbe.tar.gz win10-prep-e3ede3179df3dcfffe6bd3b02531390ee9687fbe.tar.bz2 win10-prep-e3ede3179df3dcfffe6bd3b02531390ee9687fbe.zip |
Disable and strip 8.3 name support
-rw-r--r-- | win10-prep.bat | 3 |
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 |