reg
file to the Registry, and finally, click OK when you see the ???Information in
MyPatch.reg has been successfully entered into the Registry??? message. (You
can also apply a patch from within the Registry Editor: from the File menu,
select Import, select the patch file to apply, and click OK.)
Registry Tasks and Tools | 113
The Registry
To apply a Registry patch without any other warning messages
(except for the UAC prompt; see Chapter 8 to get rid
of that), you need to use the command line. Either from an
open Command Prompt window or from Start ??? Run, type
the following:
regedit /s c:\folder\mypatch.reg
where c:\folder\mypatch.reg is the full path and filename of
the patch file to import. Or, if you want to get rid of the confirmation
messages when you double-click a .reg file, add the
/s switch (as shown here) to the .reg file type, as described
later in this chapter.
If the Registry Editor is already open and one of the keys modified by a
patch that was just applied is currently open, RegEdit should refresh the display
automatically to reflect the changes. If it doesn??™t, press the F5 key or go
to View ??? Refresh.
When you apply a Registry patch, you merge the keys and values stored in a
patch file with those in the Registry. Any keys and values in the applied
patch that don??™t already exist will be created. If a key or value already exists,
only its contents will be changed. It??™s important to understand that if a key
you??™re updating already contains one or more values, those values will be left
intact if they??™re not explicitly modified or deleted by the patch.
Pages:
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177