一些特殊设置项,需要使用注册表、命令行、组策略等修改,新装系统时配置。
启用长路径支持
修改注册表:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
阻止虚拟机 Windows 每小时自动关机
- 下载 PsExec tools
- 使用管理员运行
./psexec -i -s cmd.exe
- 在弹出的新窗口内运行
whoami
确认返回nt authority\system
- 在新窗口内运行
services.msc
- 禁用
Windows License Monitoring Service
- 重启
BitLocker 使用 AES-XTS 256
修改组策略,解密硬盘并重新加密:
Computer Configuration
Administrative Templates
Windows Components
BitLocker Drive Encryption
Choose drive encryption method and cipher strength
BitLocker 使用 PIN+TPM
修改组策略:
Computer Configuration
Administrative Templates
Windows Components
BitLocker Drive Encryption
Operating System Drives
Require Additional Authentication at Startup
禁用搜索的 Bing 内容
修改注册表:
Computer\HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
"DisableSearchBoxSuggestions"=dword:00000001
关闭并清除 8.3 文件名
命令行运行:
fsutil 8dot3name set 1
fsutil 8dot3name strip /f /s C: