Solved

# setup IE as default using GPO

Posted on 2016-09-09
122 Views
Im trying to set IE 11 as default using GPO and following the instructions below:

https://technet.microsoft.com/en-us/itpro/internet-explorer/ie11-deploy-guide/set-the-default-browser-using-group-policy

https://technet.microsoft.com/en-us/library/hh825038.aspx

When I try to export the appassoc.xml file it gives me error:  Error: 87

"The export-defaultappassociations option is unknown.
For more information, refer to the help by running DISM.exe /?. "

I attached the log file. Any ideas?
dism.log
0
Question by:Thomas N
• 2

LVL 35

Expert Comment

ID: 41792231
you need to logon to windows 8.1 machine / 2012 R2 machine with admin user and run below command from elevated command prompt (navigate to C:\windows\system32)

dism /online /Export-DefaultAppAssociations:"C:\Apps\Appassoc.xml"


Output Folder must be precreated
Also double quotes are mandatory for output

Then you will get the exported file

Mahesh.
0

Author Comment

ID: 41794267
Im using Windows 7, is this still the same command?
0

LVL 35

Accepted Solution

Mahesh earned 500 total points
ID: 41794285
that option is not available with dism that ships with win 7

You shoul use win 8.1 machine to generate xml and then use GPO to import it

It should apply to Win7 as well

Mahesh.
0

LVL 2

Expert Comment

ID: 41795630
Hi,
we also had the problem when using multiple browser in our env (50.000+) clients.

With GPO settings we tried a lot, but finally still the popup of IE "Would you make IE default" came up.

We manged finally to fix this by adding several regkey to the logon scripts (or via gpo prefs - reg)

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice]
“Progid”=”IE.HTTP”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice]
“Progid”=”IE.HTTPS”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ftp\UserChoice]
“Progid”=”IE.FTP”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice]
“Progid”=”IE.AssocFile.HTM
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice]
“Progid”=”IE.AssocFile.HTM
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mht\UserChoice]
“Progid”=”IE.AssocFile.MHT
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mhtml\UserChoice]
“Progid”=”IE.AssocFile.MHT
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.partial\UserChoice]
“Progid”=”IE.AssocFile.PARTIAL”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.svg\UserChoice]
“Progid”=”IE.AssocFile.SVG
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.url\UserChoice]
“Progid”=”IE.AssocFile.URL
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.website\UserChoice]
“Progid”=”IE.AssocFile.WEBSITE”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xht\UserChoice]
“Progid”=”IE.AssocFile.XHT
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xhtml\UserChoice]
“Progid”=”IE.AssocFile.XHT
@=”IEXPLORE.EXE”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\MIMEAssociations\text/html\UserChoice]
“Progid”=”IE.text/html”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\MIMEAssociations\message/rfc822\UserChoice]
“Progid”=”IE.message/rfc822″
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
A procedure for exporting installed hotfix details of remote computers using powershell
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…