Accounts Sign out of Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags

Sign_out_banner.png

This tutorial will show you different ways to sign out of your account or other users in Windows 11.

When you sign out of Windows, all your open windows and apps are closed, but the computer is not turned off. Another user can sign in without needing to restart the computer.

References:


Contents

  • Option One: Sign out of your Account from Start Menu
  • Option Two: Sign out of your Account from Win+X Quick Link Menu
  • Option Three: Sign out of your Account from Alt+F4 Shut Down Windows Dialog
  • Option Four: Sign out of your Account from Ctrl+Alt+Del Screen
  • Option Five: Sign out Other User from Task Manager
  • Option Six: Sign out of your Account using "Shutdown" Command
  • Option Seven: Sign out of your Account using "Logoff" Command
  • Option Eight: Sign out Specific User using "Logoff" Command
  • Option Nine: Sign out All Users Except your Account in PowerShell
  • Option Ten: Sign out of your Account from Game Bar




Option One

Sign out of your Account from Start Menu


1 Open the Start menu :win:.

2 Click/tap on the User icon. (see screenshot below)

3 Click/tap on Sign out in the account picture menu.

Start_Menu_sign_out.webp





Option Two

Sign out of your Account from Win+X Quick Link Menu


1 Perform one of the following actions: (see screenshot below)
  • Open the Win+X Quick Link Menu, click/tap on Shut down or sign out, and click/tap on Sign out.
  • Press the Win + X keys, press U, and press i.





Option Three

Sign out of your Account from Alt+F4 Shut Down Windows Dialog


1 Click/tap on your desktop (Win+D) to make it the current focused (active) window.

2 Press the Alt + F4 keys to open the Shut Down Windows dialog.

This will only work if you did step 1. Otherwise, it will close the current active window instead of the desktop.


3 Select Sign out in the drop menu, and click/tap on OK. (see screenshot below)

Sign_out_Alt+F4.png





Option Four

Sign out of your Account from Ctrl+Alt+Del Screen


1 Press the Ctrl + Alt + Del keys.

2 Click/tap on Sign out. (see screenshot below)

Sign_out_Ctrl+Alt+Del.png





Option Five

Sign out Other User from Task Manager


You must be signed in as an administrator to use this option.


1 Open Task Manager (Ctrl+Shift+Esc).

2 Click/tap on the Users tab, right click on the signed in user (ex: "Brink2") you want to sign out, and click/tap on Sign off. (see screenshot below)

Sign_out_user_Task_Manager-1.png

3 Click/tap on Sign out user to confirm. (see screenshot below)

Sign_out_user_Task_Manager-2.png

4 You can now close Task Manager if you like.




Option Six

Sign out of your Account using "Shutdown" Command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the shutdown /L /F command into Windows Terminal, and press Enter.




Option Seven

Sign out of your Account using "Logoff" Command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the Loggoff command into Windows Terminal, and press Enter.




Option Eight

Sign out Specific User using "Logoff" Command


You must be signed in as an administrator to use this option.


1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste the query user command into Windows Terminal (Admin), and press Enter. (see screenshot below step 3)

3 Make note of the session ID (ex: "2") of the USERNAME (ex: "brink2") you want to sign out. (see screenshot below)

Sign_out_user_command-1.png

4 Type the command below you want to use into Windows Terminal (Admin), and press Enter. (see screenshot below)

(sign out user without details)
logoff <ID>

OR​

(sign out user with details)
logoff <ID> /v

Substitute <ID> in the command above with the session ID (ex: "2") from step 3.

For example: logoff 2 /v


Sign_out_user_command-2.png

5 You can now close Windows Terminal (Admin) if you like.




Option Nine

Sign out All Users Except your Account in PowerShell


You must be signed in as an administrator to use this option.


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Copy and paste the command below into Windows Terminal (Admin), and press Enter. (see screenshot below)

quser | Select-String "Disc" | ForEach {logoff ($_.tostring() -split ' +')[2]}

3 You can now close Windows Terminal (Admin) if you like.

Sign_out_all_users_except_current_PowerShell.png





Option Ten

Sign out of your Account from Game Bar


1 Open the Game Bar (:win:+G).

2 Click/tap on the Settings (gear) icon on the Home Bar. (see screenshot below)

3 Click/tap on Power in Settings.

4 Click/tap on Sign out in the Power menu.

Game_Bar_Sign-out.webp



That's it,
Shawn Brink


 

Attachments

  • Sign_out_Start_menu.jpg
    Sign_out_Start_menu.jpg
    37.6 KB · Views: 219
Last edited:
Remember kids, if you hate this new W10/11 update use ViveTool to go back.
Code:
vivetool /disable /id:48433719,46892085
 
Last edited:

My Computer

System One

  • OS
    Windows 7
Tutorial updated to add option ten to Sign out from Game Bar. :alien:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
Back
Top Bottom