

How to allow a user to logout someone else from a Locked Computer
Skriven av
Markus Lassfolk
,
i
tips
08 June 2012
·
2072 visningar
script logoff logout locked force log off windows 7 win7 vista
It does happen that on a shared computer, someone might have forgot to log off which prevents new users from logging on.
You can use either a Screen Saver to log off the user when it becomes active, or use a Scheduled Task which is triggered on Idle time.
Or, you can do like this. Replace the "Ease of Access" function at the Locked Screen with a Log off function.
I've not tried it, but it should be possible to Deploy the .exe file to multiple computers with Group Policy Preferences so you don't have to do it manually.
Källa: windows 7 - logoff efter viss tids inaktivitet / idle
You can use either a Screen Saver to log off the user when it becomes active, or use a Scheduled Task which is triggered on Idle time.
Or, you can do like this. Replace the "Ease of Access" function at the Locked Screen with a Log off function.
- Create a bat file like this
@Echo off
%windir%\system32\shutdown /l /f
%windir%\logoff.exe - Download a "Bat to Exe" converter and run it on your bat file so you get a exe file
- Take Ownership and grant Administrators Full Access to %windir%\system32\utilman.exe
- Replace utilman.exe with your .exe file from Step 2
I've not tried it, but it should be possible to Deploy the .exe file to multiple computers with Group Policy Preferences so you don't have to do it manually.
Källa: windows 7 - logoff efter viss tids inaktivitet / idle