add users windows 7 command line
My requirement is to automate creation of users thereby passing username and password in command line in Windows 7.
After searching a lot, I finally got a solution.
Note:
Reference:
http://www.windows-commandline.com/add-user-from-command-line/
My requirement is to automate creation of users thereby passing username and password in command line in Windows 7.
After searching a lot, I finally got a solution.
Note:
- The following commands must be run as Administrator account.
- To run a command as Administrator account, refer this link. http://blogforopensource.blogspot.in/2013/09/wrapper-openscmanager-failed-access-is.html
net user username password /ADD
Reference:
http://www.windows-commandline.com/add-user-from-command-line/
No comments:
Post a Comment