Share via


Windows 10 - Logoff from locked screen?

Question

Monday, June 6, 2016 9:48 PM | 1 vote

We’re going to be turning off “switch user” and are looking for a solution that allows non-admin folks to log off other folks on a shared PC when the screens locked. 

Any one done this before?

All replies (3)

Tuesday, June 7, 2016 7:27 AM ✅Answered | 1 vote

Hello,

This might be something for you:

https://social.technet.microsoft.com/Forums/windows/en-US/d358382c-e91b-4e91-a1e8-04c53cfd91ce/automatic-logout-after-inactivityidle

or just make sure users cannot lock the computer is that an option?


Wednesday, June 8, 2016 7:13 AM ✅Answered | 1 vote

Hi,

To allow non-admin to log off others on a shared PC when the screen locked?

I don't think it is possible.

For client edition of Windows, it will only allow One user session at a time, so if currently the PC is used locally, without agreement it won't be connected remotely; but when PC is locked, the person is out of control of his user session, neither to say to log off the others' ;

For server edition of Windows, to log off others, you should grant the non-admin with the admin rights, to force others logging off when the one is logged in; and again, once locked, I don't think it could be done.

Regards

Please mark the reply as an answer if you find it is helpful.

If you have feedback for TechNet Support, contact [email protected]


Friday, May 24, 2019 5:39 PM | 1 vote

I have tested this on Windows 10 (1803, 1809, and 1903) enterprise.  The SharedPCMode option places a "Sign out" button where the "Switch User" button would've been (bottom left of lock screen).  Setting/Adding registry key:

HKEY_LOCAL_MACHINE\SOFTARE\Microsoft\Windows\CurrentVersion\SharedPC\

SharedPCMode=1

(REG_DWORD)

does the job.