![]() The command can be used for local computer accounts as for domain accounts: # Disable local account Resetting passwords is not limited to domain accounts, you can also use this method for local computer accounts. But it’s also possible with the command Net User. Of course, you can reset the password in the Active Directory. One of the common tasks for an IT Helpdesk is to reset a user’s password. Net User /delete /domain testusr Net User Change or Set Password So be careful when using the delete option. Important to note is that the command tool won’t ask for confirmation. For this, you will need to use the parameter /delete and enter the username. We can also use the command line tool to delete user accounts, both local and from the domain. Net User /add /domain testusr * /fullname:"Test User" /passwordreq:yes /time:M-F,08:00-17:00 /homedir:"\\lazyadmin.local\home\testusr" /scriptpath:"\\lazyadmin.local\netlogon\welcome.bat" Net User Delete User Account
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |