Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Registry Key Change... Help!

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,2242
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Registry Key Change... Help!
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Registry Key Change... Help! - 3/4/2005 12:48:25 AM   
  kmarty009

 

Posts: 64
Score: 0
Joined: 5/21/2004
From: USA
Status: offline
All,

I need a .vbs script that runs when users login on to a TS Server. I want to write to the registry so IE opens the home page to a particular intranet site. I have wrote a script but I get some errors. Here is the path. Can anyone help me get this done. Thanks so much.

HKCU\Software\Microsoft\Internet Explorer\Main

Key Info (REG_SZ)
Value Name = Start Page
Value Data = gthome.com

_____________________________

KirkM.
 
 
Post #: 1
 
 Re: Registry Key Change... Help! - 3/4/2005 1:10:52 AM   
  esnmb

 

Posts: 448
Score: 0
Joined: 1/11/2005
From: USA
Status: offline
You don't want to use a Group Policy?

(in reply to kmarty009)
 
 
Post #: 2
 
 Re: Registry Key Change... Help! - 3/4/2005 1:18:59 AM   
  esnmb

 

Posts: 448
Score: 0
Joined: 1/11/2005
From: USA
Status: offline
Set objShell = Wscript.CreateObject("Wscript.Shell")

objShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page", "gthome.com", "REG_SZ"

(in reply to kmarty009)
 
 
Post #: 3
 
 Re: Registry Key Change... Help! - 3/4/2005 11:17:57 AM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
If you have more problems with your scripts, I suggest you post the code so others can take a look at it too.

(in reply to kmarty009)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Registry Key Change... Help! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts