Use Altiris DS Remotely to Create a User with Admin Rights
Created: 10 Mar 2011 • Updated: 10 Mar 2011 | 2 comments
After trying to get access to a computer that we no longer had admin rights to, I decided to try using Altiris DS to create a user with admin rights (Altiris client was still installed).
Well it worked. Here is the code that I ran as a script:
net user username password /add
net localgroup administrators username /add
I have attached a job file that you can import. You need to rename it .bin instead of .txt
Sometimes it doesn't work (maybe not Windows 7 - but it is worth a shot).