Solved

Rights needed to run VBS script at logon.

Posted on 2011-02-21
4
360 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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

776 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