Category Filter

Scripts to create users on Windows 10 devices

Some corporate devices might be used by more than one employee. As a result, an administrator might have to create separate user accounts on each device. Manually creating accounts on all the devices is a tedious task. Hexnode lets admins deploy scripts to get the job done.


The Sample Scripts provided below are adapted from third-party Open-Source sites.

.bat format

E.g., To create a user Josh,

Net user Josh “” /add

.ps1 format

E.g. To create a user Josh,

New-LocalUser –Name “Josh” -NoPassword


  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.