I have two computers, compA and compB
I have admin access to both. I also have remote access to both. However, im wondering. Is there an easier way to activate a local account on a remote machine? If I log into computer A can I remotely enable an account that resides locally on computer B?
Instead of having to remote into B to enable the account
01 Answer
If both computers are on the same network, then
once you are logged into A, you may execute the net use command on B by using thepsexecutility:
psexec \\compB net user user-name /active:yesIf necessary, you may also specify user and password on the command.