Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: IE9: How to automatically OPEN/RUN downloaded file?

17 Apr 2014   #11

win 7 64 bit

Other values:

For MSOffice 2003


For MSOffice 2007


My System SpecsSystem Spec
09 Sep 2014   #12

Windows 7 Ultimate x64

The below powershell script should help you to find the class guid & program id for a given exe filename:
$exeFilename = '.*\\iexplore\.exe.*' 
#$exeFilename = '"%ProgramFiles%\Internet Explorer\iexplore.exe"' #this is the actual value in the registry; however using the above regex is more flexible

New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT | Out-Null
$results = Get-Item 'HKCR:\CLSID\*\LocalServer32\' `
    | where-object { (get-itemproperty -Path $_.PSPath -Name '(default)' -ErrorAction SilentlyContinue) -imatch $exeFilename} `
    | %{ @{ 
        Program_ID = [string]((get-itemproperty -Path ("{0}\ProgID" -f $_.PSParentPath) -Name '(default)' -ErrorAction SilentlyContinue).'(default)'); 
        ExePath = [string]((get-itemproperty -Path $_.PSPath -Name '(default)' -ErrorAction SilentlyContinue).'(default)'); 
        App_GUID = [string]((get-item -Path ("{0}" -f $_.PSParentPath)).PSChildName);
      } }

$results | %{ write-output("{0} :: {1} :: {2}" -f $_.app_guid, $_.program_id, $_.exePath) }
My System SpecsSystem Spec
29 Mar 2015   #13

Windows 7 Ultimate x64

The "ID" is simply the default CLASS name, e.g. if you want IE (or the Winamp embedded browser) to automatically play .pls file, look up the key in the registry...

My "Default" entry is "Winamp.PlayList". And that's what you use, e.g...


My System SpecsSystem Spec


 IE9: How to automatically OPEN/RUN downloaded file?

Thread Tools

Similar help and support threads
Thread Forum
cant open anything that is downloaded
whenever i download anything from the internet and when i open it .it says me to accept.i accept.then a shield like symbol appears on the task bar and when i click it its gone.plz help:cry:
System Security
File Explorer Windows Automatically Open in New Window?
I am noticing that when I click to open a folder in the File Explorer, the folder automatically opens in a new window. Then if I click on another folder or file, that automatically opens in a new window as well and so on. It is annoying to have to keep closing windows. I cannot locate how...
Cant open downloaded file
Hi, Ive just installed Windows 7 Pro and im struggling to open a downloaded file. Ive downloaded MSE 64-Bit and it wont work together with Speccy. The file is there in downloads but nothing happens. The other issue is that in my browsers, Chrome and IE9 the pages seem like they have not...
General Discussion
My pc open file automatically, then automatically shut down
My pc open file automatically, then automatically shut down when I running my pc, it create pop up sound then open file automatically then pc get shut down. watching any video file, this create more problem. when i scan all of my hard drives but any virus or virus activity didnt appear....
General Discussion
where is the file that i just downloaded but decide not to open?
when i download a file, Windows ask me if i want to save or open, if i choose open then i don't have to specify a location. later, i would be asked again to confirm open the downloaded file. if the answer is no, that would be the end. but where is the file now? how to locate it to delete it?
Browsers & Mail

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:45.
Twitter Facebook Google+