4
2
How can I edit the registry from the Windows Vista Recovery Tool?
The recovery tool provides 5 options:
- Startup Repair
- System Restore
- Windows Complete PC Restore
- Windows Memory Diagnostic Tool
- Command Prompt
I can click Command Prompt, from where I can type:
X:\Sources>regedit
And RegEdit appears. But it is editing the registry of the mini-Windows environment that is running the recovery tool - it's not my registry.
I need to edit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MUI\UILanguages\xx-YY
and change it to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MUI\UILanguages\
en-US
What I tried
I tried creating a dummy key:
HKCU\Software\TempTestFoo
and then using File -> Import to import the registry hive file:
C:\WINDOWS\system32\config\system
and it does, it brings in every key, except CurrentControlSet:
\CurrentControlSet001
\CurrentControlSet002
\CurrentControlSet003
\LastKnownGoodRecovery
\MountedDevices
\Select
\Setup
\WPA
Wait, if you use Import, doesn't it copy all the information from the hive file into the mini-Windows environment's registry, instead of giving you access to the hive file? – Ilya – 2011-12-08T13:41:34.377
@ilya No, it "mounts" the hive to a specified key. – Ian Boyd – 2011-12-08T14:20:50.353
Ah, cool. I thought you have to use "REG LOAD" for that. – Ilya – 2011-12-08T14:54:01.257
For posterity and @IanBoyd, it actually does matter whether you "import" or "load hive". Import only copies sub-keys from a selected hive file and modifying this copy does not change the actual hive you imported from. "Load Hive" does the opposite, and is what you need to do to accomplish what you described. (Tested on Windows Server 2008.) – Dav – 2013-09-05T03:14:56.723