Tips & Tricks

How to Sign Out Other Users on Windows 11

To sign out other users on Windows 11, use Task Manager's Users tab, the Command Prompt "query session" and "logoff" commands, or Microsoft's Process Explorer utility. Admin privileges are required to manage active sessions and reclaim system resources.

How to Sign Out Other Users on Windows 11

Every active user session on a PC means your computer's resources are being shared with someone else, which can affect system performance. If someone isn't actively using their session, you can sign that inactive user out of their account to reclaim those system resources.

1. Sign out other users with Task Manager on Windows 11

The Users tab in Task Manager tracks all active user sessions on your computer. You can use it to manage user accounts on Windows, switch between different user accounts, and sign out other user accounts. If you only need to sign out of your own current session on Windows 11, though, the process is much simpler.

You must be signed in as an admin to sign out other user accounts (check whether your user account has admin rights if you're not sure). Keep in mind that when you sign out a user, any unsaved data in that user's session may be lost. So be careful!

To sign out other users with Task Manager:

1. Right-click Start and select Task Manager. Alternatively, use the keyboard shortcut Ctrl + Shift + Esc.

2. In Task Manager, open the Users tab on the left to see how many users are currently signed in. If you don't see it, click the Open Navigation button (three horizontal bars) in the top-left corner.

How to sign out other users on Windows 11 Features 01
Task Manager from the Winx menu in Windows 11

3. On the Users tab, find the account you want to sign out.

4. Right-click the user account and select Sign off.

How to sign out other users on Windows 11 Features 02
The Users tab in Task Manager with the Sign off option in Windows 11

5. Click Sign out user. Windows will close all open apps and running processes, then sign the user out.

2. Sign out other users with Command Prompt

On Windows 11 Pro, Edu, and Enterprise editions, you can use the Command Prompt "query sessions" command to check for and sign out active user accounts. This command doesn't work on Windows 11 Home, which limits your options.

To sign out another user with Command Prompt:

1. Press the Win key and type cmd.

2. Right-click Command Prompt and select Run as administrator.

3. In the Command Prompt window, type the following command to query and view all active user sessions:

query session

4. The output will list all active user sessions on your computer. Note the ID of the user account you want to sign out. In this case, Tashreef is 1 and Guest21 is 3 in the ID column.

How to sign out other users on Windows 11 Features 03
Command Prompt running the query sessions command on Windows 11

5. Enter the following command to sign out the specified user. Replace 2 below with the ID of the user account you want to sign out:

Logoff 3

6. Once the command succeeds, Windows will sign out the specified user account.

How to sign out other users on Windows 11 Features 04
Command Prompt running the logoff command on Windows 11

7. When you're done, type exit and press Enter to close Command Prompt.

3. Sign out other users with Process Explorer

Process Explorer is part of the Windows Sysinternals Tools, a suite of system administration utilities from Microsoft. Although this free software is popular with developers and system administrators, anyone can use Process Explorer to access some of its advanced features. Process Explorer is a powerful tool that maps all currently active processes and DLL files to the accounts running them.

1. Go to the official Process Explorer page from Microsoft and download Process Explorer as a zip file to a location on your desktop.

How to sign out other users on Windows 11 Features 05
The Process Explorer download page

2. Right-click the ProcessExplorer.zip archive and select Extract All. Choose a location and extract the folder.

How to sign out other users on Windows 11 Features 06
The option to run the Process Explorer exe file as admin in Windows 11

3. Open the ProcessExplorer folder, right-click procexp64.exe, and select Run as administrator.

How to sign out other users on Windows 11 Features 07
The Users option in Windows 11

4. In the Process Explorer window, click Users to see all active user sessions.

How to sign out other users on Windows 11 Features 08
The User Account Logoff option selected in Windows 11

5. Hover over the user account name and select Logoff.

Process Explorer will sign the selected user account out of your computer. If you get an access denied error, run the procexp64.exe executable as admin and try again.

Share: Facebook X / Twitter Email Pinterest LinkedIn
Question and answer (0 comments)

Your name and comment are shown publicly; your email is not. See Privacy Policy.

Table of contents
  1. 1. Sign out other users with Task Manager on Windows 11
  2. 2. Sign out other users with Command Prompt
  3. 3. Sign out other users with Process Explorer