How to make a registry script?

G

Guest

If I wanted to use a registry script to delete the following files, How
would I go about it?

C:\WINDOWS\SYSTEM32\mswinf32.dll
C:\WINDOWS\SYSTEM32\mswinf32.exe
 
D

Detlev Dreyer

Ekka said:
If I wanted to use a registry script to delete the following files, How
would I go about it?

First, you can't delete any files physically (hard disk) via the registry
and second, removing some virulent files (trojans) from the disk or from
the registry (entries) does not clean your system!
C:\WINDOWS\SYSTEM32\mswinf32.dll
C:\WINDOWS\SYSTEM32\mswinf32.exe

"Trojan.RealSearch"
http://www.symantec.com/security_response/writeup.jsp?docid=2006-050815-5558-99&tabid=2
 
J

John John

Ekka said:
If I wanted to use a registry script to delete the following files, How
would I go about it?

C:\WINDOWS\SYSTEM32\mswinf32.dll
C:\WINDOWS\SYSTEM32\mswinf32.exe

What do you mean "a registry script"? You don't delete files in the
registry, you delete them on the hard drive. Do you mean that you want
to delete references to those files in the registry?

The files in question seem to be installed with a trojan. Use your AV
software to remove it:
http://www.symantec.com/security_response/writeup.jsp?docid=2006-050815-5558-99&tabid=2

John
 
G

Guest

G

Guest

--
Ekka@DeeWhy


nass said:
You could do, but it is best if you clear all not just only these entries.
Download these tools, handy in deleting on reboot:
"AutoRuns for Windows v8.61 By Mark Russinovich and Bryce Cogswell"
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Autoruns.mspx

http://www.ccleaner.com
Hi,
I should have made myself a bit clearer. I know what the files are, they
were on a computer I helped fix. I am just trying to understand scripts and
the registry a bit better.
 
G

Gary S. Terhune

You can edit the Registry using VBScript, if that's what you're asking. You
can manipulate files and folders using VBScript. But your initial question
makes no sense. There is no such thing as a "Registry script".
 
B

+Bob+

Hi,
I should have made myself a bit clearer. I know what the files are, they
were on a computer I helped fix. I am just trying to understand scripts and
the registry a bit better.

Ekka:

Are you trying to get a script to run at startup time that
automatically deletes some files or does similar work ?

There are some registry keys that hold the names of programs that get
loaded at various points... is that what you are looking for?
 
G

Guest

I guess I need to make a batch file to delete the files and then use regedit
to delete the run entries.
I am doing an exercise where I have been asked to fix certain findings. some
are files and some are registry entries but I can't use normal delete methods
ar manually go into the registry
 
C

Curt Christianson

Thanks Gary,
Two good articles for me too.

--
HTH,
Curt

Windows Support Center
www.aumha.org
Practically Nerded,...
http://dundats.mvps.org/Index.htm

"Gary S. Terhune" <none> wrote in message
| Yeah, use a batch file. For REGEDIT command line procedures, see:
| http://support.microsoft.com/kb/82821
| For info on how to write the REG file to delete Keys or Values, see:
| http://support.microsoft.com/kb/310516/en-us
|
| I assume you already know how to delete files using a batch file.
|
| --
| Gary S. Terhune
| MS-MVP Shell/User
| www.grystmill.com
|
| | >I guess I need to make a batch file to delete the files and then use
| >regedit
| > to delete the run entries.
| > I am doing an exercise where I have been asked to fix certain findings.
| > some
| > are files and some are registry entries but I can't use normal delete
| > methods
| > ar manually go into the registry
| > --
| > Ekka@DeeWhy
| >
| >
| > "+Bob+" wrote:
| >
| >> On Fri, 20 Jul 2007 11:10:03 -0700, Ekka
| >>
| >> >Hi,
| >> >I should have made myself a bit clearer. I know what the files are,
they
| >> >were on a computer I helped fix. I am just trying to understand
scripts
| >> >and
| >> >the registry a bit better.
| >>
| >> Ekka:
| >>
| >> Are you trying to get a script to run at startup time that
| >> automatically deletes some files or does similar work ?
| >>
| >> There are some registry keys that hold the names of programs that get
| >> loaded at various points... is that what you are looking for?
| >>
| >>
| >>
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top