Source: Windows Central
On Windows 10, the ability for each user to have their own account is a convenient way to keep settings and files separate for a more personal experience. However, if someone doesn’t remember to sign out, their account will continue to run apps, services, and other processes, which can end up consuming significant system resources that can negatively affect the performance for the user actively using the device.
If you share a device with multiple people, and someone forgets to log-off, Windows 10 includes at least two ways to terminate the inactive session without you having to leave your account using Task Manager and Command Prompt.
In this Windows 10 guide, we’ll walk you through the steps to log off inactive users from your computer.
How to sign off other users using Task Manager
To sign off inactive users with Task Manager, use these steps:
Search for Task Manager and select the top result to open the tool.
Quick tip: You can also use the Ctrl + Shift + Esc keyboard shortcut to open Task Manager.
Right-click the user and select the Sign off option.
Source: Windows Central
Once you complete the steps, the user session will be terminated.
How to sign off other users using Command Prompt
To sign out other users with Command Prompt, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to view all current users signed in to Windows 10 and press Enter:
Source: Windows Central
Type the following command to sign out the other user and press Enter:
Source: Windows Central
In the command, remember to replace “ID-NUMBER” for the number of the account that you want to sign out.
This example signs off the demo user account with the ID of 5:
After you complete the steps, Windows 10 will sign out the user regardless if there is any running application.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
EKSA E910 5.8GHz wireless gaming headset review
EKSA’s E910 headset is solid where it counts, make no doubt about that. But it’s not without problems.
Review: Back 4 Blood is the Left 4 Dead 3 we’ve been waiting for
Back 4 Blood is finally here, but is it truly the satisfying spiritual successor to Left 4 Dead that we’ve been waiting for? We think so, but the game does notably have a few problems.
Here’s every Forza Horizon 5 car confirmed so far
Forza Horizon 5 goes bigger than ever with its next trip to Mexico, coupled with an extensive list of cars to match. Here’s the full list of Forza Horizon 5 cars, with more added all the time.
The NFL is back! Check out these must-have Windows apps for football fans
After months of waiting through the offseason, the NFL is finally back this week. With these Windows 10 apps, you won’t miss a snap of the NFL action.
Use a safe free tool developed by the Auslogics team of experts.
- Easy to use. Just download and run, no installation needed.
- Safe. Our software is featured on CNET and we are a Silver Microsoft Partner.
- Free. We mean it, a totally free tool.
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
- On your keyboard, press Ctrl+Shift+Esc. Using this shortcut should allow you to launch the Task Manager with ease.
- Once the Task Manager is up, go to the Users tab.
- Look at the available user accounts and select the one you want to log off.
- 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.
- 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:
- Click the Search icon on your taskbar, then type “Command Prompt” (no quotes).
- Right-click Command Prompt from the results, then select Run as Administrator from the context menu.
- 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:
Note: Every user account has its own ID. Remember to take note of the ID of the one you want to sign out.
- Now, you need to run the command below. However, replace “ID” with the user ID you previously took note of.
- 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.
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:
- Go to your taskbar, then right-click the Windows icon.
- Select Windows PowerShell (Admin) from the options.
- Once Windows PowerShell (Admin) is open, run the command below:
quser | Select-String “Disc” | ForEach
- Exit Windows PowerShell (Admin).
Do note that the last method signs out all the other users, except the account you are currently using.
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.
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
Windows 10 lets you log in simultaneously with several users. Each active session consumes resources, drains RAM, and impoverishes computer performance. In this guide, we tell you how you can log out another person from your profile to improve the functioning of your computer.
The first method consists of accessing the active session you want to close and performing the process manually. To do this, go to the lock screen by opening the start menu and clicking on the avatar of your account.
With the Sign out button, you will close your current session and access the lock screen.
Close the current session
Once you are there, select the other user, enter their password, and log out in the same way you just did with your user.
Open a session with another user
If you do not know the password of the other person, you will not be able to log out manually. In that case, we recommend that you turn off your computer, turn it on again, and log in with your account. You can do this from the lock screen by clicking on the off button.
Shut down the PC to close all sessions
Finally, you can use the task manager to log out another user. To open it, use the combination Control + Alt + Delete and choose the option Task manager. Once opened, select the Users tab.
List of active users in the task manager
Here, you can view a list of active users. Select the profile you want to log out of and use the Sign out button.
Close a user session from the task manager
Immediately, the active session of the other user will be closed. Before carrying out any of these actions, remember that changes made by the other user to documents, images, or any other file, will be lost. Therefore, make sure that the other user does not have any important process open. Otherwise, by closing its session, you will be causing the loss of this information.
Here is a message I got the other day that prevented me from logging into a server remotely.
Windows Servers allow the maximum of two concurrent remote sessions at any given time unless you have Terminal Services enabled. For any Windows Server 2008 or later, it seems to be ok because you will have the option kicking any active users right at the login screen but for any Server 2003, exceeding that will give you the above message and will just stop you right there. In order to get in that server remotely, you can use the following tip to remotely log off any active or disconnected sessions first and try logging in again.
First of all, use the command line QUser, short for Query Users, to get a list of login sessions on the remote computer.
Replace the ComputerName with the actual remote computer name.
To remotely log off any users on the list, use the command line Logoff with the remote session ID you collected from QUser command.
Don’t be scared off by the switch name “server”. It works not only on Windows Server 2003 and above but also Windows desktop platforms as well. If you want to log a remote user off a Windows 10 or Windows 7 computer, simply run the same commands described above, as long as you know the remote computer name and have the user account that has the local admin rights on the remote computer.
Desktop operating systems aren’t built for single users. We may have laptops that are exclusively used by one person but the operating system they run can support multiple users. For each user that you add, a separate user folder is created and the user gets their own libraries and their own system settings including a wallpaper, default apps, and their own Start menu layout. Multiple users can be signed into a Windows machine but you can sign out other users without having to switch over to them. Here’s how.
Sign Out Other Users
Open the Task Manager with administrative rights and go to the Users tab. The Users tab will show you all users that are currently signed in to the system, and how much CPU and RAM each user is using. Your user, the one you’re signed into, will also be listed.
Right-click the user you want to sign out and select the ‘Sign off’ option. It goes without saying that when you sign out other users on Windows 10, all apps, files, and folders that are open will be closed. Nothing that isn’t automatically saved will be lost e.g., if the user has a Microsoft Word document open, the auto-save feature is the only thing that will save their work.
If you don’t want to go through the Task Manager, you can also use the Command Prompt to sign out other users.
Open the Command Prompt with administrative rights, or if you’re the administrator, open a simple Command Prompt window and run the following command in it;
This will list all the users that are currently signed in on the system. Take note of the ID assigned to each user. You will need the user ID for the command to sign out the user.
To sign out the user, run the following command.
With Command Prompt, you won’t get an alert telling you that the user you’re signing out will lose work if it isn’t saved first and that all the apps and folders will be closed.
Remember that when you sign out other users, they can lose work. As bad as that is, there’s no loss of sensitive data but that doesn’t mean you should sign out other users just because you can. If we’re being perfectly honest, a user can just hold down the power button and shut down the system signing everyone out so your work is gone anyway so signing out other users when you have no good reason to isn’t the nicest thing to do on a shared system.
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Fast User Switching is a nice feature for Windows users to quickly switch to another user account, without having to log off or close all running programs of the currently logged-on user. In this tutorial we’ll show you 5 quick ways to switch between multiple user accounts in Windows 10.
Note: Don’t restart or shutdown your computer while another user account is still logged in, or that account will lose any work that isn’t saved.
Option 1: Switch Users from Start Menu
- Click the Start button.
- From top-left corner of the Start Menu, click your user account who is currently logged in. You’ll see a drop-down menu that lists all other user accounts available in your system.
Option 2: Switch Users from Lock Screen (Windows + L)
- Press the Windows key + L simultaneously (i.e. hold down the Windows key and tap L) on your keyboard and it will lock your computer.
- Click the lock screen and you’ll be back on the sign-in screen. Select and log in to the account you want to switch to.
Option 3: Switch Users by Pressing Alt + F4
- The Alt + F4 keyboard shortcut has been around about as long as Windows has, as a shortcut to close the window that’s in focus. If your desktop has the focus, then pressing Alt + F4 will bring up the Shut Down Windows dialog. If the focus is not in your desktop, press the Windows key + D to hide all programs or click your desktop background.
- Select Switch user from the drop-down menu, and click/tap on OK or press Enter.
Option 4: Switch Users by Pressing Ctrl + Alt + Del
- Press Ctrl + Alt + Del at the same time to open the security screen.
- Click on Switch user. You will now be taken directly to the sign-in screen to select and sign in to the account you want to switch to.
Option 5: Switch Users from Task Manager
- Open the Task Manager in Windows 10. You can launch it by right-clicking the taskbar and then selecting “Task Manager“, or pressing the Ctrl + Shift + Esc keyboard combination.
- By default, the Task Manager will open in compact view. Click the “More Details” button at the bottom to access the full Task Manager.
- Click on the Users tab, select a user that you want to switch to, and click on the “Switch user” button.
Here is a quick and easy way to remotely log off end users who are still logged into their computers. This is especially useful when you are trying to do maintenance.
End users are sometimes logged into their computers for far too long. It seems like every time you’d like to do some maintenance on the computer that requires a user logging out, they don’t seem to do it or the computer is idling with them logged in! Luckily, we can take this into our own hands by forcing a logoff remote from another computer.
Using PowerShell, we can create a script that reaches out to one or more remote Windows computers, checks to see if anyone is logged in and, if so, logs them out. We can even log off all users if we so desire.
Before we get too crazy though, we first need to figure out how to find which users are logged into a remote computer.
Checking Who Is Logged-in
There are a few ways to do that but I’ve chosen to use the quser command. This is a non-PowerShell command but we can still just as easily use it from within PowerShell.
You can play around with this command by running it locally on your Windows computer to get an idea of the output.
However, we’ll be using PowerShell to parse this string output so you don’t have to worry about it in the first place!
The quser command also can query remote computers using the /server switch, however, I have chosen not to use this method because we now have the advantage of using PowerShell Remoting. Instead, we can run quser by itself on the remote computer.
Remote Logoff in PowerShell
Now that you know of how to find the logged in users, we now need to figure out how to log off a user. I’ve chosen to use the logoff command. The logoff command is another non-PowerShell command, but is easy enough to call from within a script.
In the example above, ‘abertram’ is logged into the remote computer in session 2. Using the logoff command, we simply need to pass the session ID to the command as an argument and it will dutifully log the user off as expected.
I can run quser again on the remote computer and we can now see that it has been logged off.
Remotely Logoff a Specific User
We now need to put these two commands together to allow us to specify a username rather than a session ID to log off a user account. To do that, we need to run quser, filter the output by username and then parse the session ID from that output sending it to the logoff command.
You can see above when Invoke-Command is running with the scriptblock created, it will detect the user logged in and immediately log them off. Pretty cool! Don’t stop here; read our eBook, “How to Automate Using PowerShell,” for other automation hacks.
Hi all. I have to think this is a common problem but Googling produces mixed results and very few people seem to actually have this under Windows 10. So the issue is that for Windows 10 systems, some of them don’t show all the local user accounts in the bottom left of the login screen. Non-domain environment and using no online accounts. So the system will display the last logged in user in the middle as normal in Windows, but there is zero option to toggle or change things to a different user. Also when logging in as that one available user, then going to the user account via the start menu where you could then choose to Sign Out (or switch to another user), that other user is not displayed.
Before messing around with secpol.msc on this I decided to look at some basics. I went to manage This PC and Local Users and Groups, edited the "missing" user’s group memberships. Under Win 7, for a staff-level non-admin account I would always just have them in Remote Desktop Users group, and resultantly this would allow them to have the rights of Users and as well as the ability for me to RDP in as them to troubleshoot. But maybe under Win 10 things have changed, because as soon as I added the missing user to Users so it’s then in both groups, now the account shows up on the login screen in the bottom left.
Is that a bug for MS to fix, or just changes in the groups? Or have I gone all these years with a mistaken understanding of what rights are implied in the Remote Desktop Users group? 🙂
Want to log out of Windows 10 in your account and change another guest user account? Here, this article introduces four simple methods to help you sign out on Windows 10 computer.
Video guide on how to sign out in Windows 10:
How to Log out of Windows 10–4 Ways
Way 1: Sign out via the user icon.
Open Start Menu, click the user icon on the top-left corner and choose Sign out in the menu.
Way 2: Sign out through the Shut Down Windows dialog.
Press Alt+F4 to open the Shut Down Windows dialog box, tap the small down arrow, select Sign out and hit OK.
Way 3: Sign out from the Quick Access Menu.
Open the Quick Access Menu by Windows+X, point at Shut down or sign out and choose Sign out in the sub-list.
Way 4: Sign out via the Ctrl+Alt+Del options.
Press Ctrl, Alt and Del keys at the same time, and then select Sign out in the options.
Hot Articles How to Reset Windows 10 Forgotten Password How to Bypass Windows 10 Password Login with/without Password Easy Guide to Reset Windows 10 Admin Password Like an Expert 4 Tips to Change Windows 10 Password without Knowing Current Password Can’t Sign into Microsoft Account Windows 10 | Account Locked/Blocked More + Hot Categories Windows 10 Password Windows 8 Password Windows 7 Password More + Latest Articles How to Calculate Power Consumption of a PC 7 Useful Commands Windows 10 Users Should Know 7 Ways to Access System Restore in Windows 10 How to Create or Delete Partitions Using Command Prompt How to Format Disk Partition Using Command Prompt How to Enable and Use God Mode in Windows 10 More + Hot Products Windows Password Genius iTunes Password Genius Product Key Finder More +