11. This last step is optional. If you want to create a Registry patch that activates
the Registry change, you can either convert FC??™s output to the correct
format (described here), or return to Registry Editor and export the
appropriate key, as described in ???Export and Import Data with Registry
Patches,??? later in this chapter).
Because the FC output is originally derived from Registry patches, it??™s
already close to the correct format. Start by removing all of the lines
from user.txt, except the second version of the changed line??”this would
be the value in its after setting, which presumably is the goal. You??™ll end
up with something like this:
"Hidden"=dword:00000002
Next, paste in the key (in brackets) immediately above the value. (In the
case of our example, it was part of the FC output and can simply be left
in.) You should end up with text that looks like this:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\Advanced]
"Hidden"=dword:00000002
Finally, add the text Windows Registry Editor Version 5.00 followed by a
blank line at the beginning of the file, like this:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\Advanced]
"Hidden"=dword:00000002
When you??™re done, save this as a new file with the .reg filename extension
(e.g., User-final.reg).
Registry Tasks and Tools | 103
The Registry
If the settings you??™ve changed also resulted in changes in the
HKEY_LOCAL_MACHINE branch, simply repeat this step for the
machine.
Pages:
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162