In this article, we’ll learn how to Sign Out of All Users in Windows 11 sessions. On the same machine, Windows supports multiple accounts. On the same computer, users can have separate and distinct profiles.
Windows also allows you to sign in with multiple accounts at the same time, each with its own set of files and processes. In the event that a user forgets to log out of their session, other users with administrative rights can do so without logging in as that user.
This is useful, for example, if a user forgets to log out and runs a process that slows down the system, or if you don’t want a user logged in while you’re away for security reasons. Whatever the reason, logging a user off in Windows is simple, and the steps below will show you how.
You can do this from either the Task Manager or the Command Prompt console.
The new Windows 11 includes a new user desktop with many new features, such as a centered Start menu and taskbar, rounded corners windows, themes, and colors that make any Windows look and feel modern. Follow the steps below to begin learning how to sign out other users of their Windows 11 sessions.
How to disconnect other users on Windows 11
Windows, is a multi-account operating system. It can handle multiple sign-in sessions from different accounts at the same time. The steps below will show you how to sign out a user who has forgotten to do so.
Open the Task Manager in Windows 11 to sign other users out of their sessions. To do so, go to the Start menu, type Tasks Manager into the search box, and then select and open the app. You can also open the Task Manager by pressing the CTRL + SHIFT + Esc keys on your keyboard.
When Task Manager appears, select More details as shown below.

Click the Users tab in the More details window. Then, at the bottom of the window, select the user you want to sign out, and then click “Sign Out.”
Any unsaved data on the user’s account may be lost if you proceed, according to a prompt.
To sign the user out, click the Sign out user button.

How to sign other users out on the command prompt
From the command prompt console, you can also sign other users out. To do so, log in as an administrator to the command prompt. Then run the commands below to get a list of all users who have signed in.
query session
This should return a list of active user sessions. Simply run the log off command with the ID of the user session to log off other accounts.
logoff 2
Substituting the ID of the user you want to sign out for. This will force the account to be logged out without warning.
No Responses