GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

Remotely change IE8 Homepage

Home Forums Scripting Windows Script Host Remotely change IE8 Homepage

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    GTTDi
    Member
    #160839

    Hi everyone, i was wondering if it possible to remotely change the IE8 homepage of a Windows 7 PC for all users who would login to it.

    What i got so far is

    Quote:
    Dim objShell, RegLocate
    ‘ Create Variable to store inputted PC name
    Dim PcNameInput

    PcNameInput = InputBox(“What is the full PC name that you wish to change the IE Homepage of”)

    On Error Resume Next

    ‘This is the registry path to home page of internet explorer 8 running Windows 7
    RegLocate = ”HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainStart Page”
    ‘ Write to reg key
    objShell.RegWrite RegLocate,”websitename”,”REG_SZ”
    ‘Display this window when script is run
    WScript.Echo ”Done, the homepage is now set to websitename”
    Quit the script
    WScript.Quit ’

    I’m not sure how i get to connect to the reg of the inputted PC name now.

    Any help would be appreciated.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.