Solved

scripting a run as command in win2k

Posted on 2004-09-14
4
189 Views
Last Modified: 2010-03-18
I am trying to run the following script as a logon script in a win2k/winxp envirnoment.  My goal is to put the global group ssadm390 into the local administrators group on the box.

my command is "net localgroup administrators ssadm390 /add"  I keep getting a error 5 access is denied when a regular domain user logs on.  how can I run this command as a domain admin or a local admin?

thanks in advance.

KH
0
Comment
Question by:kahudson
  • 2
4 Comments
 
LVL 20

Expert Comment

by:Debsyl99
ID: 12054867
Hi
Try adding it as a start-up script on the machine policy attached to the workstation and it'll work as it doesn't need to run under the local users account,

Deb :))
0
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 500 total points
ID: 12093178
And there's this method through group policy:
How to Configure a Global Group to Be a Member of the Administrators Group on all Workstations
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q320065
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Resolve DNS query failed errors for Exchange
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

17 Experts available now in Live!

Get 1:1 Help Now