hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Shadowslave
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
use reg.exe (google)
not sure if that will work though unsure.gif
but i guess smile.gif
Alexander01
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
you can also do

reg /?

and find it out by yourself
make a batch and run it...
nmcog
Example:
CODE
@echo off
reg.exe delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SVCHOST /f

Get reg.exe from here
Orangey
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
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.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.