Skip to content
Follow
Windows

How to Sign Out Other Users in Windows 11

Richard
Written by
Richard
Sep 10, 2021 Updated Sep 15, 2026 2 min read
How to Sign Out Other Users in Windows 11
How to Sign Out Other Users in Windows 11

Signing out other users in Windows 11 forcefully closes their active desktop sessions, stopping all open apps and any unsaved work without needing their password. You can do this on any PC running Windows 11 Pro or Enterprise editions as long as you have administrator rights.

Advertisement

Shared household computers or office workstations often need this quick fix when someone forgets to log off. Windows Task Manager and the Command Prompt both let you kick idle accounts offline in just a few clicks to free up memory and protect your private files.

⚡ Quick Answer

Open Task Manager , go to the Users tab, select the account, and click “Sign out.” Alternatively, use the Command Prompt with the “query session” and “logoff” commands. This will close their applications and unsaved work.

Advertisement

Using Task Manager

Task Manager lets you sign out users in Windows 11 without needing administrator rights. Open Task Manager by pressing Ctrl+Shift+Esc, go to the Users tab, right-click the account you want to disconnect, and choose Disconnect to close their active session right away.

  1. Open the Start menu , search for Task Manager , and open the app. You can also press Ctrl+Shift+Esc on your keyboard.
Searching for Task Manager in the Windows 11 Start menu
search task manager on windows 11

  1. If you see a small window, click More details.
Clicking More details to expand the Windows 11 Task Manager
windows 11 task manager more details

  1. Click the Users tab at the top.
  2. Select the account you want to sign out.
  3. Click the Sign out button at the bottom of the window. %📂%LNK0%%
Selecting a user account to sign out in Task Manager
windows 11 sign out other users

Advertisement
⚠️WarningA warning will appear telling you that unsaved data might be lost.

Click Sign-out user to confirm.

Confirmation prompt for signing out a user in Windows 11
windows 11 task manager sign out prompt

Using Command Prompt (Admin Required)

Command Prompt gives you a quick way to sign out users in Windows 11 using text commands, though it requires administrator access. Open an elevated command window, view the active session numbers, and run a simple logoff command to end another user's session instantly.

  1. Click Start, search for cmd, right-click it, and select Run as administrator.
Opening Command Prompt as administrator on Windows 11
windows 11 command prompt administrator

Advertisement
  1. To see a list of everyone currently logged in, type the following command and press Enter:

query session

Using the query session command to list logged in users
command prompt query sessions

  1. Look at the ID number next to the user you want to remove.
  2. Type the following command, replacing 2 with the ID number you found:

logoff 2

⚠️WarningThe user will be signed out immediately without any further warnings.

Summary

Windows 11 lets multiple people use the computer at once, but you can sign out other users if needed using Task Manager or Command Prompt to keep things running smoothly and securely.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 Related Tutorials

How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Add or Remove the Sign Out Button in Windows 11
Windows How to Add or Remove the Sign Out Button in Windows 11
How to List User Profiles and Accounts in Windows 11
Windows How to List User Profiles and Accounts in Windows 11
Guide to Managing Columns in Windows 11 Task Manager
Windows Guide to Managing Columns in Windows 11 Task Manager

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *