Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - The Few, The Proud, The Geeks.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. Sergei Strelec's WinPE
6. Microsoft Visual C++ 2015-2022 Redistributable Package
7. Visual C++ Redistributable Runtimes AIO Repack
8. McAfee Removal Tool (MCPR)
9. K-Lite Mega Codec Pack
10. Tweaking.com - Windows Repair
More >>

top reads

Star All the New Features Landing in Windows 11 This December

Star Lossless vs Lossy: When FLAC, APE, and ALAC Beat MP3 and When They Don't

Star Google Search Tricks You'll Actually Use in 2025 and Beyond

Star Fresh PC Checklist: First 12 Things to Do On a New Windows 11 Machine

Star Running AI Models Locally: What They Are, Where to Find Them, and How to Get Started

Star Deciding Between Idle State, Sleep Mode, and Shutdown: What's Best for Your PC?

Star How to Fix VMware Workstation "The Update Server Could Not Be Resolved" Error Installing VMware Tools

Star How to Remove Google Gemini from Your Phone (and Your Life)

Star Windows Bloat Removal Guide: Debloat Safely and Keep What You Need

Star Windows 11 Repair Playbook: SFC, DISM, CHKDSK Without Breaking Stuff


MajorGeeks.Com » Overview» Tutorials and Video Guides » 3 Ways to Log off Another User in Windows 10

3 Ways to Log off Another User in Windows 10

By Timothy Tibbetts

on 06/15/2023

⚡ Black Friday Blowout! IObit Pro Up to 90% Saving PLUS $5 off! ⚡
Once-a-year pricing on speed, privacy, and protection. Don’t miss the best deal IObit drops all year!

If you need to log off another user from your computer, you can do so using PowerShell, the Command Prompt, or the Task Manager. Here's how.

1: Task Manager

Open the Task Manager and click on More Details.

Click on the User tab.



Right-click on the user and click on Sign off.

2: Command Prompt

Open the Command Prompt or PowerShell and type in query session to list all users. Take note of the ID of the person you want to log off.



To log someone off, type in logoff ID replacing ID with the ID number.

3: PowerShell

We've always preferred PowerShell whenever possible, but you'll need to know the exact user name. Using the Task Manager or Command Prompt are easier choices, which is why we saved PowerShell for last.

Open PowerShell and type in $sessionID = ((quser /server:'you computer name' | Where-Object { $_ -match 'user name to sign off' }) -split ' +')" onclick="window.open(this.href);return false;">.

Now, type in logoff $sessionID

Similar:
  • How to Change Your User And Account Names in Windows 10
  • How to View Full Details of Any User Accounts in Windows
  • How to Hide User Accounts from the Windows 10 Sign-In Screen
  • Force Users to Change Account Password at Next Login
  • How to Delete a User Profile in Windows 10
  • Reset Your Local Account Password In Windows 10
  • How to Add or Remove 'Accounts Settings' Context Menu in Windows 10

    comments powered by Disqus





  • © 2000-2025 MajorGeeks.com
    Powered by Contentteller® Business Edition