How To Log Out Of Windows Server 2016

The new Windows 10 style interface that has made its way into Windows Server 2016 has left some late adopters a little confused, here we’ll cover how you can easily log off.

There are a few different ways to do this, we’ll cover some different methods of logging out through both the graphical user interface (GUI) and command line interface (CLI).

Log Out Through GUI

Option 1

  1. Left click the Start button from the bottom left corner.
  2. Left click your username from the top left corner of the start menu.
  3. Left click “Sign Out”.
  4. Log out from start menu GUI

Option 2

  1. Right click the Start button from the bottom left corner.
  2. Hover over “Shut down or sign out”.
  3. Left click “Sign Out”.
  4. start menu sign out

Option 3

  1. Press the “Alt + F4” keyboard combination.
  2. From the Shut Down Windows pop up that opens, change the “What do you want the computer to do?” drop down to “Sign Out” and click the OK button.
  3. Sign Out Of Windows Server 2016

Option 4

  1. Press the “Ctrl + Alt + Del” keyboard combination. If you are logged in through a virtual machine console, you may instead need to use “Ctrl + Alt + Ins”.
  2. From the options available on the blue screen that appears, click “Sign Out”.
  3. Control Alt Delete Sign Out

Log Out Through Command Line Interface

This is typically done with the logoff command.

  1. Open Command Prompt or PowerShell.
  2. Type ‘logoff’ and press enter to be logged out immediately. Alternatively you can use the ‘shutdown -l’ command.
  3. Logoff command

Summary

There are a few different ways to sign out of Windows Server 2016 from either the user interface or command line as demonstrated.

  1. I found this on the web and am wondering what the difference is and “best practice” We have Citrix connection to the server and wondering if a simple logoff is leaving “stuff” behind in memory that could cause an issue in the future.

    We only reboot when absolutely necessary!

  2. No. Typing logoff at the PowerShell prompt is surely the best method from RDP and leaves nothing running or disconnected.

  3. Basic side-step scenarios is to dump the memory (user with debug privileges such as Administrator/SYSTEM) and retrieve hashes to recover them or conduct pass-the-hash logon to other computers.
    Investigating a Windows 2012r2 the proper way to do a logoff is to use the following command:
    “shutdown /l”

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>