+5 votes
5 views
Log out of another Windows 10 user

in Windows10 by (295k points)
reopened | 5 views

1 Answer

+3 votes
Best answer

Windows 10 allows us to create different accounts in the system so that more people can access the system and work on it, this clearly guided by the permissions that we grant to each of them. If another user urgently needs to access the equipment, we can change users without losing the data or the work done, but the session of the other user will remain active, we can close the session of that user from our profile without having to access that profile and close it From the Start menu, these forms will be explained in detail by TechnoWikis in this tutorial..

 

Like a remote Windows 10 desktop , being able to log out of another Windows 10 user allows us to manage another person's open session without having to be physically on-site. This will save us time and costs when managing our team.

 

 

We also leave you the video tutorial to be able to log out of another Windows 10 user..

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 


1. Log out of another Windows 10 user from Task Manager

 

Step 1

The first method will be using the Task Manager, for this we access it using one of the following options:

 

 

Step 2

Once we access the Administrator we will go to the "Users" tab and there we right-click on the user to close the session, in the displayed list select "Close session":

 

image

 

Step 3

By clicking there the following message will be displayed. We confirm the logout by clicking on "Logout of the user".

 

 

image

 

 


2. Log out of another Windows 10 user from PowerShell

 

Step 1

PowerShell offers us a slightly more advanced way to close a user's session from there, for this we must take into account some aspects such as:

 

  • In the line "Server" we must enter the name of the current computer
  • In the line "username" we enter the name of the user to log out

 

Step 2

Then we must enter the following by replacing the respective values. This will log off that user.
 $ server = 'DESKTOP-5GC81P1' $ username = 'Testing' $ sessionId = ((quser / server: $ server | Where-Object {$ _ -match $ userName}) -split '+') [2] logoff $ sessionId / server: $ server 
image

 

 


3. Log out another CMD user Windows 10

 

Step 1

The command prompt console is another alternative to log out of a user, in this case we access as administrators and execute the following:
 query session 
 Or "query session" 
image

 

 

Step 2

This lists the users with session started, let's notice the column ID, in this case we will close the session of the user Tests with ID 3, we execute:
 logoff 3 
image

 

In some of these ways we will be able to log out a user in Windows 10.

 


by (1.8m points)

Related questions

+4 votes
1 answer
asked Sep 29, 2019 in Windows 10 by backtothefuture (295k points) | 20 views
+5 votes
1 answer
asked Nov 18, 2019 in Windows 10 by backtothefuture (295k points) | 25 views
+4 votes
1 answer
+5 votes
1 answer
asked Nov 22, 2019 in Internet by backtothefuture (295k points) | 21 views
+3 votes
1 answer
Please leave a comment about whether the solution works or not (with device model)   [X]Close
5,636 questions
5,726 answers
132 comments
2 users