Restore Exe File Association Windows 7
Restore default file association on Windows 7 Original title:open with defaults when changing a file to open with windows photo viewer it some how chaged all files on my computer to open with photo viewer there are no restore points nor backups is there a way to undo this or fix it. If you find that you cannot open a particular file type, then our File Association Fixer v2 for Windows 10/8/7 will be able to easily help you fix, repair and restore the broken file associations.
Since there are so many default file extension types in Windows 7, it may take a bit to have a complete list of them below. If the file extension type you need to restore is not listed below yet, then please post a request for it. I'll be happy to add it to the list. :)
Default program associations for file extensions are a per user setting by default, so you will need to be logged on to the effected user account to be able to restore the default associations of the file extension for that specific user account.
If you are logged in as a standard user and this still does not help, then have the administrator also merge the needed .reg for the file extension below while logged into their administrator account.
These default file extensions should only be used in Windows 7.
For Windows 10, please see here - Restore Default File Type Associations in Windows 10 - Windows 10 Customization Tutorials
Here's How:
1. Click on a listed file extension below the blue NOTE box that you would like to restore the default associations of. This will be for the downloadable .reg file for the listed file extension.
2. Save the .reg file to your desktop.
3. Right click on the downloaded .reg file, and click on Merge.
NOTE:If you wish to see what changes will be made by the REG file, then you can right click on the extracted REG file and click on Edit to see the default registry entries that will be added. REG files are just text files. The 'Edit' function just opens them in Notepad.
4. If prompted, click on Run, Yes (UAC), Yes, and OK.
NOTE:If you are logged in a standard user account, then you will get a Cannot import type error. Just click on OK for it. This is normal since what cannot be imported can only be done so by an administrator account instead. It will still restore the default association of the file extension though.
5. When finished, you can delete the downloaded .zip or .reg files on the desktop if you like.
6. Log off and log on, or restart the computer to apply.
Default Windows 7 File Extension Types:
3GP - Audio and video container format developed by the 3rd Generation Partnership Project (3GPP); designed as a multimedia format for transmitting audio and video files between 3G cell phones and over the Internet; commonly used by mobile phones that support video capture. The default program is Windows Media Player.
3GPP - Audio and video container format developed by the 3rd Generation Partnership Project (3GPP); designed as a multimedia format for transmitting audio and video files between 3G cell phones and over the Internet; commonly used by mobile phones that support video capture. The default program is Windows Media Player.
aac - ADTS audio file. The default program is Windows Media Player.
ai - AI file.
ani - Windows animated cursor file.
aspx - A file with the ASPX file extension is an ASP.NET Source file.
asf - Advanced Streaming Format (ASF) is an open file format specification for streaming multimedia files containing text, graphics, sound, video, and animation. The default program is Windows Media Player.
asx - Advanced Stream Redirector (.asx) play list files, also known as Windows Media Metafiles, are text files that provide information about a file stream and its presentation. The default program is Windows Media Player.
AudioCD - Audio CD protocol associations.
avi - Audio Video Interleave files. The default program is Windows Media Player.
bas - BASIC source code file.
bak - Usually used to rename a file extension with to make it a backup copy. bak as no associations by default, so this will remove all associations for the bak file extension.
bat - Batch files.
bin - Binary file. By default in Windows 7, .bin files are not associated to be opened by a default program.
bmp - Bitmap image files. The default program is Windows Photo Viewer.
Briefcase - New Briefcase file.
cab - Cabinet files.
cer - Security Certificate file
chm - Microsoft compiled HTML help files.
cmd - Windows command script files.
com - MS-DOS application files.
Contact - Contact file. Default program is Windows Contacts.
cpl - Control Panel item.
cpp - Program source code written in the C++ programming language; may be a standalone program or one of many files referenced within a programming project; can be viewed with a text editor, but most software development programs will display the text with helpful syntax highlighting
crl - Certificate Revocation list file
crt - Security Certificate file
css - Cascading Style Sheet Document file. The default program is Notepad.
cur - Windows File Cursor animation files used for the Microsoft Windows mouse pointer image.
dat - Generic data file created by a specific application; typically accessed only by the application that created the file; may contain data in text or binary format; text-based DAT files can be viewed in a text editor.
der - Security Certificate file
db - Data base file.
dic - The .DIC file extension is a Dictionary file (text file) which can be used as an alternate dictionary on top of the Microsoft Windows Dictionary and may contain an optional set of personalized words which the user has opted to add for spell- checking purposes.
Directory - Directory protocol associations
dll - A Dynamic Link Library (dll) file is a support file used by one or more programs.
drive - Drive protocol associations.
dvr-ms - Microsoft Recorded TV Show file. The default program is Windows Media Center.
exe - Executable application files.
folder - Folder protocol associations.
gif - GIF (Graphics Interchange Format) image files. The default program is Internet Explorer.
gz - Usually associated with Gzip. By default, there is no associated program for this in Windows 7.
h - C or C++ program language header file normally with .C or .CPP file. In computer programming, particularly in the C and C++ programming languages, a header file or include file is a file, usually in the form of source code, that is automatically included in another source file by the compiler. Typically, header files are included via compiler directives at the beginning (or head) of the other source file.
hlp - Help file
hta - HTML (Hypertext Mark-up Language) application. The default program is Microsoft (R) HTML Application host (mshta.exe)
htm - HTML (Hypertext Mark-up Language) document files. The default program is Internet Explorer.
html - HTML (Hypertext Mark-up Language) document files. The default program is Internet Explorer.
ico - Icon files. The default program is Windows Photo Viewer.
img - CD or DVD image file, essentially equivalent to an ISO file.
inf - Setup information files. The default program is Notepad.
ini - The INI file type is primarily associated with 'Initialization/Configuration File'. These files are typically ASCII text with various configuration options set into sections.
iso - Image file.
jnt - Journal document file. Default program is Windows Journal.
jpe - JPEG (Joint Photographic Experts Group) image files. The default program is Windows Photo Viewer.
jpeg - JPEG (Joint Photographic Experts Group) image files. The default program is Windows Photo Viewer.
jpg - JPG (Joint Photographic Group) image files. The default program is Windows Photo Viewer.
js - Java Script file. The default program is Microsoft Windows Based Script Host (C:WindowsSystem32wscript.exe).
JSE - JScript encoded script file. The default program is Microsoft Windows Based Script Host (C:WindowsSystem32wscript.exe).
library-ms - Library folder.
NOTE:To restore the default icons, you may need to do these as well.
lnk - Shortcut link (LNK) files.
log - LOG is a file extension associated with Log files. It is a text file.
M2T- High-definition video recording format used by many HD camcorders; commonly referred to as 'HDV;' uses MPEG-2 compression to store HD video data on DV or MiniDV tapes; supports resolutions of 720p and 1080i.
M2TS - Blu-ray BDAV Video File. Video file saved in the high-definition Blu-ray BDAV format; used for saving video data on Blu-ray discs; based on the MPEG-2 transport stream and supports 720p and 1080i formats. BDAV stands for 'Blu-ray Disc Audio/Visual,' while the M2TS extension refers to 'MPEG-2 Transport Stream.'
m3u - The M3U file type is primarily associated with 'MP3 Playlist File'. Generally known as a 'Winamp' Playlist file, this format has been adopted by a wide variety of MP3 players. The default program is Windows Media Player.
m4a - MPEG-4 audio file. The default program is Windows Media Player.
M4V - MPEG-4 file extension used for videos downloaded from the Apple iTunes store; includes TV episodes, full-length movies, and music videos; similar to an .MP4 file, but may be copy-protected using Apple's FairPlay DRM copyright protection.
manifest - A XML file that contains information about accompanying files in the same archive.
mapimail - Mail service.
mhtml - MHTML document file. The default program is Internet Explorer.
mkv - A Matroska Multimedia Container file is a video format similar to the .AVI, .ASF, and .MOV formats. By default Windows 7 does not have support for opening this file type and has no association. DivXPlayer is a good free program to install that does support playing this file extension. This download will set this file extension back to the default unassociated state in Windows 7.
mov - Movie file. The default program is Windows Media Player.
mp3 - MP3 sound format file. The default program is Windows Media Player.
mp4 - MPEG-4 movie file. The default program is Windows Media Player.
mpa - MPEG audio file. The default program is Windows Media Player.
mpe - MPEG movie file. The default program is Windows Media Player.
mpeg - MPEG (Moving Picture Experts Group) video file. The default program is Windows Media Player.
mpg - MPEG video file. The default program is Windows Media Player.
msc - Mirosoft Common Console document files.
msi - Microsoft Windows Installer installation package file.
msp - Microsoft Windows Installer Patch file.
MTS - MadTracker 2 Sample File. High-definition MPEG Transport Stream video format, commonly called 'AVCHD' (Advanced Video Codec High Definition); used by Sony, Panasonic, and other HD camcorders; based on the MPEG-2 transport stream and supports 720p and 1080i HD video formats. MTS files can typically be opened and edited using the software included with Sony and Panasonic HD camcorders. The default program in Windows 7 is Windows Media Player.
nfo - System Information File
obj - Object file.
otf - Open Type Font file. The default program is Windows Font Viewer.
Package - Package protocol.
pbk - Dial-Up Phonebook file. The default program is Remote Access Phonebook.
pdf - Portable Document Format (PDF) is a file format created by Adobe Systems. By default, Windows 7 does not support reading this file type. Using this to restore the default PDF association in Windows 7 will remove all associations for the pdf file extension. You will need to install a 3rd party program like Adobe Reader or Foxit Reader to be able to open and read pdf files in Windows 7.
png - Portable Network Graphics (PNG) is a bitmap compression method for image files. PNG supports 16.7 million colors, it is lossless and also supports index color, grayscale, true color, transparency, and is streamable. It is thus the best compression method (better than GIF or JPEG) for use on the web.
ps1 - Microsoft Windows PowerShell command line shell and scripting language file. The default program used to open with is Notepad.
psd - The PSD file format, created by Adobe, contains graphics/photos created by image editing software such as Adobe Photoshop.
reg - Registry file.
NOTE:You may need to set the default program as Registry Editor (C:Windowsregedit.exe) for reg file extensions, or enable regedit before you will be able to use this REG file.
rtf - Rich Text document files. The default program is WordPad.
scr - Screen Saver files.
Search - Windows Search protocol.
svg - SVG document. The default program is Internet Explorer.
swf - Shockwafe Flash Object.
sys - System file.
tar - Tape Archive file. By default, there is no associated program for this in Windows 7.
theme - A Windows theme file.
themepack - A .themepack file is a Windows Theme Pack file used to share themes with others.
tif - Tagged Image files Format. The default program is Windows Photo Viewer.
tiff - Tagged Image files Format. The default program is Windows Photo Viewer.
tmp - Temp file. By default, this file extension does not have a program associated with it.
TS - Video Transport Stream file used for storing video on a DVD; compresses video data using standard MEPG-2 (.MPEG) video compression. TS files are often saved as multiple files on a DVD, i.e. 'moviename1.ts,' 'moviename2.ts,' 'moviename3.ts,' etc. They can be played back by various software DVD players and video editing tools
ttf - True Type font file. The default program is Windows Font Viewer.
TTS - A .tts file is a text file (an ini file) that corresponds to your book. The ToolBook Translation System (TTS) creates the .tts file for you when you set the book's TTS Identifier through the Setup Sources window.
txt - Text document files. The default program is Notepad.
Type - To remove association with blank file extension.
Unknown - Unknown file types.
url - Internet website shortcut link. The default program is Internet Explorer.
vbs - Visual Basic Script files. The default program is Microsoft Windows Based Script Host (C:WindowsSystem32wscript.exe).
vob - Movie data file from a DVD disc, typically stored in the VIDEO_TS folder; contains the majority of data stored on the disc including video, audio, and subtitles; usually formatted as an MPEG-2 system stream and can be opened by various video playback programs.
wav - Wave audio file. The default program is Windows Media Player.
wma - Windows Media Audio files. The default program is Windows Media Player.
wmv - Windows Media Audio/Video file. The default program is Windows Media Player.
wsf - Windows Script Files. The default program is Microsoft Windows Based Script Host (C:WindowsSystem32wscript.exe).
xml - Excel Macro files. The default program is Internet Explorer.
xps - XML Paper Specification document files. The default program is XPS Viewer (C:WindowsSystem32XPSViewerXPSViewer.exe).
xsl - A eXtensible Stylesheet Language file that defines the style of text, tables, and other objects within a XML document; similar to a .CSS file used by .HTML documents. The default program is Internet Explorer.
zip - ZIP file extensions is a archival and data compression format used to compress one or more files to reduce the size of the file. The default program is Compressed Folders.
This question already has an answer here:
- How do you associate the .exe file extension with a program in Windows? 2 answers
- How do I fix broken .exe file association in Windows Vista? [duplicate] 1 answer
I recently downloaded an ASP.NET project, which was a self-extracting zip file. I right-clicked the file and chose Open With → Microsoft Visual Studio. Now apparently it unzipped and set the default program for all .exe files to Visual Studio.
How can I fix the .exe file extension so it is not associated with Visual Studio?
marked as duplicate by Canadian Luke, random♦Jul 29 '14 at 4:17
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1 Answer
You can fix it by taking a look at this Microsoft page: KB950505.
There is a 'Fix it for me' program linked from the page. Alternatively, you can manually follow these directions:
Because you cannot open .exe files normally (this also happens with certain viral infections), you have to use a roundabout way to make the necessary changes.
Open Task Manager (CTRL-ALT-DEL)
Press and hold CTRL and click File - New Task (Run...). This will open a Command window.
Type 'notepad' and press Enter. This will open Notepad.
Paste the following text into the Notepad window:
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.exe]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.exe]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.exeOpenWithList]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.exeOpenWithProgids]'exefile'=hex(0):Click File - Save As.... Set the file type to All Files, name the file 'fix.reg', and set Encoding to 'Unicode'. Remember where you've saved it.
In the command window, navigate to where you saved fix.reg and type 'reg import fix.reg'
Click Yes and OK to any prompts.
Reboot your computer.
Note: I had issues pasting the specified text for the registry import. If the above text doesn't work, go to the KB article linked above and paste from there.