Windows cannot find C:\Windows\regedit.exe

paret

New member
Local time
6:17 AM
Messages
6
I recently installed windows 7 pro x64 on a brand new computer that I built myself. My computer has two separate drives: A 64GB Kingston SSD used as a boot drive and a 500GB WD HDD. I installed windows 7 on the SSD and intend to use this drive ( C: just to store the operating system. I want everything else stored of the HDD which I labeled as my E: drive. To avoid program files from being installed on my C: by default ( Like microsoft office, which does not ask you the location where you wish to instal) I changed the default instalation diretion in the registration. Here is exactly what I did

- run regedit from cmd
-accesed HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
-changed ProgramFilesDir PATH from C:\Program Files to E:\Program files ( which I created myself), along with several other default paths
-Rebooted to allow changes to take affect

When the computer rebooted I tried to run regedit again and an error notification came up that says:

Windows cannot find C:\Windows\regedit.exe. Make sure you typed the name correctly, and then try again.

Im assuming I made a mistake when entering the new path names but I can no longer view the registry to see ifthat is the case because no matter what I do I cannot get regedit to run. I have been looking around everywhere for a solution.
here are a list of solutions/possible causes that I have found, but that do not work in my case

-Malware, I understand this probibly is mostly commonly cause by malware or some virus. But my computer is brand new and I have yet to connect it to the internet, and I am the only one who has used it ( im working on a different pc right now)

-tried running regedt32 or regedit32 or REGEDIT or pretty much any other combination of the words 'reg' 'edit'

- Yes the regedit.exe does exist in the system. When I open C:\Windows I can see the regedit application, and yes it is stored as an application, and yes regedit32.exe is stored in C:\Windows\system32

I would realy like to find a solution to the problem that does not involve re-instaling windows or regedit, there has to be a way because liek I said it was probably cause by some typo and I know that the file is not corrupt or damaged.
 
Last edited by a moderator:

My Computer My Computer

OS
Windows 7 Professional x64
CPU
AMD Phenom II x4 3.2GHz
Motherboard
ASUS M4A89GTD
Memory
4 GB DDR3
Graphics Card(s)
n/a
Sound Card
n/a
Hard Drives
64 GB Kingston SSD BOOT DRIVE
500 GB WD HDD
PSU
CM 700W
Case
CM
I recently installed windows 7 pro x64 on a brand new computer that I built myself. My computer has two separate drives: A 64GB Kingston SSD used as a boot drive and a 500GB WD HDD. I installed windows 7 on the SSD and intend to use this drive ( C: just to store the operating system. I want everything else stored of the HDD which I labeled as my E: drive. To avoid program files from being installed on my C: by default ( Like microsoft office, which does not ask you the location where you wish to instal) I changed the default instalation diretion in the registration. Here is exactly what I did

- run regedit from cmd
-accesed HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
-changed ProgramFilesDir PATH from C:\Program Files to E:\Program files ( which I created myself), along with several other default paths
-Rebooted to allow changes to take affect

When the computer rebooted I tried to run regedit again and an error notification came up that says:

Windows cannot find C:\Windows\regedit.exe. Make sure you typed the name correctly, and then try again.

Im assuming I made a mistake when entering the new path names but I can no longer view the registry to see ifthat is the case because no matter what I do I cannot get regedit to run. I have been looking around everywhere for a solution.
here are a list of solutions/possible causes that I have found, but that do not work in my case

-Malware, I understand this probibly is mostly commonly cause by malware or some virus. But my computer is brand new and I have yet to connect it to the internet, and I am the only one who has used it ( im working on a different pc right now)

-tried running regedt32 or regedit32 or REGEDIT or pretty much any other combination of the words 'reg' 'edit'

- Yes the regedit.exe does exist in the system. When I open C:\Windows I can see the regedit application, and yes it is stored as an application, and yes regedit32.exe is stored in C:\Windows\system32

I would realy like to find a solution to the problem that does not involve re-instaling windows or regedit, there has to be a way because liek I said it was probably cause by some typo and I know that the file is not corrupt or damaged.


You can check the current setup (path) if you can open a cmd window. type cmd in search then "path" that will tell you where windows thinks it should be looking. If the correct path (c:\%path%) is correct then you may just need to add regedit's location in path.

I suspect that wont help. I suspect you should restore from a backup if one exists, or do a repair install from the win 7 dvd.

Ken J
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
In addition to zigzag's suggestions,


You could first try replacing the Software hive in \Windows\System32\config with the one in \Windows\System32\config\RegBack.

You would need to do that offline - from a boot disc for example.

If you know where to look in the registry, you can access it from a boot disc - win 7 dvd/repair disc fror exmaple.

Go to command prompt, type regedit, in regedit main window click on HKEY_LOCAL_MACHINE.

Click File >Load Hive, browse to your windows\system32\ regback software hive, select it - give it a name , e.g. PE_SOFT.

Find the key(s) you altered - export it (them ) to HD .

Click on PE_SOFT, unload Hive.

Repeat loading Hive - this time pick up \Windows\System32\config Software hive - give the same name , eg PE_SOFT.

DELETE the keys you altered.

Click File >Import - browse to the reg file you just saved and import it.

Unload PE_SOFT.

Reboot.


If that is too complicated, you can use free paragon fre rescue kit boot cd - boot it , select Normal Mode>File Transfer Wizard.

Rename \Windows\System32\config\ to SOFTWARE .OLD.

Browse to \Windows\System32\config\regback and copy the backup software hive from there to \Windows\System32\config

If not sure what you altered - you can copy all the hives from regback, instead of just the SOFTWARE hive
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
in start menu, accessories click run, in the run window type regedit , see if it works then.
 

My Computer My Computer

Computer Manufacturer/Model Number
Hewlett packard/p6512uk
OS
Microsoft Windows 7 Home Premium 64-bit 7600
CPU
IIx4 amd athelon 635 processor
Motherboard
FOXCONN 2AA9
Memory
2x2gb
Graphics Card(s)
ati radeon HD 5450
Sound Card
(1) Realtek High Definition Audio (2) AMD High Definition
Monitor(s) Displays
samsung lcd tv 32"
Screen Resolution
1360x 768
Hard Drives
(1) WDC WD10 01FAES-60Z2A0 SATA Disk Device (2) Maxtor OneTouch USB Device (3) ST310003 33AS USB Device (4) WD My Book 1111 USB Device
PSU
?
Cooling
air!
Keyboard
wireless hp
Mouse
wireless Hp,optical
Internet Speed
1.10mb/s
Antivirus
MSE
Browser
Firefox
when I tried to view the enviroment variables to check the PATH I got another error notification that says Windows cannot find C:\Windows\system32\SystemPropertiesAdvanced.exe ..... Does that ring any bells with anyone?
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
AMD Phenom II x4 3.2GHz
Motherboard
ASUS M4A89GTD
Memory
4 GB DDR3
Graphics Card(s)
n/a
Sound Card
n/a
Hard Drives
64 GB Kingston SSD BOOT DRIVE
500 GB WD HDD
PSU
CM 700W
Case
CM
In addition to zigzag's suggestions,


If you know where to look in the registry, you can access it from a boot disc - win 7 dvd/repair disc fror exmaple.

Go to command prompt, type regedit, in regedit main window click on HKEY_LOCAL_MACHINE...

I cannot cannot acces the registry no matter what I do, typing regedit just gives the error prompt
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
AMD Phenom II x4 3.2GHz
Motherboard
ASUS M4A89GTD
Memory
4 GB DDR3
Graphics Card(s)
n/a
Sound Card
n/a
Hard Drives
64 GB Kingston SSD BOOT DRIVE
500 GB WD HDD
PSU
CM 700W
Case
CM

My Computer My Computer

Computer Manufacturer/Model Number
Hewlett packard/p6512uk
OS
Microsoft Windows 7 Home Premium 64-bit 7600
CPU
IIx4 amd athelon 635 processor
Motherboard
FOXCONN 2AA9
Memory
2x2gb
Graphics Card(s)
ati radeon HD 5450
Sound Card
(1) Realtek High Definition Audio (2) AMD High Definition
Monitor(s) Displays
samsung lcd tv 32"
Screen Resolution
1360x 768
Hard Drives
(1) WDC WD10 01FAES-60Z2A0 SATA Disk Device (2) Maxtor OneTouch USB Device (3) ST310003 33AS USB Device (4) WD My Book 1111 USB Device
PSU
?
Cooling
air!
Keyboard
wireless hp
Mouse
wireless Hp,optical
Internet Speed
1.10mb/s
Antivirus
MSE
Browser
Firefox
LOL -the idea is , you boot the win 7 dvd - select repair my computer, go to command prompt, type regedit.exe .

You will be using regedit that is in windows pre install environment ( it will actually be x:\windows\regedit.exe. )

NOT regedit from your installed version of windows.



In addition to zigzag's suggestions,


If you know where to look in the registry, you can access it from a boot disc - win 7 dvd/repair disc fror exmaple.

Go to command prompt, type regedit, in regedit main window click on HKEY_LOCAL_MACHINE...

I cannot cannot acces the registry no matter what I do, typing regedit just gives the error prompt

You would be better using the second method I suggested :

http://www.paragon-software.com/home/rk-express/


Use free paragon free rescue kit boot cd - boot it , select Normal Mode>File Transfer Wizard.

Browse to \Windows\System32\config\ and rename SOFTWARE to SOFTWARE .OLD.

Browse to \Windows\System32\config\regback and copy the backup SOFTWARE hive from there to \Windows\System32\config

If not sure what you altered - you can copy all the hives from regback, instead of just the SOFTWARE hive
 
Last edited:

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
I'm moving this post to a more appropriate thread.
 
Last edited:

My Computer My Computer

OS
Windows 7 Ultimate 32bit
Navigate to C:\Windows\Regedit - Right Click on Regedit and Run as Administrator
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Precision M6700
OS
Windows 7 Pro X64
CPU
Intel Core i7-3920xm 2.90ghz
Memory
32gb
Graphics Card(s)
Nvidia Quadro K5000M
Hard Drives
1 x 128GB SSD 2 x 750GB 7200RPM
Antivirus
Security Essentials
Browser
Chrome / IE
Hey I faced the same problem. I had my regedit details changed for "ProgramFilesDir" to "D:\ProgramFiles"

and the "CommonFilesDir" to "D:\ProgramFiles\CommonFiles". And then rebooted my system.

This as reported above gave the missing error.

My solution:

1. Create a folder: D:\Program Files

2. Copy the regedt32.exe from "C:\Windows\System32" to "D:\Program Files".

3. Run the regedt32.exe from the new location and you will be able to change the details.

Cheers,
Ashleylor
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 8
CPU
assembled
Motherboard
Intel
Memory
1 TB
Graphics Card(s)
1 GB
Antivirus
Avast
Browser
Chrome
Back
Top