On a Windows 11 device, you may need to log off other users from their sessions. This may be beneficial for improved performance and enhanced privacy and may be used to troubleshoot issues.
There are a few tools that Windows 11 provides to perform this process, and in this guide, we walk you through every one of them. Let us get to it.
How Do I Sign Out of Other Users on Windows?
1. Log off Other Users Using the Task Manager
The Task Manager is a utility that helps you to manage running apps, services, and processes. On Windows 11, you may use this utility to log off other users. However, you will need to be logged in with an administrative account. Here are the steps.
Step 1: Press Ctrl + Shift + Esc to open the Task Manager.
Step 2: If the Task Manager does not open to the full windows, click the More Details button.
Step 3: Click the user you want to sign out and click the Disconnect button.
Step 4: You will get a prompt; simply click to confirm your choice, and the user will be signed out from Windows 11.
2. Sign Out Other Users Using the Command Prompt
The Windows 11 Command Prompt is a command line text-based interface that users may use to communicate with the operating system. It may be used to automate many administrative tasks, and you may use it to log off users on Windows 11 by following the steps below.
Step 1: Press Windows + R to open the Run dialog.
Step 2: Type CMD and hit Ctrl + Shift + Enter to launch the command prompt with admin rights.
Step 3: get a list of the current users by running the command below:
query session
Step 4: Log off a user by running the script below, replacing X with the actual user ID number.
logoff X
3. Log Off Other Users Using the PowerShell
The PowerShell on Windows 11 is a powerful task automation and management tool. In addition to its many functions, you may use it to log off other users on a Windows 11 device, as shown below.
Step 1: Click the magnifying lens of the Taskbar, type powershell and click the Run as Administrator option.
Step 2: Type the scripts below one after the other, hitting Enter after each one. Remember to replace Your PC Name with your actual PC’s name and user with your username.
$server = 'Your PC Name'
$username = 'user'
$sessionld = ((quser /server: $server | Where-Object { $_-match SuserName }) -split '+')[2]
logoff $sessionld /server: $server
4. Log Off Other Users Using the Download Process Explorer
This tool is Microsoft’s freeware process management tool. It does not come with the operating system, but you may download it from the official website and use it to manage your processes, including logging out users from Windows 11.
Step 1: Visit the Process Explorer website and click on Download Process Explorer.
Step 2: Extract the downloaded file.
Step 3: Open the folder with the extracted files, right-click on procexp and click Run as Administrator.
Step 4: Click the Agree button.
Step 5: Click on the User menu, hover on the user you need to log off, then click the logoff option.
FAQ
1. How do I sign out of guest account on Windows 11?
The same solutions listed in this guide will work if it is a guest account. So, pick any that feels the most practical.
2. Can we delete guest account in Windows?
Yes, you may if you no longer have any use for them.
Closing Thoughts
We have covered all the steps to log off other users on Windows 11. Note that we have not written them in any particular order, so try whichever feels the most appropriate.
Lastly, let us know in the comment section which solutions you found most effective. You may also try logging off users remotely using the Command line.