我创建了自己的注册表文件,使用个人密钥来设置我的 Windows,但我不知道的是,其中一些密钥并不存在于全新安装的 Windows 中,而当我尝试使用它时,并没有导入说所选的密钥无效,我假设原因是因为有些密钥甚至不存在,有没有办法将密钥添加到我的所有注册表文件中,或者我必须手动查找每个缺失的密钥?并添加必要的命令。
希望这有意义,谢谢!
; Classic Control Panel / Hide Action Center Icon
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ForceClassicControlPanel"=dword:00000001
"HideSCAHealth"=dword:00000000
; Disable Action Center / Security Center Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc]
"Start"=dword:00000004
; Windows update + Plus VBS script
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001
"IncludeRecommendedUpdates"=dword:00000001
; UAC Disabled: 0
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableVirtualization"=dword:00000001
"EnableInstallerDetection"=dword:00000001
"PromptOnSecureDesktop"=dword:00000001
"EnableLUA"=dword:00000000
"EnableSecureUIAPaths"=dword:00000001
"ConsentPromptBehaviorAdmin"=dword:00000005
"ValidateAdminCodeSignatures"=dword:00000000
"EnableUIADesktopToggle"=dword:00000000
"EnableCursorSuppression"=dword:00000001
"ConsentPromptBehaviorUser"=dword:00000003
"dontdisplaylastusername"=dword:00000000
"legalnoticecaption"=""
"legalnoticetext"=""
"scforceoption"=dword:00000000
"shutdownwithoutlogon"=dword:00000001
"undockwithoutlogon"=dword:00000001
"FilterAdministratorToken"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\Clipboard]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\Clipboard\ExceptionFormats]
"CF_UNICODETEXT"=dword:0000000d
"CF_DIBV5"=dword:00000011
"CF_PALETTE"=dword:00000009
"CF_BITMAP"=dword:00000002
"CF_TEXT"=dword:00000001
"CF_DIB"=dword:00000008
"CF_OEMTEXT"=dword:00000007
; Taskbar Settings
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,03,02,00,00,03,00,00,00,3e,00,00,00,1e,\
00,00,00,00,00,00,00,1a,04,00,00,80,07,00,00,38,04,00,00
; Show all icons on notification tray
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"EnableAutoTray"=dword:00000000
; Files Explorer Settins
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_SearchFiles"=dword:00000002
"ServerAdminUI"=dword:00000000
"Hidden"=dword:00000001
"ShowCompColor"=dword:00000001
"HideFileExt"=dword:00000000
"DontPrettyPath"=dword:00000000
"ShowInfoTip"=dword:00000001
"HideIcons"=dword:00000000
"MapNetDrvBtn"=dword:00000000
"WebView"=dword:00000001
"Filter"=dword:00000000
"ShowSuperHidden"=dword:00000000
"SeparateProcess"=dword:00000000
"AutoCheckSelect"=dword:00000000
"IconsOnly"=dword:00000000
"ShowTypeOverlay"=dword:00000001
"ShowStatusBar"=dword:00000001
"ListviewAlphaSelect"=dword:00000001
"ListviewShadow"=dword:00000001
"TaskbarAnimations"=dword:00000001
"StartMenuInit"=dword:00000006
"ReindexedProfile"=dword:00000001
"StoreAppsOnTaskbar"=dword:00000001
"TaskbarSizeMove"=dword:00000000
"DisablePreviewDesktop"=dword:00000001
"TaskbarSmallIcons"=dword:00000001
"TaskbarGlomLevel"=dword:00000000
"DontUsePowerShellOnWinX"=dword:00000001
"Start_JumpListItems"=dword:00000000
"Start_TrackProgs"=dword:00000000
"Start_TrackDocs"=dword:00000000
; Disable Charms Bar and the Apps Switcher
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell\EdgeUI]
"DisableCharmsHint"=dword:00000001
"DisableTRcorner"=dword:00000001
"DisableTLcorner"=dword:00000001
; Go to the Desktop instead of Start when I Sign in
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage]
; Show Desktop Background as Start Screen Background
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"MotionAccentId_v1.00"=dword:000000db
"OpenAtLogon"=dword:00000000
; List Desktop Apps First in the Apps View when it's Sorted by Category
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage]
; Don't Replace Command Prompt with Windows PowerShell On the WinX Menu
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DontUsePowerShellOnWinX"=dword:00000001
"DesktopFirst"=dword:00000001
; Disable Backup for Windows 8.1 Apps
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\SettingSync]
; Turn off The Let Me Teach You About Metro Tutorial Tips
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\EdgeUI]
"DisableHelpSticker"=dword:00000001
"EnableBackupForWin8Apps"=dword:00000000
; Windows border sizes
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"SmCaptionWidth"="-330"
"BorderWidth"="0"
"PaddedBorderWidth"="0"
; Remote Desktop ON
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"AllowRemoteRPC"=dword:00000001
"fDenyTSConnections"=dword:00000000
; Disable System Restore
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore]
"DisableConfig"=dword:00000001
"DisableSR"=dword:00000001
; Disable Windows Indexer
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSearch]
"Start"=dword:00000004
; File Associations
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithList]
"a"="WORDPAD.EXE"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithProgids]
"MSInfoFile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\UserChoice]
"Hash"="glusomgmk+s="
"ProgId"="Applications\\wordpad.exe"
; SmartScreen OFF
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"SmartScreenEnabled"="Off"
; Command prompt Here.
[HKEY_CLASSES_ROOT\Folder\shell\Open Command Prompt Here\command]
@="cmd.exe /k pushd %L"
; Disable Hibernate
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"HibernateEnabled"=dword:00000000
答案1
无效密钥意味着您在某处输入了错误。即使密钥不存在,您仍然可以添加它。
请注意,不同的操作系统版本具有不同的注册表版本。因此,Windows 7 的注册表项与 Windows 8 的注册表项不同。为 Windows 7 创建的注册表文件应该适用于 Windows 8,但反之则不然。
答案2
所以 LPChip 你的回复让我单独尝试了一个键,但仍然不起作用,但我找到了我的问题。
它不起作用的原因是因为我没有在 reg 文件的开头包含下面的行
“Windows 注册表编辑器版本 5.00”
在我添加该行之后,它工作正常,没有任何问题,抱歉,我感觉自己太笨了!
谢谢!