|
基本所有设置都存在注册表中,你可以用 regfromapp 和 registrychangesview 来监视或对比找到设置项对应的注册表项,把这些注册表项备份出来,新装或重装系统后导入这些注册表项就恢复了。
我的设置内容如下,供参考
::系统>存储
::关闭存储感知
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy" /v "01" /t REG_DWORD /d "0" /f
::系统>通知
::关闭通知
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d "0" /f
::快速蓝牙通知
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Bluetooth" /v "QuickPairOnboardingCompleted" /t REG_DWORD /d "1" /f
::个性化>颜色
::关闭 动态光效
Reg.exe add "hkcu\Software\Microsoft\Lighting" /v "AmbientLightingEnabled" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\Lighting" /v "ControlledByForegroundApp" /t REG_DWORD /d "0" /f
::深色模式
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d "0" /f
::不在开始和任务栏上显示重点颜色
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "ColorPrevalence" /t REG_DWORD /d "0" /f
::不允许开始菜单透明
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "EnableTransparency" /t REG_DWORD /d "0" /f
::不在标题栏和窗口边框上显示强调色
Reg.exe add "hkcu\Software\Microsoft\Windows\DWM" /v "ColorPrevalence" /t REG_DWORD /d "0" /f
::个性化>锁屏界面
::关闭在锁屏界面上获取花絮、提示、技巧等
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "RotatingLockScreenOverlayEnabled" /t REG_DWORD /d "0" /f
::个性化>开始
::关闭 显示最近打开的项目
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d "0" /f
::关闭 显示建议
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_IrisRecommendations" /t REG_DWORD /d "0" /f
::个性化>任务栏
::将任务栏中的搜索调整为隐藏图标
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d "0" /f
::任务栏对齐方式靠左
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAl" /t REG_DWORD /d "0" /f
::不显示任务视图
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d "0" /f
::在对应显示器的任务栏显示图标
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "MMTaskbarMode" /t REG_DWORD /d "2" /f
::微软拼音
Reg.exe add "hkcu\Software\Microsoft\InputMethod\CandidateWindow\CHS\1" /v "CustomizedPagingKey" /t REG_DWORD /d "3855" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\CandidateWindow\CHS\1" /v "EnableFixedCandidateCountMode" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\CandidateWindow\CHS\1" /v "MaxCandidates" /t REG_DWORD /d "9" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\CandidateWindow\CHS\1" /v "FontStyleTSF3" /t REG_SZ /d "20.00pt;Regular;;Microsoft YaHei UI" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "Default Mode" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "Enable Cloud Candidate" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "Enable Dynamic Candidate Ranking" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableExtraDomainType" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "Enable self-learning" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableSmartSelfLearning" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableLiveSticker" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "Enable EUDP" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "English Switch Key" /t REG_DWORD /d "4" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableChineseEnglishPunctuationSwitch" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableSimplifiedTraditionalOutputSwitch" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableVMode" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "EnableUMode" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "SmartFuzzyPairTriggerCount" /t REG_SZ /d "0 0 0 0 0 0 0 2 3 0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "AutoShowCloudSuggestion" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\InputMethod\Settings\CHS" /v "Enable Fuzzy Input" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\Input\TSF\Tsf3Override\{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e}" /v "NoTsf3Override2" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}" /v "DummyValue" /t REG_DWORD /d "1" /f
::隐私和安全性>常规
::关闭 允许Windows跟踪应用启动
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackProgs" /t REG_DWORD /d "0" /f
::禁止请求位置通知
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "ShowGlobalPrompts" /t REG_DWORD /d "0" /f
::关闭咨询和兴趣
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds" /v "ShellFeedsTaskbarViewMode" /t REG_DWORD /d "2" /f
::游戏
::关闭游戏模式和控制器按钮运行GameBar
Reg.exe add "hkcu\Software\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t REG_DWORD /d "0" /f
::启用自动HDR
Reg.exe add "hkcu\Software\Microsoft\DirectX\UserGpuPreferences" /v "DirectXUserGlobalSettings" /t REG_SZ /d "AutoHDREnable=1;SwapEffectUpgradeEnable=1;VRROptimizeEnable=1;" /f
::文件夹选项
::在单独的进程中打开文件夹窗口
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SeparateProcess" /t REG_DWORD /d "1" /f
::显示隐藏的项目
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d "1" /f
::显示扩展名
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d "0" /f
::隐藏受保护的操作系统文件
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d "0" /f
::导航窗格不显示所有文件夹
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneShowAllFolders" /t REG_DWORD /d "0" /f
::不使用紧凑视图
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "UseCompactMode" /t REG_DWORD /d "0" /f
::不展开到打开的文件夹
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneExpandToCurrentFolder" /t REG_DWORD /d "0" /f
::快捷方式无文字
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "Link" /t REG_BINARY /d "00000000" /f
::不显示最近的文件夹
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowFrequent" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowRecent" /t REG_DWORD /d "0" /f
::显示完整路径
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /v "FullPath" /t REG_DWORD /d "1" /f
::不提示索引未运行
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\InfoBarsDisabled" /v "ServerMSSNotInstalled" /t REG_DWORD /d "1" /f
::桌面
::桌面不显示网络和控制面板、用户的文件、Internet Explorer
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{871C5380-42A0-1069-A2EA-08002B30309D}" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{871C5380-42A0-1069-A2EA-08002B30308D}" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{B416D21C-3B22-B6D4-BBD3-BBD452DB3D5B}" /t REG_DWORD /d "1" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}" /t REG_DWORD /d "1" /f
::用户的文件
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d "1" /f
::查看中等图标
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\Shell\Bags\1\Desktop" /v "IconSize" /t REG_DWORD /d "48" /f
::托盘图标不折叠
reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "EnableAutoTray" /t REG_DWORD /d "0" /f
::其他
::命令行和powershell窗口透明度
Reg.exe add "hkcu\Console" /v "WindowAlpha" /t REG_DWORD /d "255" /f
Reg.exe add "hkcu\Console\%%SystemRoot%%_System32_WindowsPowerShell_v1.0_powershell.exe" /v "WindowAlpha" /t REG_DWORD /d "255" /f
Reg.exe add "hkcu\Console\%%SystemRoot%%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe" /v "WindowAlpha" /t REG_DWORD /d "255" /f
::禁用Win+S
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisabledHotkeys" /t REG_SZ /d "S" /f
::外接鼠标禁用触控板
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\PrecisionTouchPad" /v "LeaveOnWithMouse" /t REG_DWORD /d "0" /f
::自动点亮numlock
Reg.exe add "hkcu\Control Panel\Keyboard" /v "InitialKeyboardIndicators" /t REG_SZ /d "2" /f
::时间格式
Reg.exe add "hkcu\Control Panel\International" /v "sShortTime" /t REG_SZ /d "HH:mm" /f
Reg.exe add "hkcu\Control Panel\International" /v "sTimeFormat" /t REG_SZ /d "HH:mm:ss" /f
::关机不等待
Reg.exe add "hkcu\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "1" /f
::视觉效果
Reg.exe add "hkcu\Control Panel\Desktop" /v "UserPreferencesMask" /t REG_BINARY /d "9012038010000000" /f
Reg.exe add "hkcu\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" /t REG_SZ /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAnimations" /t REG_DWORD /d "0" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /v "VisualFXSetting" /t REG_DWORD /d "3" /f
Reg.exe add "hkcu\Software\Microsoft\Windows\DWM" /v "EnableAeroPeek" /t REG_DWORD /d "0" /f
::Policies
::不允许固定到任务栏
Reg.exe add "hkcu\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "NoPinningToTaskbar" /t REG_DWORD /d "1" /f
::不保存区域信息
Reg.exe add "hkcu\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "1" /f
::显示删除确认对话框
Reg.exe add "hkcu\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d "1" /f |
|