How to log out of other users on Windows 11

Each active user session on your PC means your computer resources are shared with others, which can affect system performance. If someone is not actively using their session, you can log the inactive user out of your account to reclaim those system resources.

1. Log out of other users using Task Manager

Task Manager's Users tab keeps track of all active user sessions on your computer. You can use it to manage user accounts on Windows, switch between different user accounts, and log out of other user accounts. However, if you just need to log out of your current session on Windows 11, the process is much simpler.

You must log in as admin to log out other user accounts (check if your user account has admin rights if you are not sure). It's important that when you log out a user, that user's unsaved data may be lost. So be careful!

To log out other users using 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 display the number of users currently logged in. If you don't see it, click the Open Navigation button (three horizontal bars) in the top left corner. How to log out of other users on Windows 11 Picture 1

3. In the Users tab , find the account you want to log out of.

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

How to log out of other users on Windows 11 Picture 2

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

2. Log out of other users using Command Prompt

On Windows 11 Pro, Edu and Enterprise versions, you can use the Command Prompt "query sessions" command to check and log out active user accounts. This command cannot work on Windows 11 Home, limiting your options.

To log out another user using 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 see all active user sessions with the query:

query session

4. The output will display all active user sessions on your computer. Note down the user account ID you want to log out of. In this case, we have Tashreef as 1 and Guest21 as 3 in the ID column .

How to log out of other users on Windows 11 Picture 3

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

Logoff 3

6. After successful execution, Windows will log out the specified user account.

How to log out of other users on Windows 11 Picture 4

7. Once completed, type exit and press Enter to close Command Prompt.

3. Log out of other users using Process Explorer

Process Explorer is part of Windows Sysinternal Tools, a suite of system administration utilities from Microsoft. While this freeware is popular among developers and system administrators, anyone can use Process Explorer to use 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. Visit Microsoft's official Process Explorer site and download Process Explorer as a zip file to a location on the desktop.

How to log out of other users on Windows 11 Picture 5

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

How to log out of other users on Windows 11 Picture 6

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

How to log out of other users on Windows 11 Picture 7

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

How to log out of other users on Windows 11 Picture 8

5. Move the cursor over the user account name and select Logoff .

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

5 ★ | 2 Vote

May be interested

  • Windows 7 continues to show errors, making it impossible for users to turn off or restart the computerWindows 7 continues to show errors, making it impossible for users to turn off or restart the computer
    a new, unidentified vulnerability appeared on windows 7 that prevented users from shutting down or restarting their computers.
  • Summary of several logout methods on Windows 8 and Windows 10Summary of several logout methods on Windows 8 and Windows 10
    on windows 7 and previous windows versions, users can easily log out of their accounts. however, on windows 8 and windows 10, this process is a bit more complicated.
  • Microsoft has not yet bid farewell to Windows XPMicrosoft has not yet bid farewell to Windows XP
    previously, microsoft had stated that it would terminate all support activities for windows xp since april 8, 2014. however, after reviewing the system and surveying the situation of using windows xp by users, the company decided to continue raising this child until july next year.
  • 10 features on Windows 10 are most users require10 features on Windows 10 are most users require
    microsoft is very active in collecting user comments about windows 10 as part of its technical preview program. the company has previously released tests for users to try before windows, but has never been as aggressive as this one.
  • Instructions on how to create USB running Windows 8Instructions on how to create USB running Windows 8
    although added with metro ui, windows 8 consumes a small amount of memory space. this advantage helps users to run windows 8 from a usb like with previous windows operating systems. the article will guide users how to create a usb drive running windows 8 to be able to boot on any computer.
  • What to do when the Windows Taskbar is frozen, unusable?What to do when the Windows Taskbar is frozen, unusable?
    recently, there are quite a few windows 10 and windows 11 users who have encountered the error that the taskbar is frozen and cannot be manipulated, causing quite a lot of trouble for users. it seems that microsoft is 'infuriating' users again with its new windows cumulative update package.
  • Microsoft posted an explanation of the design of Windows 11 for fear that users would miss itMicrosoft posted an explanation of the design of Windows 11 for fear that users would miss it
    recently, the microsoft design team posted a fairly long article on medium to 'tell it all at once' about the design of windows 11. microsoft emphasizes that the designs of windows 1 focus on people, caring about how the machine is. computing can empower users and what users love.
  • Some simple tricks to speed up Windows 7Some simple tricks to speed up Windows 7
    windows 7 operating system has been officially released, and most windows users will choose this new operating system because of some of the features and speed that microsoft promises to bring to users. however, as with previous operating systems, we can implement some tricks to improve windows 7.
  • How to block users from accessing drives for security in WindowsHow to block users from accessing drives for security in Windows
    when you don't want other users to access some or all drives, you can use a gpo to quickly restrict access. here are the steps to prevent users from accessing a drive in windows.
  • Uninstall Windows 10 update in Windows 7 / 8.1Uninstall Windows 10 update in Windows 7 / 8.1
    if you want to upgrade to windows 10 technical preview from windows 7 and 8.1, users must launch the windowstechncialpreview.exe file provided by microsoft. windows will then receive a message to upgrade to windows 10 technical preview from windows update so that users can download and upgrade