Encinitas
asked on
Internet Explorer Prompts User to Open/Save Office File / need to clear "Confirm open after download" check box via script
We are delpoying an Intranet and when we click a file to download in IE 7 it says
"Some filles can harm your computer. If the infomation looks suspicious or you do not fully trust the source, do not open file"
I need it to just download the file and not promt the user. This is only happening in IE 7. IE 8 seems fine. I have found some info on it...
http://bytes.com/topic/windows/answers/595210-file-download-how-make-windows-stop-asking
http://support.microsoft.com/kb/296717
I know how to modify the setting on the Tools menu, click Folder Options, and then click the File Types tab to view all file types, select doc for example, advanced, then clear the Confirm open after download and click OK.
Click OK to close the Folder Options dialog box.
that works fine I just need to send this out to 300 users on my network. In a VB script of whatever works. The users do not have admin rights.
Thanks!
"Some filles can harm your computer. If the infomation looks suspicious or you do not fully trust the source, do not open file"
I need it to just download the file and not promt the user. This is only happening in IE 7. IE 8 seems fine. I have found some info on it...
http://bytes.com/topic/windows/answers/595210-file-download-how-make-windows-stop-asking
http://support.microsoft.com/kb/296717
I know how to modify the setting on the Tools menu, click Folder Options, and then click the File Types tab to view all file types, select doc for example, advanced, then clear the Confirm open after download and click OK.
Click OK to close the Folder Options dialog box.
that works fine I just need to send this out to 300 users on my network. In a VB script of whatever works. The users do not have admin rights.
Thanks!
Assuming your client computers are domain members, you should be able to overcome this by adding the intranet server as a trusted site via group policy.
ASKER
Did that. Its in there. Only fix is manuel as noted above. Need script to apply to 300 pcs.
Does it have to be vbs?
Also, for each file extension, do this for me.....
start>run>cmd
assoc .docx
assoc .file extension
YThis will make sure we cover each file extension you need it done for....
Also, for each file extension, do this for me.....
start>run>cmd
assoc .docx
assoc .file extension
YThis will make sure we cover each file extension you need it done for....
ASKER
.docx=Word.Document.12
.doc=Word.Document.8
.xls=Excel.Sheet.8
.xlsx=Excel.Sheet.12
.ppt=PowerPoint.Show.8
.ppt=PowerPoint.Show.12
file=URL:File Protocol
.doc=Word.Document.8
.xls=Excel.Sheet.8
.xlsx=Excel.Sheet.12
.ppt=PowerPoint.Show.8
.ppt=PowerPoint.Show.12
file=URL:File Protocol
ASKER
it does not have to be vbs, just looking for the best solution.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
How do I run it?
Sorry, start>run>cmd
Paste in the DOS box. All at once, and hit enter.....
Paste in the DOS box. All at once, and hit enter.....
ASKER
Awsome that worked. How would I deploy that to 300 users that do not have local admin.
ASKER
If I could add it to a vb script I have to deploy via SMS that would work or whatevr is easiest.
Or add it to the Machine Startup Script... Runs under the SYSTEM context....
ASKER
Are you saying use group policy to run the startup script?
Would you happen to know how to add the below that you gave me to a vb script?
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \Word.Docu ment.12" /v "EditFlags" /t reg_dword /d 0x00010000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \Word.Docu ment.8" /v "EditFlags" /t reg_dword /d 0x00010000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \Excel.She et.12" /v "EditFlags" /t reg_dword /d 0x00010000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \Excel.She et.8" /v "EditFlags" /t reg_dword /d 0x00010000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \PowerPoin t.Show.12" /v "EditFlags" /t reg_dword /d 0x00010000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \PowerPoin t.Show.8" /v "EditFlags" /t reg_dword /d 0x00010000 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWA RE\Classes \.url" /v "EditFlags" /t reg_dword /d 0x00010000 /f
Below is a script I have for another issue andI would like to add what you gave me to it.
Set objShell = CreateObject("WScript.Shel l")
' note this value is 9
objShell.RegWrite "HKLM\SOFTWARE\Classes\Exc el.Sheet.5 \BrowserFl ags", 9, "REG_DWORD"
' other values are 8, find and add the ones you want, some here as examples
objShell.RegWrite "HKLM\SOFTWARE\Classes\Exc el.Sheet.8 \BrowserFl ags", 8, "REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Classes\Wor d.Document .6\Browser Flags", 8, "REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Classes\Wor d.Document .8\Browser Flags", 8, "REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Classes\Wor d.RTF.8\Br owserFlags ", 8, "REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Classes\MSP roject.Pro ject.8\Bro wserFlags" , 8, "REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Classes\Pow erPoint.Sh ow.8\Brows erFlags", 8, "REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Classes\Pow erPoint.Sl ideShow.8\ BrowserFla gs", 8, "REG_DWORD"
thx
Would you happen to know how to add the below that you gave me to a vb script?
reg add "HKEY_LOCAL_MACHINE\SOFTWA
reg add "HKEY_LOCAL_MACHINE\SOFTWA
reg add "HKEY_LOCAL_MACHINE\SOFTWA
reg add "HKEY_LOCAL_MACHINE\SOFTWA
reg add "HKEY_LOCAL_MACHINE\SOFTWA
reg add "HKEY_LOCAL_MACHINE\SOFTWA
reg add "HKEY_LOCAL_MACHINE\SOFTWA
Below is a script I have for another issue andI would like to add what you gave me to it.
Set objShell = CreateObject("WScript.Shel
' note this value is 9
objShell.RegWrite "HKLM\SOFTWARE\Classes\Exc
' other values are 8, find and add the ones you want, some here as examples
objShell.RegWrite "HKLM\SOFTWARE\Classes\Exc
objShell.RegWrite "HKLM\SOFTWARE\Classes\Wor
objShell.RegWrite "HKLM\SOFTWARE\Classes\Wor
objShell.RegWrite "HKLM\SOFTWARE\Classes\Wor
objShell.RegWrite "HKLM\SOFTWARE\Classes\MSP
objShell.RegWrite "HKLM\SOFTWARE\Classes\Pow
objShell.RegWrite "HKLM\SOFTWARE\Classes\Pow
thx
Im sorry, I dont code VBS......