Member Panel


Sponsors and Ads

Live Tag Cloud

PC Forum PC Help Forum » Operating Systems » Other OS » [Discussion] Script Files - GPO's

Other OS - [Discussion] Script Files - GPO's posted in the Operating Systems forums; Firstly I thought this could be a brilliant topic to start, especially for system administrators. So if you have any great startup scripts, why don't you post them and explain ...

JOIN US NOW to remove these Ads

Post New Thread  Reply
  #1  
Old 07-28-2005
Zimbo's Avatar
Friend of PCHF
 
Join Date: Sep 2004
Location: Right here !
Posts: 2,150
Zimbo - See this Members User comments on their Profile page
Default [Discussion] Script Files - GPO's

Firstly I thought this could be a brilliant topic to start, especially for system administrators.

So if you have any great startup scripts, why don't you post them and explain how they work. You can always rename certain machines to protect your privacy.

The other reason for starting this post is I am trying to create a script but am not having much luck.

Basically I am wanting to run a script that will change the Default Homepage (URL) to a certain site on all the machines in our network, this script will need to be implemented when windows starts.

I have found this script on the net but I am unable to get it to work, basically nothing changes. It is a VBscript file but I don't mind using any kind of script file as long as it works.

Dim objShell
Set objShell = CreateObject("Wscript.Shell")
objShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page", "REG_SZ","http://www.pchelpforum.com"
Set objShell = Nothing


  #2  
Old 08-17-2005
rdstar's Avatar
Silver Member
My PC
 
Join Date: Aug 2005
Location: Belgium
Posts: 135
rdstar - See this Members User comments on their Profile page
Default Re: Script Files - GPO's

When you try to run this script,
Before th user logs on or via a script after the user logged on.

I see that the rekey modifies the HKCU, this will only work after the user is logged in (Or via login script) AND the user has the rights to change this value in the registry.

Greetzzz


__________________
There is no right or wrong,
only fun and boring.
  #3  
Old 08-17-2005
Zimbo's Avatar
Friend of PCHF
 
Join Date: Sep 2004
Location: Right here !
Posts: 2,150
Zimbo - See this Members User comments on their Profile page
Default Re: Script Files - GPO's

Thanks for that, I figured out a much easier way to do things and that was through Active Directory.

Amazing some of the things you can change ! :-P



Reply
New! Norton Internet Security 2008 – Download Now Click Here

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT +1. The time now is 09:13 PM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
All Graphics & Content Copyright © 2004-2008 - PC Help Forum.com


Back to Top