For
instance, a problem that prevents Windows from loading is
likely to have made its way to the automatic backups, but
not the manual backup you made three days ago, just before
you installed an application.
All of this means that you can restore your Registry from the backup in a
variety of ways. Of course, you can always use File ??? Import in Registry
Editor, as described earlier in this section, but that only works if Windows is
running. If Windows won??™t start, though, here??™s how to restore your Registry
from the six hive backups:
1. Insert your Windows Vista setup disc in your drive, and start your PC.
See Chapter 1 if your PC doesn??™t boot off your CD, or if you
only have a ???recovery disc??? provided by your PC manufacturer.
2. Click Next on the first Install Windows screen, and then click Repair
your computer on the second page.
Registry Tasks and Tools | 121
The Registry
3. On the System Recovery Options window, select Microsoft Windows
Vista in the list and then click Next.
4. Click Command Prompt.
5. In the Command Prompt window that appears, type the following commands
to rebuild your Registry from your hive files:
REG RESTORE HKLM\COMPONENTS C:\Backups\COMPONENTS
REG RESTORE HKLM\SAM C:\Backups\SAM
REG RESTORE HKLM\SECURITY C:\Backups\SECURITY
REG RESTORE HKLM\SOFTWARE C:\Backups\SOFTWARE
REG RESTORE HKLM\SYSTEM C:\Backups\SYSTEM
REG RESTORE HKCU C:\Backups\NTUSER.DAT
You can omit one or more of these lines if you only want to
restore part of the Registry.
Pages:
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188