Solved

Rights needed to run VBS script at logon.

Posted on 2011-02-21
4
358 Views
Last Modified: 2012-05-11
Hello,
Am using a VBS script at logon to add computers to a security group in AD.  I have one group, teachers, which are local admins on the workstations and the scripts are workign correctly.  I have another group, students, whose accounts are locked down pretty tightly by GPO that is receiving a VBS script error permission denie when they login.  I have tried moving the script to a machine start up script and received reports that everyone was now receiving the error.  Can anyone tell me where to look to allow the script to run for students?  Runnign Windows Server 2008 R2.  Thanks.

0
Comment
Question by:astring
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:thomasd04
ID: 34944128
Hi astring. If I understand correctly you are trying to execute commands that require elevated privileges not permitted to the logon script.  Perhaps you can use one of these tools to execute these types of tasks:
    * SU.EXE in the Windows 2000 Resource Kit
    * PsExec (http://technet.microsoft.com/en-us/sysinternals/bb897553)
    * TqcRunas (http://www.quimeras.com/default.asp?control=1)
    * CPAU (http://www.joeware.net/freetools/tools/cpau/index.htm)
    * RUNASSPC (http://robotronic.de/runasspcEn.html)
0
 

Accepted Solution

by:
astring earned 0 total points
ID: 34945879
Hello Thomas,
What I was trying to do was to run a VBS logon script that would add computers to a security group.  I have found the answer...the user needs the "write" permission to the group to which the coputer will be added.   Once I did this, the error went away and the m achines are showing up in the correct group.  Thanks for the response though.
0
 
LVL 3

Expert Comment

by:thomasd04
ID: 34945890
Sure. Glad you figured it out!
0
 

Author Closing Comment

by:astring
ID: 34986540
Researched and found soulution on my own.
0

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

743 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

10 Experts available now in Live!

Get 1:1 Help Now