Windows 10 allows multiple users to have their own accounts, which is a convenient way to separate settings and files for a more personal experience. However, if logged-in users do not log out, their account will continue to run applications, services, and other processes, which may end up consuming significant system resources, which could negatively affect the performance of the actively logged-in user using. the device. In this article, we will show how to disconnect other inactive users from a current session.
In a nutshell, a user account is an identity created for a person in a computer or computer system. User accounts can also be created for machine entities, such as service accounts for running programs, system accounts for storing files and system processes, and a root and administrator account for administering the system.
Log out of other user accounts in a current session
To disconnect other user accounts from a current session on Windows 10, you can do this in two ways:
1. Task manager
2. Command Prompt
Let’s take a look at the steps in these two procedures.
1]Log out of other user accounts in a current session on Windows 10 via Task Manager
To log off inactive users with Task Manager, follow these steps:
- Click on Start.
- Search Task Manager and select the top result to open the tool.
Alternatively, you can also use the Ctrl + Shift + Esc keyboard combo to open Task Manager.
- Click it Users tongue.
- Right click on the user and select Approve option.
- Click it Log out user button.
Once the steps are completed, the user session will be terminated.
2]Log out of other user accounts in a current session on Windows 10 via the command prompt
To disconnect inactive users with the command prompt, follow these steps:
Launch the command prompt in administrator mode.
Type the command below to display all the current users logged into Windows 10 and press Enter:
query session
Write down the identification number of the account to which you wish to log out.
Type the following command to log out the other user and press Enter:
logoff ID-NUMBER
Replace the ID-NUMBER placeholder with the number of the account you wish to log out of.
In this example, the command signs the administrator user account with ID 2:
logoff 2
Once the steps are complete, Windows 10 will log out the user, even if there is an app running.
That’s it!