Solved

scripting a run as command in win2k

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

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

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
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…

707 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