Solved

MSCONFIG and REGEDIT Opens in Notepad

Posted on 2011-03-16
9
2,847 Views
Last Modified: 2012-05-11
I have a Windows XP machine that opens MSCONFIG and REGEDIT in notepad when executed. I ran Darik's Boot and Nuke on the machine, reinstalled Windows XP Professional w/SP3 and have installed the updates. I still have the same problem both in normal mode and in safe mode.
0
Comment
Question by:ttiefel1
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 5

Accepted Solution

by:
KPAYNE123 earned 167 total points
ID: 35150684
Download and run this script http://securityresponse.symantec.com...UnHookExec.inf which will reset your reg entries to default.

0
 
LVL 4

Assisted Solution

by:prashant_sawant
prashant_sawant earned 167 total points
ID: 35150798
HAve you tried opening the reg from c:\windows\regedit.exe. If not please try and let us know.

As per you, u have reinstalled the OS, But what have caused you to reinstall, was the machine afftected with VIRUS.
0
 
LVL 16

Assisted Solution

by:speshalyst
speshalyst earned 166 total points
ID: 35151215
Open a command prompt and run
"reg query HKCR\regedit\shell\open\command"

On my machine where Regedit works as it should .. the result shows..

HKEY_CLASSES_ROOT\regedit\shell\open\command
    <NO NAME>   REG_SZ  regedit.exe %1

verify if you get the same output ..
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 16

Expert Comment

by:speshalyst
ID: 35151257
Also .. if you open some folder.. go to Tool>Folder Options>File Types ..
you should see a whole list of registtered file type..

scroll down the list and look for REG ... and highlight it .. the bottom half of that window should show the associated executable as "Open with Registry Editor" .. if this looks different on ur machine..

click on the change button and point to the "Regedit.exe" as the default file association.
0
 

Author Comment

by:ttiefel1
ID: 35151511
Yes, I had a virus on the computer prompting me to run Boot & Nuke. I tried all solutions:

KPAYNE123:  I didn't have the option to install the .inf when I right-clicked on the file.

prashant_sawant: - when I tried to run regedit.exe in the Windows directory it still opened with notepad.

speshalyst - When I ran reg query I received the same results as youi. However, I had no Folder Options under the Tools.
0
 
LVL 16

Expert Comment

by:speshalyst
ID: 35151606
"However, I had no Folder Options under the Tools. " - Don't you see this Menu option when you open any folder on you machine ??
0
 
LVL 5

Expert Comment

by:KPAYNE123
ID: 35151804
To enable the Install command for .inf files, use any one of the following methods:

NOTE: For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

Change the "(Default)" value in the HKEY_CLASSES_ROOT\.inf registry key to inffile. Restart your computer for this change to take effect.
Restore the standard shell commands. To do so, click the Start button, click Run, type the following line in the Open box, and then click OK:

rundll setupx.dll,InstallHinfSection DefaultInstall 132 c:\windows\inf\shell.inf

NOTE: Type the above line as one long line. If you installed Windows 95 in a folder other than the Windows folder, adjust the command accordingly.

After hard disk activity stops, restart Windows.

Start Windows Explorer.
On the View menu, click Options, and then click the File Types tab.
In the Registered File Types box, click Setup Information, and then click Edit.
Click New, type Install in the Action box, and then type the following line in the Application Used To Perform Action box:

c:\windows\rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132

NOTE: Type the above line as one long line. If you installed Windows in a folder other than the Windows folder, adjust the command accordingly.
Click OK Until you return to Windows Explorer.

If "Setup Information" does not appear in the Registered File Types box a new one must be made. To make a new "Setup Information" File type:

Delete the .inf key in the following registry key:

HKEY_CLASSES_ROOT
Start Windows Explorer, click Options on the View menu, and then click the File Types tab.
In the Registered File Types box, click Setup Information, and then click Edit.
Click New, type &Install in the Action box, and then type the following line in the Application Used To Perform Action box:

c:\windows\rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132

Click New, type Open in the Action box, and then type the following line in the Application Used To Perform Action box:

c:\windows\notepad.exe

Click New, type Print in the Action box, and then type the following line in the Application Used To Perform Action box:

c:\windows\notepad.exe /p

Click OK, and then click Close.
0
 

Author Comment

by:ttiefel1
ID: 35151838
There is no Menu option under Tools for folders
0
 

Author Closing Comment

by:ttiefel1
ID: 35160985
Gentlemen thanks for your solutions. I accepted all your solutions because I tracked down the problem to corrupted data on our WSUS server. I reinstalled WinXP and downloaded the updates from Microsoft and everything was fine.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question