Monday 7 December 2020

Quick command line for making a local admin account

 Sometimes with remote tools you have remote screen access with software such as TeamViewer or ISL Light.

and at times you also have a remote command line interface too but no local admin account to get in to a desktop.

open the command line CMD or remote command line tool and type

net user admin-tmp <Password> /add
net localgroup administrators admin-tmp /add

If you need to view a list of local users type

net user

and to check a local accounts password

net user <Name> <Password>

To delete accounts

 net user <Name> /delete

No comments:

Post a Comment