[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Rights needed to run VBS script at logon.

Posted on 2011-02-21
4
Medium Priority
?
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Here's a look at newsworthy articles and community happenings during the last month.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Suggested Courses

656 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