Requests for Automation

Create and Disable Local User account

I'm looking for a procedure to create / disable local user accounts.

Gravatar for Jonathan Haase
Jonathan Haase almost 3 years ago

This should be a relatively easy one to do with a simple execute command line.
For creating a local user you are basically just looking at running
net user /Add
What additional options are available can be found by running net help user add from a command line.
Disabling a local user is as simple
net user /active:no

Gravatar for Matthew Decker
Matthew Decker almost 3 years ago

I don't know if there was ever a resolution to do this. If you wanted to be able to create specific users/passwords on a local machine, using the above commands with a GET variable set to prompt would allow you to do this net user #usernamevariable# #passwordvariable# /Add


  • 1 Vote
  • Open for about 3 years
  • Created by Justin Bragg