• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows: “User username (SessionId=2) could not be logged off. Access is denied.” Fix

Windows: “User username (SessionId=2) could not be logged off. Access is denied.” Fix

December 13, 2022 by Mitch Bartlett 24 Comments

Users of Microsoft Windows 11, 10, 8, 7, or Vista may receive an error when they try to log off a user using Task Manager. Here’s how to work around this issue.

User username (SessionId=2) could not be logged off. Access is denied.

  1. Right-click an empty area of the taskbar, then choose “Task Manager” to open the Task Manager window.
  2. Select the “Processes” tab
  3. Choose “Show processes from all users“.
  4. When prompted type the administrator password.
  5. Task manager should now run in Administrator Mode. End Task for processes that are running from users that are disconnected.
  6. Switch to the “Users” tab and log off the user. You may want to also logoff any other users who are “Disconnected”.

For Physically Console Logged-in users, all Processes needs to be “Closed” or “End Task”. In some instances, this process will not work. In that case, you may have to login with a different account that has administrator rights.

You Might Also Like

  • Windows: "Access Denied" When Running Attrib
    Windows: "Access Denied" When Running Attrib
  • Windows 10: Access Denied When Modifying HOSTS or LMHOSTS file
    Windows 10: Access Denied When Modifying HOSTS or LMHOSTS…
  • Acrobat Reader: Fix "There was an error opening this document. Access denied."
    Acrobat Reader: Fix "There was an error opening this…
  • Fix "Access to the registry key is denied" Error When Setting Policy For PowerShell Scripts
    Fix "Access to the registry key is denied" Error When…
  • Windows: Find Who is Logged Into a Computer
    Windows: Find Who is Logged Into a Computer
  • Can't Delete Folder "You have been denied permission" Fix for Windows
    Can't Delete Folder "You have been denied permission" Fix…

Filed Under: Windows

Reader Interactions

Comments

  1. Itchydon says

    February 9, 2023 at 10:08 am

    Can’t believe I have never experienced this before. Works a treat. Many thanks

  2. semsv says

    October 19, 2021 at 7:09 am

    I was just helped by this solution, had problems logging off an user due to profile issues.
    Thanks again and greetings from Sweden. :)

  3. Alberto Sepulveda says

    June 12, 2019 at 9:06 am

    Good! Thanks you!

  4. V says

    March 24, 2019 at 5:59 am

    Cool Bro!!!
    it can be handy for a veteran like me. :)

    Many thanks.

  5. Rui Moreira says

    February 7, 2019 at 6:07 am

    Many Thanks! :)

  6. Beyrak Rahimov says

    January 23, 2019 at 6:42 am

    Thanks, Very Good!

    bless you for that solution !!!

  7. Clayton Mattos says

    December 13, 2018 at 4:23 pm

    Thanks! Very Good!

  8. Rafael Benza says

    December 13, 2018 at 4:15 am

    Thanks you very much. This solution helped me too.

    I had to end the processes and then disconnect the user.

  9. Dan says

    September 27, 2018 at 8:08 am

    Hi guys.
    I’ve try this at home and it works great, just a question.
    I need log off users from my work computer but I have not administrator privileges.
    Is there any option I can use?

  10. jayavel says

    October 29, 2017 at 1:22 am

    thanks its worked :)

  11. Just IT User says

    June 14, 2017 at 2:28 pm

    After closing all the Processes for all “Disconnected Users’ I was able to ‘LogOff’ those users.
    2 Distinction of Logged Users – Actual RDP’d users and Physical console logon.

    For Physically Console Logged-in users, all Processes needs to be ‘Closed’ or ‘End Task”
    For RDP’d users, you can right-click then logoff that user.

  12. Gabriel says

    April 13, 2017 at 2:45 pm

    Great! It worked!

  13. Erik says

    March 15, 2017 at 8:34 pm

    It is nice to find a web site that offers simple advice that simply works.

    Thank you!

  14. Siva says

    February 18, 2017 at 7:08 am

    Thank you very much!

  15. venu says

    January 2, 2017 at 7:02 am

    awesome ! thank you very much for the info

  16. Girish Joshi says

    October 29, 2016 at 12:59 am

    Excellent! Worked for me on 29th Oct 2016. Thank you very much

  17. shiva subramaniyan K says

    August 28, 2016 at 2:25 am

    Super it works for me

  18. Windows user says

    December 14, 2015 at 4:43 pm

    Worked! Thanks!

  19. Adam says

    December 2, 2015 at 8:08 am

    Thank you so much! This worked for me.

  20. MAK220 says

    November 6, 2015 at 8:59 am

    thanks for the info.

  21. itai says

    November 2, 2015 at 3:43 am

    thanks !!!!
    bless you for that solution !!!

  22. Surendran says

    September 10, 2015 at 1:21 am

    Thanks, my problem resolved

  23. Prajeesh says

    August 2, 2015 at 3:09 pm

    Thx It worked :)

  24. Nate says

    January 5, 2015 at 4:51 pm

    Awesome! Thanks for the info.

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Export Chrome Bookmarks
  • How to Make Your iPad’s Keyboard Bigger
  • How to Enable and Manage Do Not Disturb on iPad (iPadOS 16.5)
  • How to Put Apps to Sleep in Windows 11
  • Fix: Excel Opens in Tiny Window
  • What is SMPS?
  • How to Find Watched Videos on Facebook in 2023
  • How to View Facebook Memories in 2023

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Random Access Memory (RAM)
  • Windows 95/98
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Windows 95
  • Windows Media Player (WMP)

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy