Categories
Command Prompt Network Windows

Remote desktop users – Log off from a remote machine

List the current log on session(s): C:\>quser List the current log on session(s) on the remote desktop computer: C:\>quser /SERVER: xx.xx.xx.xxx To log off session listed in the previous step, use the following command. Here I am trying to log off the session 0. C:\> logoff /SERVER:xx.xx.xx.xxx 0 /V (Source)

Categories
Command Prompt

Identify members of local groups using Command Prompt

To list members of the Power Users group (You must include the quotation marks.): net localgroup “power users” To list members of the Users group: net localgroup users To list members of the Administrators group: net localgroup administrators