Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Opening the "Create New account" Window from CMD?

22 Jul 2013   #1

Windows 7 Home Premium x64
 
 
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 System SpecsSystem Spec
.

22 Jul 2013   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
22 Jul 2013   #3

Windows 7 Home Premium x64
 
 

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 System SpecsSystem Spec
.


22 Jul 2013   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
22 Jul 2013   #5

Windows 7 Home Premium x64
 
 

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 System SpecsSystem Spec
22 Jul 2013   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome. Hopefully someone may know of a faster and better way.
My System SpecsSystem Spec
23 Jul 2013   #7

Windows 7 Ultimate x64
 
 

Hi,

Script Center Home Page

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

Loki
My System SpecsSystem Spec
Reply

 Opening the "Create New account" Window from CMD?





Thread Tools




Our Sites

Site Links

About Us

Find 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 09:57 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33