Regedit command unresponsive in Run

G

Guest

Cannot get Regedit to function from the Run window. It was working fine. But
the computer had gotten infected with a virus (Worm/Alcan.A) and I followed
instructions to remove it which entailed using Regedit to delete certain keys
(one of which was the regedit.com file). Now, regedit will not work unless I
type in regedit.exe or go through windows/regedit (which fortunately I had a
desktop icon set up).
 
D

Doug Knox MS-MVP

You need to look for another REGEDIT file, in the Windows or Windows\System32 folder. There may be another REGEDIT, with a different extension (BAT, SCR, etc.) that's being loaded first.

Other than that, check your PATH statement and ensure that its correct, and in the correct order. Right click My Computer, Properties, Advanced, Environment Variables. The PATH statement is in the System variables section.

Mine reads:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Which is fairly normal for most machines. Note, the Windows\System32 folder gets scanned before the Windows folder. So that's where you should look for anything called REGEDIT.XXX By default, REGEDIT is not in the System32 folder.
 
G

Guest

I have looked by doing a search. The results found regedit in c:\windows
and c:\windows\$ntservicepackuninstall$. But, I was reading another solution
to the problem and attempted to do what it suggested and now when I try to
copy the folder location from search, this is what I get:
www.invircible.com/download/fixregex.com.

I had also seen your response regarding the path and the same thing happens
when I go to copy the location to notepad. It appears to be the correct path
but copies as: www.invircible.com/download/fixregex.com

The search also found regedit as: REGEDIT.COM-08A42FB8.pf,
REGEDIT.EXE-1B606482.pf and REGEDIT.EXE-2AEB4719.pf in c:\windows\prefetch

HELP!!
 
G

Guest

I got a little creative. I went back into My Computer, properties, edit as
you had previously suggested. I copied your
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" over what
appeared to be correct in the edit screen. At least now, when I try to copy
the path, it DOES show correct. But it did not resolve the regedit problem.
 
D

Doug Knox MS-MVP

Instead of doing a copy/paste, type it in manually. I'm not sure why your paste function is putting in a URL.

Its not unusual to find various system files in the $NT............ folders. They're often updated with various fixes and such.

Additionally, the copy of REGEDIT.EXE in the prefectch folder is normal. However, it won't hurt to delete them. I would delete the ones in prefecth, including the REGEDIT.COM file, and see what happens. A new copy of REGEDIT.EXE will be made there when its run. This is normal.

If you still have problems, open a Command Prompt window and at the prompt type in SET and press Enter. This will dump your environment variables out, and you can copy and paste them into a reply.
 
G

Guest

Is this what you were talking about?


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\denise>cd c:\

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\denise\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DENISES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\denise
LOGONSERVER=\\DENISES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\denise\LOCALS~1\Temp
TMP=C:\DOCUME~1\denise\LOCALS~1\Temp
USERDOMAIN=DENISES
USERNAME=denise
USERPROFILE=C:\Documents and Settings\denise
windir=C:\WINDOWS

C:\>
 
D

Doug Knox MS-MVP

Hi Denise,

Yes, that's it. I don't see anything that would cause any issues.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

den1225 said:
Is this what you were talking about?


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\denise>cd c:\

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\denise\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DENISES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\denise
LOGONSERVER=\\DENISES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\denise\LOCALS~1\Temp
TMP=C:\DOCUME~1\denise\LOCALS~1\Temp
USERDOMAIN=DENISES
USERNAME=denise
USERPROFILE=C:\Documents and Settings\denise
windir=C:\WINDOWS

C:\>

Doug Knox MS-MVP said:
Instead of doing a copy/paste, type it in manually. I'm not sure why your paste function is putting in a URL.

Its not unusual to find various system files in the $NT............ folders. They're often updated with various fixes and such.

Additionally, the copy of REGEDIT.EXE in the prefectch folder is normal. However, it won't hurt to delete them. I would delete the ones in prefecth, including the REGEDIT.COM file, and see what happens. A new copy of REGEDIT.EXE will be made there when its run. This is normal.

If you still have problems, open a Command Prompt window and at the prompt type in SET and press Enter. This will dump your environment variables out, and you can copy and paste them into a reply.
 
G

Guest

Will have to continue with this tomorrow evening after I get home from work.
Thanks for all your input and effort.



Doug Knox MS-MVP said:
Hi Denise,

Yes, that's it. I don't see anything that would cause any issues.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

den1225 said:
Is this what you were talking about?


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\denise>cd c:\

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\denise\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DENISES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\denise
LOGONSERVER=\\DENISES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\denise\LOCALS~1\Temp
TMP=C:\DOCUME~1\denise\LOCALS~1\Temp
USERDOMAIN=DENISES
USERNAME=denise
USERPROFILE=C:\Documents and Settings\denise
windir=C:\WINDOWS

C:\>

Doug Knox MS-MVP said:
Instead of doing a copy/paste, type it in manually. I'm not sure why your paste function is putting in a URL.

Its not unusual to find various system files in the $NT............ folders. They're often updated with various fixes and such.

Additionally, the copy of REGEDIT.EXE in the prefectch folder is normal. However, it won't hurt to delete them. I would delete the ones in prefecth, including the REGEDIT.COM file, and see what happens. A new copy of REGEDIT.EXE will be made there when its run. This is normal.

If you still have problems, open a Command Prompt window and at the prompt type in SET and press Enter. This will dump your environment variables out, and you can copy and paste them into a reply.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

I got a little creative. I went back into My Computer, properties, edit as
you had previously suggested. I copied your
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" over what
appeared to be correct in the edit screen. At least now, when I try to copy
the path, it DOES show correct. But it did not resolve the regedit problem.


:

I have looked by doing a search. The results found regedit in c:\windows
and c:\windows\$ntservicepackuninstall$. But, I was reading another solution
to the problem and attempted to do what it suggested and now when I try to
copy the folder location from search, this is what I get:
www.invircible.com/download/fixregex.com.

I had also seen your response regarding the path and the same thing happens
when I go to copy the location to notepad. It appears to be the correct path
but copies as: www.invircible.com/download/fixregex.com

The search also found regedit as: REGEDIT.COM-08A42FB8.pf,
REGEDIT.EXE-1B606482.pf and REGEDIT.EXE-2AEB4719.pf in c:\windows\prefetch

HELP!!

:

You need to look for another REGEDIT file, in the Windows or Windows\System32 folder. There may be another REGEDIT, with a different extension (BAT, SCR, etc.) that's being loaded first.

Other than that, check your PATH statement and ensure that its correct, and in the correct order. Right click My Computer, Properties, Advanced, Environment Variables. The PATH statement is in the System variables section.

Mine reads:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Which is fairly normal for most machines. Note, the Windows\System32 folder gets scanned before the Windows folder. So that's where you should look for anything called REGEDIT.XXX By default, REGEDIT is not in the System32 folder.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

Cannot get Regedit to function from the Run window. It was working fine. But
the computer had gotten infected with a virus (Worm/Alcan.A) and I followed
instructions to remove it which entailed using Regedit to delete certain keys
(one of which was the regedit.com file). Now, regedit will not work unless I
type in regedit.exe or go through windows/regedit (which fortunately I had a
desktop icon set up).
 
G

Guest

Will have to continue with this tomorrow evening after I get home from work.
Thanks for all your input and effort.



Doug Knox MS-MVP said:
Hi Denise,

Yes, that's it. I don't see anything that would cause any issues.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

den1225 said:
Is this what you were talking about?


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\denise>cd c:\

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\denise\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DENISES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\denise
LOGONSERVER=\\DENISES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\denise\LOCALS~1\Temp
TMP=C:\DOCUME~1\denise\LOCALS~1\Temp
USERDOMAIN=DENISES
USERNAME=denise
USERPROFILE=C:\Documents and Settings\denise
windir=C:\WINDOWS

C:\>

Doug Knox MS-MVP said:
Instead of doing a copy/paste, type it in manually. I'm not sure why your paste function is putting in a URL.

Its not unusual to find various system files in the $NT............ folders. They're often updated with various fixes and such.

Additionally, the copy of REGEDIT.EXE in the prefectch folder is normal. However, it won't hurt to delete them. I would delete the ones in prefecth, including the REGEDIT.COM file, and see what happens. A new copy of REGEDIT.EXE will be made there when its run. This is normal.

If you still have problems, open a Command Prompt window and at the prompt type in SET and press Enter. This will dump your environment variables out, and you can copy and paste them into a reply.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

I got a little creative. I went back into My Computer, properties, edit as
you had previously suggested. I copied your
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" over what
appeared to be correct in the edit screen. At least now, when I try to copy
the path, it DOES show correct. But it did not resolve the regedit problem.


:

I have looked by doing a search. The results found regedit in c:\windows
and c:\windows\$ntservicepackuninstall$. But, I was reading another solution
to the problem and attempted to do what it suggested and now when I try to
copy the folder location from search, this is what I get:
www.invircible.com/download/fixregex.com.

I had also seen your response regarding the path and the same thing happens
when I go to copy the location to notepad. It appears to be the correct path
but copies as: www.invircible.com/download/fixregex.com

The search also found regedit as: REGEDIT.COM-08A42FB8.pf,
REGEDIT.EXE-1B606482.pf and REGEDIT.EXE-2AEB4719.pf in c:\windows\prefetch

HELP!!

:

You need to look for another REGEDIT file, in the Windows or Windows\System32 folder. There may be another REGEDIT, with a different extension (BAT, SCR, etc.) that's being loaded first.

Other than that, check your PATH statement and ensure that its correct, and in the correct order. Right click My Computer, Properties, Advanced, Environment Variables. The PATH statement is in the System variables section.

Mine reads:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Which is fairly normal for most machines. Note, the Windows\System32 folder gets scanned before the Windows folder. So that's where you should look for anything called REGEDIT.XXX By default, REGEDIT is not in the System32 folder.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

Cannot get Regedit to function from the Run window. It was working fine. But
the computer had gotten infected with a virus (Worm/Alcan.A) and I followed
instructions to remove it which entailed using Regedit to delete certain keys
(one of which was the regedit.com file). Now, regedit will not work unless I
type in regedit.exe or go through windows/regedit (which fortunately I had a
desktop icon set up).
 
G

Guest

I FIXED IT!!!!!!!

I remember reading something about the virus I had was making certain
commands (.exe's) run as .com and this would load 1st. Each time I'd try to
run regedit in the run window, I was getting a blank dos screen for a split
second so I could never really read it. But when I found the regedit.com in
the system32 folder I tried renaming that. Well, that didnt work. I had also
thought that if I copied the regedit.exe into system32 it would read that
instead. But it didnt. So, stroke of genius here, I figured that since when
I typed just "regedit" it was reading the .com file and not the .exe......how
about renaming the .com file. So I did. I renamed to regedit1.com (that way
I could always change it if need be). Well, guess what. It worked. Now
when I type just "regedit".....it reads the system32\regedit.exe file I put
there. Seems so simple now.

Thanks again for all your help and I am glad I found this newsgroup. It has
been an education.

den1225 said:
Will have to continue with this tomorrow evening after I get home from work.
Thanks for all your input and effort.



Doug Knox MS-MVP said:
Hi Denise,

Yes, that's it. I don't see anything that would cause any issues.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

den1225 said:
Is this what you were talking about?


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\denise>cd c:\

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\denise\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DENISES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\denise
LOGONSERVER=\\DENISES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\denise\LOCALS~1\Temp
TMP=C:\DOCUME~1\denise\LOCALS~1\Temp
USERDOMAIN=DENISES
USERNAME=denise
USERPROFILE=C:\Documents and Settings\denise
windir=C:\WINDOWS

C:\>

:

Instead of doing a copy/paste, type it in manually. I'm not sure why your paste function is putting in a URL.

Its not unusual to find various system files in the $NT............ folders. They're often updated with various fixes and such.

Additionally, the copy of REGEDIT.EXE in the prefectch folder is normal. However, it won't hurt to delete them. I would delete the ones in prefecth, including the REGEDIT.COM file, and see what happens. A new copy of REGEDIT.EXE will be made there when its run. This is normal.

If you still have problems, open a Command Prompt window and at the prompt type in SET and press Enter. This will dump your environment variables out, and you can copy and paste them into a reply.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

I got a little creative. I went back into My Computer, properties, edit as
you had previously suggested. I copied your
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" over what
appeared to be correct in the edit screen. At least now, when I try to copy
the path, it DOES show correct. But it did not resolve the regedit problem.


:

I have looked by doing a search. The results found regedit in c:\windows
and c:\windows\$ntservicepackuninstall$. But, I was reading another solution
to the problem and attempted to do what it suggested and now when I try to
copy the folder location from search, this is what I get:
www.invircible.com/download/fixregex.com.

I had also seen your response regarding the path and the same thing happens
when I go to copy the location to notepad. It appears to be the correct path
but copies as: www.invircible.com/download/fixregex.com

The search also found regedit as: REGEDIT.COM-08A42FB8.pf,
REGEDIT.EXE-1B606482.pf and REGEDIT.EXE-2AEB4719.pf in c:\windows\prefetch

HELP!!

:

You need to look for another REGEDIT file, in the Windows or Windows\System32 folder. There may be another REGEDIT, with a different extension (BAT, SCR, etc.) that's being loaded first.

Other than that, check your PATH statement and ensure that its correct, and in the correct order. Right click My Computer, Properties, Advanced, Environment Variables. The PATH statement is in the System variables section.

Mine reads:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Which is fairly normal for most machines. Note, the Windows\System32 folder gets scanned before the Windows folder. So that's where you should look for anything called REGEDIT.XXX By default, REGEDIT is not in the System32 folder.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

Cannot get Regedit to function from the Run window. It was working fine. But
the computer had gotten infected with a virus (Worm/Alcan.A) and I followed
instructions to remove it which entailed using Regedit to delete certain keys
(one of which was the regedit.com file). Now, regedit will not work unless I
type in regedit.exe or go through windows/regedit (which fortunately I had a
desktop icon set up).
 
D

Doug Knox MS-MVP

Glad you got it fixed, Denise. :) And you're welcome.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

den1225 said:
I FIXED IT!!!!!!!

I remember reading something about the virus I had was making certain
commands (.exe's) run as .com and this would load 1st. Each time I'd try to
run regedit in the run window, I was getting a blank dos screen for a split
second so I could never really read it. But when I found the regedit.com in
the system32 folder I tried renaming that. Well, that didnt work. I had also
thought that if I copied the regedit.exe into system32 it would read that
instead. But it didnt. So, stroke of genius here, I figured that since when
I typed just "regedit" it was reading the .com file and not the ..exe......how
about renaming the .com file. So I did. I renamed to regedit1.com (that way
I could always change it if need be). Well, guess what. It worked. Now
when I type just "regedit".....it reads the system32\regedit.exe file I put
there. Seems so simple now.

Thanks again for all your help and I am glad I found this newsgroup. It has
been an education.

den1225 said:
Will have to continue with this tomorrow evening after I get home from work.
Thanks for all your input and effort.



Doug Knox MS-MVP said:
Hi Denise,

Yes, that's it. I don't see anything that would cause any issues.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

Is this what you were talking about?


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\denise>cd c:\

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\denise\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DENISES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\denise
LOGONSERVER=\\DENISES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\denise\LOCALS~1\Temp
TMP=C:\DOCUME~1\denise\LOCALS~1\Temp
USERDOMAIN=DENISES
USERNAME=denise
USERPROFILE=C:\Documents and Settings\denise
windir=C:\WINDOWS

C:\>

:

Instead of doing a copy/paste, type it in manually. I'm not sure why your paste function is putting in a URL.

Its not unusual to find various system files in the $NT............ folders. They're often updated with various fixes and such.

Additionally, the copy of REGEDIT.EXE in the prefectch folder is normal. However, it won't hurt to delete them. I would delete the ones in prefecth, including the REGEDIT.COM file, and see what happens. A new copy of REGEDIT.EXE will be made there when its run. This is normal.

If you still have problems, open a Command Prompt window and at the prompt type in SET and press Enter. This will dump your environment variables out, and you can copy and paste them into a reply.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

I got a little creative. I went back into My Computer, properties, edit as
you had previously suggested. I copied your
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" over what
appeared to be correct in the edit screen. At least now, when I try to copy
the path, it DOES show correct. But it did not resolve the regedit problem.


:

I have looked by doing a search. The results found regedit in c:\windows
and c:\windows\$ntservicepackuninstall$. But, I was reading another solution
to the problem and attempted to do what it suggested and now when I try to
copy the folder location from search, this is what I get:
www.invircible.com/download/fixregex.com.

I had also seen your response regarding the path and the same thing happens
when I go to copy the location to notepad. It appears to be the correct path
but copies as: www.invircible.com/download/fixregex.com

The search also found regedit as: REGEDIT.COM-08A42FB8.pf,
REGEDIT.EXE-1B606482.pf and REGEDIT.EXE-2AEB4719.pf in c:\windows\prefetch

HELP!!

:

You need to look for another REGEDIT file, in the Windows or Windows\System32 folder. There may be another REGEDIT, with a different extension (BAT, SCR, etc.) that's being loaded first.

Other than that, check your PATH statement and ensure that its correct, and in the correct order. Right click My Computer, Properties, Advanced, Environment Variables. The PATH statement is in the System variables section.

Mine reads:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Which is fairly normal for most machines. Note, the Windows\System32 folder gets scanned before the Windows folder. So that's where you should look for anything called REGEDIT.XXX By default, REGEDIT is not in the System32 folder.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

Cannot get Regedit to function from the Run window. It was working fine. But
the computer had gotten infected with a virus (Worm/Alcan.A) and I followed
instructions to remove it which entailed using Regedit to delete certain keys
(one of which was the regedit.com file). Now, regedit will not work unless I
type in regedit.exe or go through windows/regedit (which fortunately I had a
desktop icon set up).
 

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