Under all Windows OS you can use the command prompt to quickly create user accounts via command line!
In certain situations, you may need to create multiple user accounts on Windows that should be available on a Windows device. Or you want to test software under other user accounts with less access rights. Here is a simple method that works on all Windows operating systems. For this you need the required access rights, or an user account with administrative rights.
Content / Solution / Examples:
|(Image-1) Create user accounts via command line!|
With the simple parameter /delete in place of /add, you can immediately delete the incorrectly created user accounts. (... see Image-2)
Tip: If one of the users should only have guest access rights!
Add command 1 ("User-1" to the guest group)
net localgroup guests "user-1" /add
command 2 (remove" user-1 " from the default user group)
net localgroup user "user-1" /delete
|(Image-2) quickly delete windows user accounts via command line!|
►►► How do I list all users?
►►► How do I list files in all subdirectories?
These NET command commands are quite handy as they can be used on all operating systems such as Windows 10 (Redstone 4 & 5) Pro, Enterprise, Home, Windows 8.1, Windows 8, Windows-Server 2016, 2012, 2008, Windows 7 Basic, Professional, Starter, Ultimate this of course refers to Windows NT systems, certainly there are similarly powerful commands under Linux, Android and MAC OS, with which one can achieve the same.
FAQ 28: Updated on: June 22th 2018 09:04