Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Windows Central
Windows Central
Technology
Mauro Huculak

How to sign out other users on Windows 10

Windows 10 sign out other users options.

On Windows 10, the ability for each user to have their own account is a convenient way to keep settings and files separate for a more personal experience. However, if someone doesn't remember to sign out, their account will continue to run apps, services, and other processes, which can consume significant system resources and negatively affect the performance of the user actively using the device.

If you share a device with multiple people and someone forgets to log off, Windows 10 includes at least two ways to terminate the inactive session without leaving your account using Task Manager and Command Prompt.

In this how-to guide, I'll explain how to log inactive users off your computer.

How to sign off other users from Task Manager

To sign off inactive users with Task Manager, use these steps:

  1. Open Start.
  2. Search for Task Manager and select the top result to open the tool.
  • Quick tip: You can also use the "Ctrl + Shift + Esc" keyboard shortcut to open Task Manager.
  1. Click the Users tab.
  2. Right-click the user and select the Sign off option.
(Image credit: Mauro Huculak)
  1. Click the "Sign out user" button.

Once you complete the steps, the user session will be terminated.

How to sign off other users from Command Prompt

To sign out other users with Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view all current users signed in to Windows 10 and press Enter: query session
  4. Confirm the ID number for the account you want to sign off.
  5. Type the following command to sign out the other user and press Enter: logoff ID-NUMBER

In the command, remember to replace "ID-NUMBER" with the number of the account that you want to sign out. This example signs off the demo user account with the ID of 5: logoff 2

(Image credit: Mauro Huculak)

After you complete the steps, Windows 10 will sign out the user regardless if there is any running application.

More resources

For more in-depth insights, troubleshooting tips, and the latest updates on Windows 11 and 10, be sure to explore these resources:

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.