Prev | Current Page 234 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

This command line switch is destructive. It completely destroys the
System.DAT
and
User.DAT
files for the affected user and reconstructs them using the contents of the supplied
registry file. With this in mind, you must use this command line switch with a registry file containing
a full registry backup. Otherwise, you??™ll leave the system in an unbootable state.
-d
Key
Deletes the specified key. This switch appears to work fine on Windows 9
x
systems,
but doesn??™t work with Windows NT and above. The command line switch deletes the requested
key from the registry.
It??™s unfortunate that the
-d
command line switch doesn??™t work on newer systems. One way
around this problem for Windows XP and above users is to create a negative key registry file and
then register it as normal. To create such a file, open Notepad or any other text editor. Enter the following
code into the file.
REGEDIT4
[-HKEY_CLASSES_ROOT\Test]
The negative key entry deletes a key named Test from the
HKEY_CLASSES_ROOT
hive. Try creating
the
HKEY_CLASSES_ROOT\Test
key and then running this file. You??™ll find that RegEdit removes
the key without any problem.


Pages:
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
księgarnia internetowa Sławni piłkarze wciągarki linowe słownik Puby