Skip to content

Melvin's Web Stuff

My Online Notepad

  • About
  • Blog
  • Contact

Category: Command Prompt

Remote desktop users – Log off from a remote machine

command line remote desktop
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)

Author MelvinPosted on October 30, 2012August 6, 2019Categories Command Prompt, Network, Windows

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
Author MelvinPosted on September 8, 2010November 22, 2016Categories Command Prompt

Categories

  • Apache (1)
  • ASP (3)
  • ASP.NET (28)
  • C# (9)
  • Command Prompt (2)
  • CSS (5)
  • FreeTextBox (3)
  • FTP (1)
  • HTML (3)
  • IIS (4)
  • JavaScript (7)
  • JQuery (1)
  • Miscellaneous (3)
  • MySQL (2)
  • Network (3)
  • PHP (8)
  • SQL (24)
  • SQL Server (24)
  • SSRS (1)
  • VB.NET (7)
  • Visual Studio (10)
  • Windows (4)
  • XML (2)

Recent Posts

  • IIS Express – Disabling anonymous authentication
  • Enable CORS IIS Express
  • Kendo UI Editor – A FreeTextBox Replacement
  • Cache JQuery Selectors To Improve Performance
  • String.Format to set a constant in .NET

Archives

  • About
  • Blog
  • Contact
Melvin's Web Stuff Proudly powered by WordPress