On Windows 11, you may share a pc with others, and every consumer can have an account to maintain their recordsdata, settings, and purposes separate. However, if somebody forgets to signal out, the session will stay loaded into the system, losing sources that may have an effect on efficiency and energy utilization.
You can at all times ask the opposite particular person to signal again in and signal out, or you may carry out this job if their credentials, however it takes additional steps and time that may break your workflow. However, there are another simpler ways in which embrace logging off the consumer manually with out signing out of your account via Task Manager, Command Prompt, and PowerShell.
In this how-to information, I’ll present you the other ways to sign off different customers on Windows 11.
How to sign off different customers from Task Manager
To signal different customers out of Windows 11, use these steps:
- Open Start.
- Search for Task Manager and click on the highest end result to open the app.
- Quick tip: You may also use the “Ctrl + Shift + Esc” keyboard shortcut or select the “Task Manager” possibility from the Taskbar context menu.
- Click on Users from the left navigation web page.
- Right-click the consumer and select the “Sign off” possibility.
- Click the “Sign out consumer” button.
Once you full the steps, the system will signal out the customers and terminate that particular session.
How to sign off different customers from Command Prompt
To signal out customers via Command Prompt on Windows 11, use these steps:
- Open Start.
- Search for Command Prompt, right-click the highest end result, and choose the Run as administrator possibility.
- Type the next command to view present customers and ensure the consumer “ID,” and press Enter: question session
- Type the next command to signal out the opposite consumer and press Enter: logoff ID-NUMBER
In the command, change “ID-NUMBER” with the variety of the account you need to signal out. This instance logs off the “user_demo” account with the ID of two: logoff 2
After you full the steps, the consumer will not be signed in on Windows 11.
How to sign off different customers from PowerShell
To signal out customers via PowerShell on Windows 11, use these steps:
- Open Start.
- Search for Command Prompt, right-click the highest end result, and choose the Run as administrator possibility.
- Type the next command to view present customers and ensure the consumer “ID,” and press Enter: question session
- Type the next command to question the pc and press Enter: hostname
- Type the next command to signal out a particular consumer and press Enter: $sessionID = ((quser /server:’COMPUTER-NAME’ | Where-Object { $_ -match ‘USERNAME’ }) -split ‘ +’)[2]
In the command, change “COMPUTER-NAME” for the identify of the pc and “USERNAME” for the identify of the consumer to sign off from the system. Here’s an instance on how the command ought to learn: $sessionID = ((quser /server:’vmpreview’ | Where-Object { $_ -match ‘demo_user’ }) -split ‘ +’)[2]
Once you full the steps, the PowerShell command will signal the consumer out of the system.
More sources
For extra useful articles, protection, and solutions to frequent questions on Windows 10 and Windows 11, go to the next sources: