PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Registry Needed: a file to remove a registry key.

Reply

Needed: a file to remove a registry key.

 
Thread Tools Rate Thread
Old 09-07-2003, 09:01 AM   #1
Stu
Guest
 
Posts: n/a
Default Needed: a file to remove a registry key.


Hi,

I've a user with a virus on his PC, and to remove the
virus I need to remove a registry key that the virus put
in.

Its a standalone PC at a remote site, I want to write
a .reg file to remove the key, that I can send via floppy
disk to the user.

Any idea's?? This is the first time I've tried this so any
help would be really appreciated.

Stu
  Reply With Quote
Old 09-07-2003, 09:25 AM   #2
Mark V
Guest
 
Posts: n/a
Default Re: Needed: a file to remove a registry key.

Stu wrote in news:93ae01c345f0$5f133df0$a401280a@phx.gbl:

> Hi,
>
> I've a user with a virus on his PC, and to remove the
> virus I need to remove a registry key that the virus put
> in.
>
> Its a standalone PC at a remote site, I want to write
> a .reg file to remove the key, that I can send via floppy
> disk to the user.
>
> Any idea's?? This is the first time I've tried this so any
> help would be really appreciated.


Yes, but just removing an entry in a start-up location in the
registry is rarely enough to actually "remove" or "disinfect" a
virus.... Good A-V products may be able to do the job completely.
Or additional research on the nastie may point to other files and
registry entries that need to be addressed.

Below is an example REG file that could be merged from a batch file
using:
regedit.exe /s path\myregfile.reg
Example only for KEY, VALUENAME and DATA
The "-" (minus sign) does the removal of the valuename and data.
=========== begin myregfile.reg =============
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"BadApp"=-
=========== end ==============================


  Reply With Quote
Old 09-07-2003, 10:37 AM   #3
stu
Guest
 
Posts: n/a
Default Re: Needed: a file to remove a registry key.

So to remove

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\Run "mssyslanhelper" = c:\winnt\system32\msmsgri32.exe

I'd create a text file with the extension .reg with

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\Run "mssyslanhelper" = c:\winnt\system32\msmsgri32.exe -

in??

thanks for your help on this.

Stu

>-----Original Message-----
>Stu wrote in news:93ae01c345f0$5f133df0$a401280a@phx.gbl:
>
>> Hi,
>>
>> I've a user with a virus on his PC, and to remove the
>> virus I need to remove a registry key that the virus

put
>> in.
>>
>> Its a standalone PC at a remote site, I want to write
>> a .reg file to remove the key, that I can send via

floppy
>> disk to the user.
>>
>> Any idea's?? This is the first time I've tried this so

any
>> help would be really appreciated.

>
>Yes, but just removing an entry in a start-up location in

the
>registry is rarely enough to actually "remove"

or "disinfect" a
>virus.... Good A-V products may be able to do the job

completely.
>Or additional research on the nastie may point to other

files and
>registry entries that need to be addressed.
>
>Below is an example REG file that could be merged from a

batch file
>using:
> regedit.exe /s path\myregfile.reg
>Example only for KEY, VALUENAME and DATA
>The "-" (minus sign) does the removal of the valuename

and data.
>=========== begin myregfile.reg =============
>REGEDIT4
>
>

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi
on\Run]
>"BadApp"=-
>=========== end ==============================
>
>
>.
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off