Solved

setup IE as default using GPO

Posted on 2016-09-09
4
89 Views
Last Modified: 2016-09-14
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
Comment
Question by:Thomas N
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
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"

Open in new window


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

Then you will get the exported file

Mahesh.
0
 

Author Comment

by:Thomas N
Comment Utility
Im using Windows 7, is this still the same command?
0
 
LVL 35

Accepted Solution

by:
Mahesh earned 500 total points
Comment Utility
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

by:Brad99
Comment Utility
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
[HKEY_CURRENT_USER\Software\Clients\StartMenuInternet]
@=”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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now