Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Try this:
  2.  
  3. var arguments = "/c net localgroup " + group + " " + userCode + " /add";
  4.  
  5. Basically, just add /c
  6.  
  7. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cmd.mspx?mfr=true
  8.  
  9. You can test this whilst logged in by setting interactive session to true, logging in with the creds used in the work flow.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement