PDA

View Full Version : Admin rights


mattyjenks
06-28-2001, 01:55 PM
Is there a way that at logon you can add the current user in to the local admin group via a script or similar

RWSchlatter
06-30-2001, 12:01 AM
did you already try<pre>D:\&gt;net group /?
The syntax of this command is:


NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname username [...] {/ADD | /DELETE} [/DOMAIN]</pre>

______________
Regards - Richard