OLD
ren C:\Backups\COMPONENTS COMPONENTS.OLD
ren C:\Backups\SAM SAM.OLD
ren C:\Backups\SECURITY SECURITY.OLD
ren C:\Backups\SOFTWARE SOFTWARE.OLD
ren C:\Backups\SYSTEM SYSTEM.OLD
ren C:\Backups\NTUSER.DAT NTUSER.OLD
REG SAVE HKLM\COMPONENTS C:\Backups\COMPONENTS
REG SAVE HKLM\SAM C:\Backups\SAM
REG SAVE HKLM\SECURITY C:\Backups\SECURITY
REG SAVE HKLM\SOFTWARE C:\Backups\SOFTWARE
REG SAVE HKLM\SYSTEM C:\Backups\SYSTEM
REG SAVE HKCU C:\Backups\NTUSER.DAT
3. Save the file somewhere convenient, such as your desktop, and give it
the .bat filename extension (e.g., back up registry.bat).
4. Open Windows Explorer, open the Computer branch, and select drive
C:. Create a new folder in C:\ named Backups. If you want to store the
backup hive files in a different location, replace all 24 instances of C:\
Backups in the listing in step 2 with the full path of your backup folder.
5. To run the backup, just right-click the back up registry.bat file and select
Run as administrator. (See Chapter 8 for an explanation of why you
can??™t just double-click the file to run it.)
To run this backup automatically every time you start Windows,
create a shortcut to the back up registry.bat file in your
Startup folder in your Start menu. Or, if you typically hibernate
your PC instead of shutting down, use the Scheduled
Tasks feature (Chapter 9) to schedule the backup to run at
regular intervals, say, once every three days.
6. At this point, you can be extra compulsive and copy the backed-up hive
files to a CD or network drive for safekeeping.
Pages:
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186