Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I set the default Browser on a Server 2008 Terminal Server

Posted on 2009-02-23
14
Medium Priority
?
5,997 Views
Last Modified: 2013-11-21
Hi All,  
I have a Server 2008 SP1 deployed as a terminal server on a 2003 domain.
My problem is that, until set on an individual basis, no user has a default web browser.
I run proprietary software that required a browser for the online help and until the default web browser is set in IE, the on-line help doesn't work.
If I go into IE Tools-options-programs and set IE as the default browser all is fine for that user.
I need to find a way to set the default browser for all users to use IE7.  I am not interested in third party browsers at this stage.
I thought Group Policies would be the answer here but I've yet to find the right setting.
I've been through the registry but can't locate the correct setting either.
Any help here would be appreciated,
Thanks
0
Comment
Question by:NeilA
  • 8
  • 6
14 Comments
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 23718307
save the below as IE_DEFAULT_BROWSER.reg

put it on a share

put this line in a .bat logon script

regedit /s \\server\share\IE_DEFAULT_BROWSER.reg
 

Windows Registry Editor Version 5.00
 
;Ramesh Srinivasan - http://windowsxp.mvps.org
;Sets IE as default (For use with Windows XP systems)
;Use this only if IE is installed in its default location
;c:\Program Files\Internet Explorer
;Revised April 1, 2005 - Changed IExplore.exe path to LFN format
 
[HKEY_CLASSES_ROOT\ftp]
@="URL:File Transfer Protocol"
"EditFlags"=dword:00000002
"ShellFolder"="{63da6ec0-2e98-11cf-8d82-444553540000}"
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"
"URL Protocol"=""
 
[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
  6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
 
[HKEY_CLASSES_ROOT\ftp\Extensions]
".IVF"="{C69E8F40-D5C8-11D0-A520-145405C10000}"
 
[HKEY_CLASSES_ROOT\ftp\shell]
@="open"
 
[HKEY_CLASSES_ROOT\ftp\shell\open]
 
[HKEY_CLASSES_ROOT\ftp\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %1"
 
[HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\ifExec]
@="*"
 
[HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
 
[HKEY_CLASSES_ROOT\htmlfile]
@="HTML Document"
"EditFlags"=dword:00010000
"BrowserFlags"=dword:00000008
 
[HKEY_CLASSES_ROOT\htmlfile\BrowseInPlace]
@=""
 
[HKEY_CLASSES_ROOT\htmlfile\CLSID]
@="{25336920-03F9-11CF-8FD0-00AA00686F13}"
 
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe,1"
 
[HKEY_CLASSES_ROOT\htmlfile\ScriptHostEncode]
@="{0CF774D0-F077-11D1-B1BC-00C04F86C324}"
 
[HKEY_CLASSES_ROOT\htmlfile\shell]
@="opennew"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\open]
@="Open in S&ame Window"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec]
@="\"file://%1\",,-1,,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew]
@="&Open"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %1"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\IfExec]
@="*"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Topic]
@="WWW_OpenURLNewWindow"
 
[HKEY_CLASSES_ROOT\htmlfile\shell\printto]
 
[HKEY_CLASSES_ROOT\htmlfile\shell\printto\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
  00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
  25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,\
  00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,\
  6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,20,00,22,\
  00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,\
  22,00,00,00
 
[HKEY_CLASSES_ROOT\HTTP]
@="URL:HyperText Transfer Protocol"
"EditFlags"=dword:00000002
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"
"URL Protocol"=""
 
[HKEY_CLASSES_ROOT\HTTP\AnimExtensions]
"."="dxmasf.dll,150"
".asf"="dxmasf.dll,150"
".asp"="dxmasf.dll,150"
".asx"="dxmasf.dll,150"
".nsc"="dxmasf.dll,150"
".wax"="dxmasf.dll,150"
".wm"="dxmasf.dll,150"
".wma"="dxmasf.dll,150"
".wmv"="dxmasf.dll,150"
".wmx"="dxmasf.dll,150"
".wvx"="dxmasf.dll,150"
 
[HKEY_CLASSES_ROOT\HTTP\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
  6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
 
[HKEY_CLASSES_ROOT\HTTP\Extensions]
".ASF"="{6B6D0800-9ADA-11d0-A520-00A0D10129C0}"
".ASX"="{4B428940-263C-11d1-A520-000000000000}"
".ASP"="{4B428940-263C-11d1-A520-000000000000}"
".WAX"="{4B428940-263C-11d1-A520-000000000000}"
".WM"="{6B6D0800-9ADA-11d0-A520-00A0D10129C0}"
".WMA"="{6B6D0800-9ADA-11d0-A520-00A0D10129C0}"
".NSC"="{4B428940-263C-11d1-A520-000000000000}"
".BECK"="{6B6D0800-9ADA-11d0-A520-00A0D10129C0}"
".WVX"="{4B428940-263C-11d1-A520-000000000000}"
".WMV"="{6B6D0800-9ADA-11d0-A520-00A0D10129C0}"
".WMX"="{4B428940-263C-11d1-A520-000000000000}"
".IVF"="{C69E8F40-D5C8-11D0-A520-145405C10000}"
 
[HKEY_CLASSES_ROOT\HTTP\shell]
@="open"
 
[HKEY_CLASSES_ROOT\HTTP\shell\open]
 
[HKEY_CLASSES_ROOT\HTTP\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
 
[HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
 
[HKEY_CLASSES_ROOT\https]
@="URL:HyperText Transfer Protocol with Privacy"
"EditFlags"=dword:00000002
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"
"BrowserFlags"=dword:00000008
"URL Protocol"=""
 
[HKEY_CLASSES_ROOT\https\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
  6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
 
[HKEY_CLASSES_ROOT\https\shell]
@="open"
 
[HKEY_CLASSES_ROOT\https\shell\open]
 
[HKEY_CLASSES_ROOT\https\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
 
[HKEY_CLASSES_ROOT\https\shell\open\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
 
[HKEY_CLASSES_ROOT\InternetShortcut]
"EditFlags"=dword:00000002
@="Internet Shortcut"
"IsShortcut"=""
"NeverShowExt"=""
 
[HKEY_CLASSES_ROOT\InternetShortcut\CLSID]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
 
[HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
  6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell]
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell\open]
"CLSID"="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
"LegacyDisable"=""
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command]
@="rundll32.exe shdocvw.dll,OpenURL %l"
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell\print]
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
  00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
  25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,73,\
  00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,\
  6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,00,00
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell\printto]
 
[HKEY_CLASSES_ROOT\InternetShortcut\shell\printto\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
  00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
  25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,73,\
  00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,\
  6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,20,00,22,\
  00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,\
  22,00,00,00
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex]
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\ContextMenuHandlers]
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\ContextMenuHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@=""
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\IconHandler]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\PropertyHandler]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\PropertySheetHandlers]
 
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\PropertySheetHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@=""
 
[HKEY_CLASSES_ROOT\CLSID\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@="Internet Shortcut"
 
[HKEY_CLASSES_ROOT\CLSID\{FBF23B40-E3F0-101B-8488-00AA003E56F8}\InProcServer32]
@="shdocvw.dll"
"ThreadingModel"="Apartment"
"LoadWithoutCOM"=""
 
[HKEY_CLASSES_ROOT\CLSID\{FBF23B40-E3F0-101B-8488-00AA003E56F8}\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
 
[HKEY_CLASSES_ROOT\CLSID\{FBF23B40-E3F0-101B-8488-00AA003E56F8}\ProgID]
@="InternetShortcut"
 
[HKEY_CLASSES_ROOT\CLSID\{FBF23B40-E3F0-101B-8488-00AA003E56F8}\shellex]
 
[HKEY_CLASSES_ROOT\CLSID\{FBF23B40-E3F0-101B-8488-00AA003E56F8}\shellex\MayChangeDefaultMenu]
@=""
 
[HKEY_CLASSES_ROOT\gopher]
@="URL:Gopher Protocol"
"EditFlags"=dword:00000002
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"
"URL Protocol"=""
 
[HKEY_CLASSES_ROOT\gopher\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
  6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
 
[HKEY_CLASSES_ROOT\gopher\shell]
 
[HKEY_CLASSES_ROOT\gopher\shell\open]
 
[HKEY_CLASSES_ROOT\gopher\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
 
[HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
 
[HKEY_CLASSES_ROOT\mhtmlfile]
@="MHTML Document"
 
[HKEY_CLASSES_ROOT\mhtmlfile\BrowseInPlace]
@=""
 
[HKEY_CLASSES_ROOT\mhtmlfile\CLSID]
@="{3050F3D9-98B5-11CF-BB82-00AA00BDCE0B}"
 
[HKEY_CLASSES_ROOT\mhtmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe,22"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell]
@="opennew"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open]
@="Open in S&ame Window"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\ddeexec]
@="\"file://%1\",,-1,,,,,"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew]
@="&Open"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %1"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec]
@="\"file://%1\",,-1,,,,,"
"NoActivateHandler"=""
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec\Application]
@="IExplore"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec\IfExec]
@="*"
 
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec\Topic]
@="WWW_OpenURLNewWindow"
 
[HKEY_CLASSES_ROOT\.htm]
@="htmlfile"
 
[HKEY_CLASSES_ROOT\.html]
@="htmlfile"
 
[HKEY_CLASSES_ROOT\.mht]
@="mhtmlfile"
 
[HKEY_CLASSES_ROOT\.mhtml]
@="mhtmlfile"

Open in new window

0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 23718314
0
 

Author Comment

by:NeilA
ID: 23718540
Thanks for the prompt reply,  Unfortunately this didn't work as there was an error importing the reg file (or at least part of it) and  there was still no default browser set after logging on and off again.

I'm sure there must be a way of achieving with a system wide setting rather than at login time but we'll see.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 47

Expert Comment

by:Donald Stewart
ID: 23718583
What is the error you are getting? lets try to remedy that.
I have done some pretty extensive research on this one just recently and this was the only method(using the registry). Firefox has an adm that works for setting firefox as the default(but not vice versa)
0
 

Author Comment

by:NeilA
ID: 23718605
The error message is "Cannot import FixIE.reg Not all data was successfully written to the registry.  Some keys are open by the system or other processes"
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 23718612
This error message can occur if the .reg file is located in a folder whose name contains spaces.
0
 

Author Comment

by:NeilA
ID: 23725167
Good point, there was a space in the path, I moved it to another location without a space but still had the same error message and result.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 23725512
0
 

Author Comment

by:NeilA
ID: 23725755
Thanks again for your suggestions dstewartjr, but no joy in the links, I thought that removing IE7 and reinstalling might work, but I don't think this is possible in Server 2008.  I could install IE8 RC1 and see how it goes, but this is a production machine and I am a bit hesitant to do so.
I have found another issue on this server which may be an indicator towards the problem.  Hyperlinks in office apps fail with a message 'This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator''  so far it appears that the problems are related and all my investigations point to a corrupt registry entry, but then nothing specific for Server 2008.  I think I'll have to raise a case with Microsoft.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 23725793
ok I came across that in my searches, I'll get back to you after I relocate it.
0
 
LVL 47

Assisted Solution

by:Donald Stewart
Donald Stewart earned 1000 total points
ID: 23725898
0
 

Author Comment

by:NeilA
ID: 23726229
Yes, tried that as well with no joy.
0
 

Accepted Solution

by:
NeilA earned 0 total points
ID: 23741457
It seems that the only way to achieve this is to edit the existing "Dafault User" profile.  
Here is Microsofts reply.

There are 2 things that you could possibly do:-
a. Create a mandatory profile. More information is available from http://technet.microsoft.com/en-us/library/cc786301.aspx 

b. Create a new default user profile and delete the existing user profiles afterwards. You could do this by creating a user profile, get it working then log out of that user and copy their ntuser.dat over to the default users profile. That way, when new profiles are created they will be based off the good registry

I opted for "B" and achieved what I needed.

Again thanks for all the assistance I received.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

810 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