Shadowslave
Dec 18 2003, 06:06 PM
well i need a example bat / reg script that deletes a key from the registry
it should look like this:
echo REGEDIT4>temp.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]>>temp.reg
echo "SVCHOST"="c:\svchost.exe">>temp.reg
regedit /s temp.reg
del temp.reg
it would be really nice if some1 has an idea
mrBob
Dec 18 2003, 06:17 PM
use reg.exe (google)
not sure if that will work though

but i guess
jawz
Dec 18 2003, 06:57 PM
Alexander01
Dec 18 2003, 07:52 PM
echo REGEDIT4>temp.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]>>temp.reg
echo "SVCHOST"=-
regedit /s temp.reg
del temp.reg
and your entry is gone...
ellitio
Dec 18 2003, 08:05 PM
you can also do
reg /?
and find it out by yourself
make a batch and run it...
nmcog
Dec 18 2003, 10:26 PM
Example:
| CODE |
@echo off reg.exe delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SVCHOST /f
|
Orangey
Dec 19 2003, 12:16 AM
Or Just Use Good 'Ol Regedit
and use the Minus infront of the keys you want to remove...
| CODE |
-[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
|
Something Like That Works
ara2
Jan 7 2004, 12:04 AM
hmm nice didnt know about -[key]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.