Solved

scripting a run as command in win2k

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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 article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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

11 Experts available now in Live!

Get 1:1 Help Now