Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript in an Active Directory Environment

Status
Not open for further replies.

finatic

Technical User
Jun 19, 2003
36
US
I have a VB script desktop icon that changes the screen resolution in an Active directory domain. I cannot get the script to run. Do you have to allow the script to run? If so I have already done this and it still does not work. Any suggestions? [ponder]
 
Have you tried applying the script through a GPO as a logon script (computer configuration)? If that doesnt work you can allways run it under the Administrative templates, system, logon (again computer config). There is a settings says run these programs at user login. Make it point to your script \\computer\share\script.vbs. You might need to add your computers to a global security group with read and apply permissions on the GPO for it to run.
 
Thank you for the info. I guess I wasnt clear and im sorry. I have 2 desktop icons that allow the users to switch from 800x600 to 1024x768 and vice versa. The icons on the desktop are OK. When I click on them as administrator they do what they are supposed to. When I log on as a user that has a policy applied to him it will not run. Basically we restric everything except office and a telnet app. I have allowed those scripts to run in the User settings under "Run allowed applications". Have you ever tried to run a VBscript this way?
[ponder]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top