set default browser to IE in sbs2011

Posted on 2014-08-01
Last Modified: 2014-08-01
Where is the setting to set IE as the  default browser in sbs 2011
Question by:beavis6937

    Accepted Solution

    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


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

    MsgBox "Done Parsing Registry File"

    Author Closing Comment

    this worked

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    A lot of problems and solutions are available on the net for the error message "Source server does not meet minimum requirements for migration" while performing a migration from Small Business Server 2003 to SBS 2008. This error pops up just before …
    Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    730 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

    18 Experts available now in Live!

    Get 1:1 Help Now