Re: Lost Regedit



I was thinking of rebuilding the system soon.

Not yet.

Not everyone has a dllcache folder. See below.

In %systemroot%\WINDOWS\

One or the other. %systemroot% = %systemdrive%\WINDOWS

In %systemroot%\WINDOWS\ServicePackFiles\

See below.

By default the cache folder is %systemroot%\system32\dllcache for System
File Checker (sfc.exe) and Windows File Protection.

However, with SP2...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Setup
ServicePackSourcePath can point to %windir%\ServicePackFiles.

The ServicePackFiles folder only exists if you have upgraded to XP SP1 or XP
SP2 and they were not included in the original install and the SP1 or SP2
upgrade was done by downloading it from Microsoft. If the Service Pack is
installed by means of a CD-ROM or a distribution share, the ServicePackFiles
folder is not created. Same for slipstreaming a Service Pack.

So you either have a dllcache folder or a ServicePackFiles folder.


Does this work?
Start | Run | Type or paste: %windir%\regedit.exe | Click OK

Or this?
Start | Run | Type or paste: C:\WINDOWS\regedit.exe | Click OK


%systemroot% is an environment variable that is the location of the Windows
root folder.

Typing or pasting %systemroot% into the Start | Run box opens to the Windows
folder on whatever drive it is located. I.e. C:\WINDOWS or C:\WINNT.

systemroot definition from C:\WINDOWS\Help\glossary.chm
[[The path and folder name where the Windows system files are located.
Typically, this is C:\Windows, although you can designate a different drive
or folder when you install Windows. You can use the value %SYSTEMDRIVE% to
replace the actual location of the folder that contains the Window system
files. To identify your systemroot folder, click Start, click Run, type
%systemroot% and then click OK.]]

%windir% is an environment variable that is the location of the system
folder.

Typing or pasting %windir% into the Start | Run box opens to the Windows
folder on whatever drive it is located. I.e. C:\WINDOWS or C:\WINNT.

Windows XP can be installed in either WINDOWS or WINNT.

If %systemroot% and %windir% are the same, then obviously %windir% is easier
to type.
--------------------

The environmental variable Pathext shows a list of file extensions that are
considered to be executable and regulates which extensions do not need to be
typed in a Command Prompt or the Run command.

The Path environmental variable and a registry entry, App Paths,
control what paths do not have to be typed.

Since typing regedit without the extension in the Run command does not work
for you something is messed up with your PATHEXT.

Open a command prompt...
Start | All Programs\Accessories\Command Prompt
or
Start | Run | Type: cmd.exe | Click OK |

I wonder if this...
Start | Run | Type: cmd | Click OK |
will work for you?

Anyway, when the command prompt is open, type: path and hit Enter.

You should see something similar to this...
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

Then type: set and hit Enter. Look for PATHEXT.

You should see something similar to this...
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

At a minimum you should have...
PATHEXT=.COM;.EXE;.BAT;.CMD

Post back with what you find.

Or you could have typed: echo %PATHEXT% and hit Enter.

Or you could have typed: echo %PATH% %PATHEXT% and hit Enter.

XP doesn't care if it's UPPERCASE, lowercase or MiXeDcASe.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:D2E0AE41-9F9C-4972-BDFD-74D145D68B81@xxxxxxxxxxxxx,
MNM <MNM@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
"Wesley Vogel" wrote:

Have you tried these?

Start | Run | Type or paste: regedit.exe | Click OK

Start | Run | Type or paste: %systemroot%\regedit.exe | Click OK

Start | Run | Type or paste: %systemroot% | Click OK |
Then scroll down to and double click on regedit.exe

Only the first one.



See if there is a regedit.exe in
%windir%\system32\dllcache
or
C:\WINDOWS\system32\dllcache

Here's the weird part, I don't seem to have a \dllcache folder on my
machine!!!



If there is what happens if you double click on it?

Do a Search to see if there are any other copies of regedit.exe on your
machine.
In %systemroot%\WINDOWS\
In %systemroot%\WINDOWS\ServicePackFiles\
In my BartPE I386 folder and the slipstreamed directory to build BartPE





Do a Search to see if there are any copies of regedit.com on your
machine.

No.



regedit.com is probably created by malware.

UPDATE your antivirus software and run a full system scan.

UPDATE whatever anti-spyware applications that you have and run a full
system scan with each one.

You might want to start in Safe Mode to run your antivirus and
anti-spyware software.

Running a full system antivirus scan or anti-spyware scan in Safe Mode
can be a good idea. Some viruses and other malware like to conceal
themselves in areas Windows protects while using them. Safe mode will
prevent those applications access and therefore unprotect the viruses or
other malware allowing for easier removal.

How to start Windows in Safe Mode Windows XP
http://www.bleepingcomputer.com/forums/index.php?showtutorial=61#winxo

""> > This also occurs in SAFE MODE.""



--
Hope this helps. Let us know.

I was thinking of rebuilding the system soon. The missing \dllcache
folder is an indication this may be a good time.
What do you think? Or, is it possible to restore this directory via a
repair operation?




Wes
MS-MVP Windows Shell/User

In news:1CC0B316-60B9-4E40-8432-03A7BD8D5AC8@xxxxxxxxxxxxx,
MNM <MNM@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I am trying to add keys for saved file lists to a registry cleanning
utility.

When I start Regedit, through the program or Satrt/Run, I get the
message' "The application failed to initialize properly (0x0000005).
Click on OK to terminate the application."

This also occurs in SAFE MODE.

It worked about 6 months ago.

TIA
MNM

.



Relevant Pages

  • Re: ie,...again
    ... How to take ownership of a file or folder in Windows XP ... In XP Home you have to boot in safe mode to see the security tab. ... other computer called HOLD, download the programs to ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Unable to install new software
    ... A description of the Safe Mode Boot Options in Windows XP ... (it could be a hidden folder) logon in safe mode and go to ... How to set, view, change, or remove file and folder permissions in Windows ...
    (microsoft.public.windowsxp.security_admin)
  • Re: ie,...again
    ... re-install Windows. ... >> tried safe mode, and I'm still getting the same ... >Switch to AVG Anti-Virus destination folder using these ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Files in system32/drivers/etc
    ... The legitimate smss.exe and svchost.exe are NOT 16-bit applications. ... You might want to start in Safe Mode to run your antivirus and anti-spyware ... How to start Windows in Safe Mode Windows XP ... Use Windows Explorer to open the folder that contains the program's executable file. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows XP keep rebooting...
    ... Which version of Windows XP is installed on your computer? ... computer in Safe Mode in order to see the Security tab on the ... To start your computer in Safe Mode you need to tap on the F8 ... Go to Start -> Control Panel and double click on Folder ...
    (microsoft.public.windowsxp.help_and_support)