Opening the "Create New account" Window from CMD?


  1. Posts : 3
    Windows 7 Home Premium x64
       #1

    Opening the "Create New account" Window from CMD?


    I'm Trying to make a batch file that will open the create new account window. what i have listed below.
    Control Panel\User Accounts and Family Safety\User Accounts\Manage Accounts\Create New Account

    however the closest thing i can find is control /name Microsoft.UserAccounts which opens the
    Control Panel\User Accounts and Family Safety\User Accounts window

    My reason for making this is so I can speed up my work. (I have a 1000 or so computers that I have to create 5-10 Users on all with different user id's all with administrator rights.) In stead of having to open that windows on every computer I have to put users on.

    Also I do realize you can create users by using the following in CMD.
    net user /add useraccountname mypassword
    net localgroup administrators useraccountname /add
    net share concfg*C:\\/grant:useraccountname,full
    net user useraccountname *

    So really I Just want a quicker way of doing this. Any reccomdations would be awesome
    Thanks, Ryan


      My Computer


  2. Posts : 71,978
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Ryan, and welcome to Seven Forums.

    You might consider creating a .bat file with the commands for each user you want created in it. This way you would only need to copy and run the .bat file on each computer to create all user accounts at once on the computer.

    I hope this helps some, :)
    Shawn
      My Computer


  3. Posts : 3
    Windows 7 Home Premium x64
    Thread Starter
       #3

    Thanks Shawn.
    I was thinking about that however no one user is the same. so I would have to modify every batch file I created for the specific user. I don't know if its possible to automate part of a command ie. net user /add then make it so i can just put in the user id and password then have it follow by the next command?
    Ryan,
      My Computer


  4. Posts : 71,978
    64-bit Windows 11 Pro for Workstations
       #4

    It would probably be just as easy to modify the .bat or sets of .bat files as needed than it would be to type the info each time in a custom written .bat or .vbs file entry box per user.
      My Computer


  5. Posts : 3
    Windows 7 Home Premium x64
    Thread Starter
       #5

    I think I might just have to do that. Not unless I come across anything else faster, But in the mean time that is good enough. Thanks for the help Shawn. :)
      My Computer


  6. Posts : 71,978
    64-bit Windows 11 Pro for Workstations
       #6

    You're welcome. Hopefully someone may know of a faster and better way.
      My Computer


  7. Posts : 186
    Windows 7 Ultimate x64
       #7

    Hi,

    Script Center Home Page

    Either a VB script or a Powershell script would be the best way.

    Loki
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:56.
Find Us