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
Solved

scripting a run as command in win2k

Posted on 2004-09-14
4
219 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

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 …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

838 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