On Windows 11, you can either use the Task Manager, Command Prompt, or PowerShell utility to sign out of user accounts. Hence, if you often forget to log out of a user account, here’s what you can do.

1. Sign Out Other Users from the Task Manager

We will use Windows 11’s built-in Task Manager utility to sign out other users. Follow the simple steps below.

1. Type Task Manager in the Windows 11 Search and open it.

Task Manager

2. Click on the Navigation menu at the top left corner.

Navigation menu

3. On the menu that appears, switch to the Users tab.

Users

4. Now you will find all sign in user accounts. Right-click on the user account to which you want to sign out and select Sign off.

Sign off

5. On the confirmation prompt, click the Sign out user button.

Sign out user

2. Sign Out Other Users on Windows 11 Using Command Prompt

You can use the Command Prompt utility to sign out other users on Windows 11 computers. Here’s what you need to do.

1. Type in Command Prompt on the Windows 11 Search. Next, right-click on the Command Prompt and select Run as administrator.

Run Command Prompt As an Administrator

2. When the Command Prompt opens, execute the command to check all signed-in users.

query session

query session

3. Now you will see all signed-in users on Windows 11. Note the ID number associated with the account you want to log off.

4. Now execute this command to sign out the user account:

logoff ID-Number

Important: Replace ID-Number with the number associated with the user account.

sign out the user account

3. Sign out other users on Windows 11 using PowerShell

You can even use the PowerShell utility to sign out other users on Windows 11. To use PowerShell to sign out other users, follow these steps.

1. Type PowerShell in the Windows 11 search. Next, right-click on the PowerShell and select Run as administrator.Run as administrator

2. When the PowerShell utility opens, execute this command:

query session

query session

3. Execute the given command to get the name of your computer:

hostname

hostname

4. Once done, execute this command by replacing ‘Computer_Name’ with the hostname and ‘User_Name’ with the user you want to sign out:

$sessionID = ((quser /server:'Computer_Name' | Where-Object { $_ -match 'User_Name' }) -split ' +')[2]

PowerShell

Important: Replace ‘Computer_Name’ and ‘User_Name’ in the command. For example, the final command would look like this:

$sessionID = ((quser /server:'DESKTOP-25QV20S' | Where-Object { $_ -match 'Appu' }) -split ' +')[2]

These are the best methods to sign out other users on Windows 11 without switching accounts. You can sign out other signed-in users by following these methods whenever you feel like freeing up system resources.

LEAVE A REPLY

Please enter your comment!
Please enter your name here