net user administrator /active:yes
Open in new window
For a script to enable local users on remote computers check: https://gallery.technet.microsoft.com/scriptcenter/EnableDisableUser-73bccd4e
The script can be used to enable a local user and change the password. Also it can run against multiple machines by using a input file. Read the document for all instructions.
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.
Take hold of your future.