When you share your Windows 11 PC with other usersyou may need to disconnect them from their session for a number of reasons: maintenance, security, resource optimizationetc.
This complete guide explains, step by step, how to log out other users from Windows 11 using different methodseach has its own advantages and disadvantages.
Log out of other users using Task Manager
The task manager is a tool built into Windows 11 that provides an overview of system processes and performance. It also allows you to log out other users in a simple and intuitive way.
Steps to follow :
- Press the keys simultaneously Ctrl + Shift + Escape to open the task manager.
- Click on the tab Users.
- Select the user you want to log out of.
- Click the button Disconnect bottom right of the window.
- Confirm your selection by clicking on Disconnect in the pop-up window that appears.
Benefits :
- Simple and intuitive method.
- Quick access via keyboard shortcut.
- User-friendly graphical interface.
Disadvantages :
- Requires admin rights to log out other users.
- Does not allow remote logout of users.
Log out from other users using the command line
For more experienced users, thecommand line offers a powerful alternative to logging out other users. This method uses the command log out to log out of a specified user.
Steps to follow :
- Open command prompt in administrator mode.
- Type the following command:
logoff <nom_utilisateur>
Replace <nom_utilisateur>
with the username of the person you want to disconnect.
- Press the key Entrance to execute the command.
Benefits :
- Powerful and flexible method.
- Allows you to disconnect users remotely.
- No GUI required.
Disadvantages :
- Writing commands to learn.
- Less intuitive for novice users.
Log out of other users using Process Explorer
Process exploration is an advanced tool developed by Microsoft that provides a detailed view of the processes running on your system. Allows users to log out by killing their session processes.
Steps to follow :
- Launch Process Explorer and find the process winlogon.exe associated with the user you want to log out of.
- Right click on the process winlogon.exe and select Complete the process in the context menu.
- Confirm your selection by clicking on Complete the process in the pop-up window that appears.
Benefits :
- Provides a detailed view of processes and sessions.
- Allows you to disconnect users who are no longer responding.
Disadvantages :
- Advanced tool that can intimidate novice users.
- It requires an understanding of system processes.
Ask other users before disconnecting them
Before you log out another user, it always is polite and respectful ask him first. This helps avoid losing unsaved data or interrupting your work.
Advice :
- Send a message to the user via instant messages or email.
- Make a voice announcement if you share the same physical space.
- Explain the reason for disconnection and offer an alternative if possible.
conclusion
Logging out other users in Windows 11 is a simple and common operation. However, if you are looking for a more convenient and permanent solution to access your session without entering a password, Windows unlock without password is an interesting alternative.