Removing from Registry

  • Thread starter Thread starter g
  • Start date Start date
G

g

Hi all,

(1). Please let me know how can I remove something from
registry.
(2). To add to right click minue new: MS works word. Note
I have already installed works 2000 on my machine.
(3). Thanks in Advance.
=========================================================
 
:
| Hi all,
|
| (1). Please let me know how can I remove something from
| registry.
* Question is too vague.

| (2). To add to right click minue new: MS works word. Note
| I have already installed works 2000 on my machine.
* Try asking them in works.win

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
Mr Dave! Please let someone who knows and thinks question
is not too vaugue answer these. Thanks.
 
Due to the vagueness of the question and not specifying the means. Here's
the general idea. If you want to remove a key and all it's underlying values
then you'll need to construct your .reg file with a - minus sign in front of
the key you want to remove.

An example file to remove a file association .zzz from HKCR
-----------------Begin File-----------
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.zzz]
----------------End File-------------

(note the minus sign in front of HKEY)


If you need to delete only certain values, for example the string value
"InfoTip"="Contains zzz files"

Then put a minus sign after the equals sign without "quotes", something like
"InfoTip"=-

So your .reg file would look like
----------------Begin File------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-
----------------End File-------------

regedit /s filename.reg to import silently


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Mr Dave! Please let someone who knows and thinks question
| is not too vaugue answer these. Thanks.
 
In said:
Mr Dave! Please let someone who knows and thinks question
is not too vaugue answer these. Thanks.

The question is vague but since you posted in "cmdprompt" one must
assume non-GUI tools. Dave gave you the .REG file method.

Another might be to utilize the reg.exe CLI utility. Search your
drive or install the Resource Kit or Support Tools which include it.
reg.exe /?

A cscript hosted script or WMI script might also facilitate "remove
something from registry" via the command prompt perhaps.

There are also CLI tools that can "remove" or modify the registry
ACLs. 3rd-party SetAcl.exe is one.

There are single or limited purpose CLI tools that modify the
registry such as setx.exe and pathman.exe.

Better answers sometimes requirte better questions. :)
 
Back
Top