Windows account log out

Log out in Windows 10 user account

Replies (1) 

Thank you for posting on Microsoft Community. We appreciate your interest in Windows 10.

We will help you in resolving your issue.

Before assisting further, I would like to ask you few questions related to the query.

  1. How are you logged in to your PC?
  2. When you say “How to log out my Hotmail in Windows 10 in my laptop” do you mean from Mail account or from PC?

If you want to sign out of your PC from the Hotmail account, follow the steps below and check if the issue is resolved.

  1. Close all the applications opened on the desktop and press Start key on the keyboard.
  2. Click on your account name and select Sign out option.

If you want to sign out of the Microsoft account connected to Hotmail account from the PC, I suggest you to login as a local account.

To convert to local account, follow the steps below:

  1. Sign in to your Microsoft account on Windows 10.
  2. Click Start and then PC settings.
  3. Click Users and accounts and under Your Profile click Disconnect on the right of the screen.
  4. Enter your Microsoft account’s password, and click on Next.
  5. Type in a Username, Password, and Password Hint that you want set for your Local account and click Next. Click on Sign out and Finish button.
Читайте также:  Где находится net framework windows 10

Hope this helps!

Get back to us with the answers to the above questions to assist you further on this query. Your reply is most important for us to ensure that we assist you accordingly.

We are happy to assist you with any issues pertaining to Windows.

Log Off Another User in Windows 10

How to Log Off Another User in Windows 10

Although the concept of multiple users sharing one device or one PC is getting rarer by the day, there are still cases when you have to share PCs and switch users fast. Sometimes you need to end a session for another user signed in to your computer. Here are a number of methods you can use.

The situation can be different when you need to end a user session. For example, someone just forgot to sign out from his or her user account, and left running apps and opened docs, so the remain in your computer’s memory and consume its system resources. In this case, it could be useful to kick out the inactive session for the other user.

There are no third party tools required. This can be done using either Task Manager, Command Prompt or PowerShell.

To Log Off Another User in Windows 10,

  1. Open the Task Manager app.
  2. If it looks as follows, switch it to the full view using the «More details» link in the bottom right corner.
  3. Click on the Users tab.
  4. Right-click on a user account you want to log off.
  5. Select Sign off from the context menu.
Читайте также:  Iso образы с windows для виртуальной машины

Alternatively, there are a couple of console tools we can use for the same purpose. Let’s review them.

Log Off Another User from the Command Prompt

  1. Open an elevated command prompt.
  2. Type or copy-paste the following command: query session . This will list available user sessions.
  3. Note the ID column value for the user you want to sign off.
  4. Now, execute the command logoff . For example, logoff 1 .

Finally, you can use PowerShell, as follows.

Log Off Another User from with PowerShell

  1. Open PowerShell as Administrator.Tip: You can add «Open PowerShell As Administrator» context menu.
  2. Type or copy-paste the following command: $sessionID = ((quser /server:’you computer name’ | Where-Object < $_ -match 'user name to sign off' >) -split ‘ +’)[2]
  3. Now, execute the command logoff $sessionID .

The PowerShell method is great when you know the exact user name. You can save it as a script and sign out other users with one click when needed.

Related blog posts:

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

Share this post

About Sergey Tkachenko

Sergey Tkachenko is a software developer from Russia who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

1 thought on “ Log Off Another User in Windows 10 ”

To note, the logoff command is not available on Windows 10 Home editions.

Оцените статью