3 Best Ways to Sign Out Other Users on Windows 11

On Windows 11, you can either use the Task Manager, Command Prompt, or PowerShell utility to sign out of user accounts. 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 […] The post 3 Best Ways to Sign Out Other Users on Windows 11 appeared first on TechViral.

3 Best Ways to Sign Out Other Users on Windows 11

On Windows 11, you can either use the Task Manager, Command Prompt, or PowerShell utility to sign out of user accounts. 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.

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. Switch to the Users tab.

Users

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

Sign off

5. 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.

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. Execute the command to check all signed-in users.

query session

query session

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

4. 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.

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

2. 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.

The post 3 Best Ways to Sign Out Other Users on Windows 11 appeared first on TechViral.

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow