Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

set default browser to IE in sbs2011

Posted on 2014-08-01
2
Medium Priority
?
242 Views
Last Modified: 2014-08-01
Where is the setting to set IE as the  default browser in sbs 2011
0
Comment
Question by:beavis6937
  • 2
2 Comments
 

Accepted Solution

by:
beavis6937 earned 0 total points
ID: 40235299
so far the only solution i have found is making a vbs script..




Option Explicit

Const FORREADING = 1
Const FORWRITING = 2
Const UNICODEFORMAT = -1

Dim strSourceFile, strDestinationFile
Dim objFSO, objSourceFile, objDestinationFile
Dim strCurrentLine, strCurrentKey, strPreviousKey

strSourceFile = "C:\Temp\FullWin7x64Registry.reg"
strDestinationFile = "C:\Temp\RegTestResults.reg"

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objSourceFile = objFSO.OpenTextFile(strSourceFile, FORREADING,,UNICODEFORMAT)
Set objDestinationFile = objFSO.OpenTextFile(strDestinationFile, FORWRITING,True,UNICODEFORMAT)
objDestinationFile.WriteLine "Windows Registry Editor Version 5.00"

Do Until objSourceFile.AtEndOfStream
    strCurrentLine = objSourceFile.ReadLine
    If Left(strCurrentLine,6) = "[HKEY_" Then
        strCurrentKey = strCurrentLine
    End If
    If InStr(strCurrentLine,"C:\\Program Files\\Internet Explorer\\iexplore.exe") Or InStr(strCurrentLine,"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe") Then
        If strCurrentKey <> strPreviousKey Then
            objDestinationFile.WriteLine vbCRLF & strCurrentKey
            strPreviousKey = strCurrentKey
        End If
        objDestinationFile.WriteLine strCurrentLine
    End If
Loop

objSourceFile.Close
objDestinationFile.Close

Set objFSO = Nothing
Set objSourceFile = Nothing
Set objDestinationFile = Nothing

MsgBox "Done Parsing Registry File"
0
 

Author Closing Comment

by:beavis6937
ID: 40235301
this worked
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

569 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