?
Solved

scripting a run as command in win2k

Posted on 2004-09-14
4
Medium Priority
?
249 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
[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
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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

649 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