Requests for Automation

Create and Disable Local User account

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

Gravatar for Matthew Decker
Matthew Decker about 1 year 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

Gravatar for Jonathan Haase
Jonathan Haase about 1 year 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


  • 1 Vote
  • Open for about 1 year
  • Created by Justin Bragg