How to log off other user accounts in Windows 10?

By Eunice Samson | February 1, 2019 |

greater than 3 minutes

If multiple individuals are using your computer, you can personalize your settings and keep your files private by creating a password-protected user account. Other users can also protect their account with a password to ensure that no one will touch their files. However, if they forget to log out, their profile will still run certain services and processes that can consume background resources. So, you might wonder, “How do I log off another user in Windows 10?”

Do note that if other user accounts are still logged into your device, it can affect the overall performance of your computer. You will notice that processes and apps are running slower than usual. Moreover, if you are using a laptop, your battery will run out quickly. To prevent these issues from happening, we are going to teach you how to log off a user in Windows. You can do this via the Task Manager or Command Prompt. Before you proceed, remember that you can only perform the steps successfully if you are using an account with administrator privileges.

Method 1: Via the Task Manager

  1. On your keyboard, press Ctrl+Shift+Esc. Using this shortcut should allow you to launch the Task Manager with ease.
  2. Once the Task Manager is up, go to the Users tab.
  3. Look at the available user accounts and select the one you want to log off.
  4. Go to the bottom of the window and click the Sign Out button. You can also do this by right-clicking the user, then selecting Sign Off from the context menu.
  5. You will see a warning which says that the user’s unsaved data will be lost. Click the Sign Out User button if you are certain that the other user will not lose any data.

Method 2: Via Command Prompt

For this solution, you will need to launch an elevated Command Prompt window. You can do that by following the instructions below:

  1. Click the Search icon on your taskbar, then type “Command Prompt” (no quotes).
  2. Right-click Command Prompt from the results, then select Run as Administrator from the context menu.
  3. Once Command Prompt is up, you need to identify the users currently signed into the device. You can do that by running the command line below:
  4. If you cannot resolve the
    problem yourself, you can
    ask our certified PC technicians for immediate assistance in the chat right on this page.

query session

Note: Every user account has its own ID. Remember to take note of the ID of the one you want to sign out.

  1. Now, you need to run the command below. However, replace “ID” with the user ID you previously took note of.

logoff ID

  1. To see the active user accounts on the device, run the command from Step 3. You will see that you’ve signed out the other user account successfully.

Protect PC from Threats with Anti-Malware

Check your PC for malware your antivirus may miss and get threats safely removed with Auslogics Anti-Malware

Auslogics Anti-Malware is a product of Auslogics, certified Microsoft® Gold Application Developer

Method 3: Via Windows PowerShell

Finally, if you want to learn how to sign out other users from Windows 10, you must know how to open an elevated PowerShell. Here are the instructions:

  1. Go to your taskbar, then right-click the Windows icon.
  2. Select Windows PowerShell (Admin) from the options.
  3. Once Windows PowerShell (Admin) is open, run the command below:

quser | Select-String “Disc” | ForEach {logoff ($_.tostring() -split ‘ +’)[2]}

  1. Exit Windows PowerShell (Admin).

Do note that the last method signs out all the other users, except the account you are currently using.

Pro Tip:

It can be challenging to control other users’ download and browsing activities on your device. So, to protect your computer from threats and attacks, we recommend installing Auslogics Anti-Malware. This powerful security tool can detect malicious items you’d never thought existed. No matter how discreetly the malware runs in the background, Auslogics Anti-Malware will be able to spot it immediately. So, you will have the peace of mind you need even when other people are using your device.

Do you have some tips on how to manage multiple user accounts on a Windows 10 PC?

Share your ideas in the comments section below!

Fed up with your slow PC? Tired of waiting for Windows to start up? Take a look at the most common reasons behind poor performance and the best ways to deal with them here.
Your first order from Auslogics

Want 20% off right now? Subscribe to our newsletter and save!

You will immediately get a 20% discount coupon via email, and we will send you the Auslogics newsletter to notify of great discounts, new releases, helpful PC tips and giveaways.

Please enter a correct email address
Almost done! Please check your mailbox and confirm your address.

IMPORTANT: Auslogics values your privacy and will not disclose your information to any third parties. Every email includes an unsubscribe link, so you may unsubscribe any time. All personal data you provide to us is handled in accordance with applicable laws, including the European GDPR. Please see our Privacy Policy for more details.

Share it:
Do you like this post?
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)


Call us toll-free

US & Canada 1-888-257-4137

UK 1-800-041-8199

Australia 1-800-370-543

Chat with us online

Prefer us to call you back? Give us your phone number via chat

Fix your PC in THREE easy steps

Step 1

Call us or chat with us. Our agents are online around the clock

Step 2

We will remotely access your device, provide you with free diagnostics, and discuss repair options

Step 3

Sit back and watch. Most problems will be fixed immediately within less than an hour

Watch how it works or learn more about our service here