Removing Other Users From WIndows 11 Network

Removing Other Users From WIndows 11 Network

David Lv13

Removing Other Users From WIndows 11 Network

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

Key Takeaways

  • To sign out other users on Windows 11, you can use Task Manager, Command Prompt, or Process Explorer.
  • The Task Manager method works on any version of Windows, while the Command Prompt option only works for Pro and above versions of Windows. Process Explorer requires a separate download.
  • Be sure to consider any unsaved work before logging off a user.

Each active user session on your PC means your computer’s resources are shared with others, which can impact system performance. If someone is not actively using their session, you can log off the idle user from your account to reclaim those system resources.

1. Sign Out Other Users Using the Task Manager

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

You must be logged in as an administrator to sign off other user accounts; check if your user account has administrator rights if you’re not sure. Importantly, when you sign out a user, the user’s unsaved data might be lost. So tread carefully.

To sign out other users using Task Manager:

  1. Right-click on Start and select Task Manager. Alternatively, use the keyboard shortcut Ctrl + Shift + Esc.
  2. In Task Manager, open the Users tab in the left pane which displays the number of users currently logged in. If not visible, click the Open Navigation button (three horizontal bars) in the top left corner.
    Winx Menu Task Manager Windows 11
  3. In the Users tab, locate the account you want to sign off.
  1. Right-click on the user account and select Sign off.
    Users Tab in Task Manager with Logoff Option in Windows 11
  2. Click Sign out user. Windows will close all the open apps and running processes and then log out the user.

2. Sign Out Other Users Using the Command Prompt

On Windows 11 Pro, Edu, and Enterprise editions, you can use Command Prompt’s “query sessions” command to check and log off active user accounts. This command is unlikely to work on a Windows 11 Home, limiting your options.

To sign out other users using Command Prompt:

  1. Press the Win key and type cmd.
  2. Right-click on Command Prompt and select Run as administrator.
  3. In the Command Prompt window, type the following command to view all the active user sessions with a query:
    query session
  4. The output will show all the active user sessions on your computer. Make a note of the user account ID you want to sign out. In this instance, we have Tashreef as 1 and Guest21 as 3 under the ID column.
    Command Prompt With Query Session Command Running on Windows 11
  5. Type the following command to sign out the specified user. Replace 2 below with the user account ID you want to sign out:
    Logoff 3
  6. Upon successful execution, Windows will sign out the specified user account.
    Command Prompt With Logoff Command Running on Windows 11
  7. Once done, type exit and press Enter to close the Command Prompt.

3. Log Off Other Users Using Process Explorer

Process Explorer is part of Windows Sysinternal Tools, a suite of system administration utilities from Microsoft. Though the freeware is popular among developers and system admins, 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. Our purpose is to show you how to use its user management feature to kick out other user sessions.

  1. Go to Microsoft’s official Process Explorer page and download Process Exploreras a zip file to a location on your desktop.
    Download Process Explorer Web Page
  2. Right-click on the ProcessExplorer.zip archive, and select Extract All. Select a location and extract the folder.

Process Explorer Exe File Run as Administrator Option in Windows 11
3. Open the ProcessExplorer folder, right-click on procexp64.exe, and select Run as administrator.
Process Explorer App User Option Selected in Windows 11
4. In the Process Explorer window, click Users to view all the active user sessions.
Process Explorer App User Account Logoff Option Selected in Windows 11
5. Hover your cursor over the user account name and select Logoff.

Process Explorer will sign out the selected user account from your computer. If you get an access denied error , run the procexp64.exe executable with administrator privileges and try again.

Ask Other Users Before You Sign Them Out

When you log off other users, any unsaved work in their accounts is lost. So do consider that before you apply the above methods. Logging off from a Windows account in a multi-user PC is a good habit because it reduces the chance of data loss and frees up the computer’s resources for others. Always request others to sign off when their work is finished.

Also read:

  • Title: Removing Other Users From WIndows 11 Network
  • Author: David
  • Created at : 2024-12-11 08:16:27
  • Updated at : 2024-12-12 18:16:37
  • Link: https://win11.techidaily.com/removing-other-users-from-windows-11-network/
  • License: This work is licensed under CC BY-NC-SA 4.0.