PDA

View Full Version : Removing a Key with a reg file



ashleybanks
01-22-2003, 05:32 AM
i have created a .reg file to add a key into the registry does anyone know how to delete a key with either a reg file or a bat file i am using w2k pro


Thanks

Ashley Banks.

<P ID="edit"><FONT class="small">Edited by ashleybanks on 01/22/03 05:33.</FONT></P>

adg
01-22-2003, 05:44 AM
Just put a minus sign in front of the key you wish to delete in the .reg

Allan
<a target="_blank" href=http://www.tweakdatabase.com/idealbb>tweakxp.com</a>

ashleybanks
01-22-2003, 05:58 AM
Here Is My Reg File

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings]

"AutoConfigURL"="http://proxy.bae.co.uk/www/proxy.pac"

I have tried putting the "-" sign in before the quotes

like so -"autoconfigurl"

but it still stays the little blighter.

is there another way please

Thanks

Ashley Banks

Andy-S
01-22-2003, 06:10 AM
Try this:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings]

"AutoConfigURL"=-



Cheers
Andy

ashleybanks
01-22-2003, 06:32 AM
nice one thats great thanks u wouldn't believe it if i told u im a senior desktop support analyst would u?

Ashley

Andy-S
01-22-2003, 06:52 AM
No matter what the title we all have a lot to learn. Hang around this site and you'll pick up a lot of good information and may also be able to pass on some of your knowledge to others.


Cheers
Andy

Dirk_Diggler
01-22-2003, 06:54 AM
Also what you are deleting are Names and Data from within the Key, not the Key itself. Keys are in the left panel, Names and Data are in the right panel. So Allan was technically correct in his answer to your original question.

Not quite the newbie I used to be, but still prone to the odd mistake :D