IE9: How to automatically OPEN/RUN downloaded file?

blake77

New member
Local time
11:53 AM
Messages
3
Is it possible for Internet Explorer 9 to automatically open a file for a given filetype/extension? Previous versions would do this.

For example, every time I click a .PDF file to download, the yellow bar opens on the botton saying "Do you want to open or save xxx.pdf... from website.com". My .PDF are associated with Adobe Reader (Open With..always), yet it keeps asking to open it. Same thing with other file types like .ICA for citrix access, .docx for Office etc.
 

My Computer My Computer

At a glance

Windows 7 Professional, 64-bit
OS
Windows 7 Professional, 64-bit

My Computer My Computer

At a glance

Win 7 Pro 64-bitIntel i5 2.4 Ghz8GB DDR3Intel HD 3000
Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup
Marsmimar,

I previously read these and the proposed solution in the first thread did not work. I opened IE9 "View Downloads" manager and my downloaded file was listed there (tried a PDF and ICA-citrix file).. but when I right-click the file, I am NOT given the option "Always ask before opening this type of file" ??

After right clicking, the options I am presented with are:
Delete File
Copy download link
Go to download webpage
Open containing folder
Report that this file is unsafe
Rerun security check on this file
 

My Computer My Computer

At a glance

Windows 7 Professional, 64-bit
OS
Windows 7 Professional, 64-bit
Anyone have any ideas? Should not be so difficult to automatically run designated file types like PDFs
 

My Computer My Computer

At a glance

Windows 7 Professional, 64-bit
OS
Windows 7 Professional, 64-bit
Any update or new ideas for this?

Please excuse the thread resurrection, but this issue appears to remain unanswered, and not just here at SevenForums. Anyone anything to add or suggest please?

I'm currently required to use IE on a site that's under development. At some point the site will be tested for other browsers, but for now, we've more pressing objectives.
 

My Computer My Computer

At a glance

Win7Pro & XPpro
Computer Manufacturer/Model Number
Mostly in-house builds
OS
Win7Pro & XPpro
There is a very good reason why this is difficult to do. Automatically downloading and or running files from the internet would be a major security disaster...It just is not smart.
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Thanks for your feedback logicearth. The security issue is a very important point to raise and I should have addressed it.

I my instance, I'm only using IE for this test/development site. It's a fully trusted site, including it's downloadable content. Only I would be trying this risky policy, as I don't want to spend time considering tying down staff's browser usage any more than we currently do.

So, you say it's difficult to do, which implies you believe it's not impossible. Any ideas and suggestions on doing so would be appreciated. To be utilised at one's own security risk, of course.
 

My Computer My Computer

At a glance

Win7Pro & XPpro
Computer Manufacturer/Model Number
Mostly in-house builds
OS
Win7Pro & XPpro
Here is an answer that I posted in another forum on this topic:

I think I have your anwser. I had the same problem with opening PDF files via IE9. Here is what worked for me...
http://social.technet.microsoft.com/Forums/lv/ieitprocurrentver/thread/57402307-1cbd-49db-aabd-65c2fea19ed9

Basically, you go to the registry key...

HKCU\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}

...(create this key if it doesn't exist) and add a zero-byte REG_DWORD value under it named appropriately for the file type you want to open. Like this...

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}]
"AcroPDF.PDF.1"=dword:00000000

The tricky part is determining the proper name to give to this registry value. You need to look at the key names under HKCR and maybe try different ones associated with the file type you want to open. But once you get it, it works. In the case of PDF files (with Adobe Reader) it's AcroPDF.PDF.1, for example.

I plan to distribute this reg value via group policy to all my users who are complaining about being prompted to open/save PDF files from our accounting web site.

Good luck!
 

My Computer My Computer

At a glance

Windows 7 Enterprise x64
OS
Windows 7 Enterprise x64
Thanks @GregPick. Very interesting.

I've had a go with a couple of file types, without success. I bet getting the program ID right will be the issue.

I'll post back with info if I crack it.
 

My Computer My Computer

At a glance

Win7Pro & XPpro
Computer Manufacturer/Model Number
Mostly in-house builds
OS
Win7Pro & XPpro
Resolution to PDF opening with word

If you right click on the pdf file in properties there is a box that says "OPENS WITH". Click on it and change the default to Adobe Reader. This will apply to all the pdf files on your system.

Hope this helps,
Denny
 

My Computer My Computer

At a glance

Win 7 Pro 64 bit SP1Intel i7 3930KAsus p9x79 ProNvidia Quadro 2000
Computer Manufacturer/Model Number
Asus P9X79 Pro Mobo, 32 gig Gskill Ram, Intel i73930K Processor, Quadro 2000 graphics card
OS
Win 7 Pro 64 bit SP1
CPU
Intel i7 3930K
Motherboard
Asus P9X79 Pro
Memory
Asus p9x79 Pro
Graphics Card(s)
Nvidia Quadro 2000
Sound Card
Realtec Onboard
Monitor(s) Displays
23 inch Samsung
Hard Drives
Seagate 1.5TB
Seagate 1.5TB
Seagate 750 Gig
Seagate 500 Gig All drives are SATA
PSU
Corsair Gold 850AX
Case
Coolermaster Mid Tower
Cooling
Noctua nh-d14
Keyboard
Logitech MX5500
Mouse
Logitech Revolution 5000 BT
Other values:

For MSOffice 2003

Excel.Sheet.8
PowerPoint.Show.8
Word.Document.8

For MSOffice 2007

Excel.Sheet.12
PowerPoint.Show.12
Word.Document.12
 

My Computer My Computer

At a glance

win 7 64 bit
Computer type
PC/Desktop
OS
win 7 64 bit
The below powershell script should help you to find the class guid & program id for a given exe filename:
Code:
$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 Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core 2 Duo T9600 @ 2.80GHz4GB
Computer type
Laptop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Ultimate x64
CPU
Intel Core 2 Duo T9600 @ 2.80GHz
Memory
4GB
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...

Code:
HKEY_CLASSES_ROOT\.pls
My "Default" entry is "Winamp.PlayList". And that's what you use, e.g...

Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}]
"Winamp.PlayList"=dword:00000000
Simple.

-fm
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Back
Top