LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Windows 7: Windows Media Center Opens for each .exe file, I try to open (https://www.linuxquestions.org/questions/general-10/windows-7-windows-media-center-opens-for-each-exe-file-i-try-to-open-909087/)

aarsh 10-19-2011 10:02 PM

Windows 7: Windows Media Center Opens for each .exe file, I try to open
 
Every application [.exe] in my windows 7, including cmd.exe opens with Windows Media Center. This is really frustrating for me. Any ideas to overcome from this ?


temporary creating a new user is solution for me. so this might be hint for the experts that, all that is wron that is the user profile settings of that particular user only.

sag47 10-20-2011 12:57 AM

Put together from my own registry and MS documentation.

Open notepad and put the contents.

Code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithList]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithProgids]
"exefile"=hex(0):

Save it as fix_exe.reg. Then simply open the file within the affected user. Realistically any registry file to fix the exe assocation which says "For XP" will work because MS hasn't changed any of the exe values from WinXP to Win7.

I recommend running Microsoft FixIt which is linked in the documentation above. It will work because it is an MSI file.

SAM


All times are GMT -5. The time now is 01:47 AM.