kahudson
asked on
scripting a run as command in win2k
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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 :))