Skip to content
Follow
Windows

How to Sign Out Other Users in Windows 11

Richard
Written by
Richard
Sep 10, 2021 Updated Aug 14, 2026 3 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.

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.

Using Task Manager

You can sign out other users in Windows 11 using the Task Manager . This tool shows you exactly who is logged into your computer, letting you end their session right away if you need to. Just open Task Manager by searching for it or pressing Ctrl+Shift+Esc.

  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

⚠️Warning
A 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)

You can sign out users in Windows 11 using the Command Prompt if you like working with commands. This method requires administrator rights, but it's a simple way to manage who is logged in. First, open Command Prompt as an administrator by searching for 'cmd', then right-clicking and selecting 'Run as administrator'.

  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

  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

⚠️Warning
The 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.

How do I log other users out of my PC?

To log other users out of your Windows 11 PC, open Task Manager. Click the 'Users' tab, choose the account you wish to sign out, and then click the 'Sign out' button. This action will close all applications and unsaved work for that user.

How do I remove other users from the 🪟 Windows 11 login screen?

To remove users from the Windows 11 login screen, you need to delete their user accounts. Go to Settings, then 'Accounts', and select 'Family & other users'. Choose the account you want to remove and click 'Remove'. This permanently deletes the account and its data.

How to switch users on 🪟 Windows 11 without signing out?

You can switch users on Windows 11 without signing out by using the Start Menu. Click your user icon in the Start Menu and select the other user account. This keeps your programs running while letting someone else log in to their own desktop.

How do I sign out of another user account in 🪟 Windows 11?

Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to view current users and confirm the user "ID," and press Enter: query session. Type the following command to sign out the other user and press Enter: logoff ID-NUMBER.

Was this guide helpful?

📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2945 articles → Twitter

📚 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
How to Pause Dropbox Sync on Windows 11 PC
Windows How to Pause Dropbox Sync on Windows 11 PC

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

Leave a Comment

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