This will sign out the affiliated user without giving any alert to him or you.Ħ) Check if a user has been logged off by typing: query again. This lists the number of users signed into your device along with their username, ID number, state, type, and device.ĥ) Choose the user ID affiliated with the person who you want to log off from your device and type: logoff without the brackets. If you want to forcefully logoff the user without giving him the option to save his work, then there are two methods that can be used:Ģ) Right-click over it and choose Command Prompt (Admin) from the pop-up menuģ) Select Yes if “User Account Control” dialogue box appearsĤ) Once the Command prompt window opens, type: query session and hit Enter button
This will log-off from the current system and take you to the login page. This method doesn’t include command prompt but you can log off from the system using shortcut keys:ģ) Right-click over the currently logged-in user and choose Log Off