1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Everything opens with Notepad! The solution.

Discussion in 'Windows 7' started by dbDesigner, May 4, 2011.

Thread Status:
Not open for further replies.
  1. dbDesigner

    dbDesigner Thread Starter

    May 4, 2011
    When doing Right-Click on a file and choosing Open with, it opens immediately with Notepad without any prompt.

    No matter what type of file - text, graphics etc, all gets opened in Notepad without the option to choose what Program to use.

    I am not sure what caused this, but some suggested running SFC, anti-virus and malware scans.
    This does NOT solve the problem.

    The problem is that the registry setting used to choose the type of program got corrupted.

    To fix this Registry entry, do this:

    Click Start, Run and type Regedit.exe

    Navigate to the following location:

    HKEY_CLASSES_ROOT \ Unknown \ shell

    Backup the key (right-click and choose export - give it any name you want).

    In the right-pane, double-click on (Default) and type: openas

    Then navigate to the following branch:

    HKEY_CLASSES_ROOT \ Unknown \ shell \ openas \ command

    In the right-pane, double-click (default) and type (or copy and paste) the following string:

    rundll32.exe shell32.dll,OpenAs_RunDLL %1

    Exit the Registry Editor.

    I had the same problem and the above solved the problem.

    If you prefer not to edit the settings you can download a .REG file, and double-click it to automatically have it update your registry with the correct settings.

    You can find the download file here:
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Similar Threads - Everything opens Notepad
  1. lawf
  2. mtinsanity
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/994965