Ok here we go my computer randomly enters the lock screen as if I had locked it. This will happen while I am actively using the computer. I need to track down the cause because I fear it will happen to other computers in the organization.<\/p>","upvoteCount":11,"answerCount":20,"datePublished":"2020-10-28T15:50:23.000Z","author":{"@type":"Person","name":"chewbakka","url":"https://community.spiceworks.com/u/chewbakka"},"suggestedAnswer":[{"@type":"Answer","text":"
Ok here we go my computer randomly enters the lock screen as if I had locked it. This will happen while I am actively using the computer. I need to track down the cause because I fear it will happen to other computers in the organization.<\/p>","upvoteCount":11,"datePublished":"2020-10-28T15:50:23.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/1","author":{"@type":"Person","name":"chewbakka","url":"https://community.spiceworks.com/u/chewbakka"}},{"@type":"Answer","text":"
There can be several factors at play with which to eliminate.<\/p>\n
You state while actively using. Does this constitute actual typing at the time of the lock or mouse movement at the time of the lock? I’m inferring to possible screen saver settings, I’ve seen users set screensavers to lock after 1 minute of inactivity.<\/p>\n
I’ve also seen during typing when the keyboard acts as if the “windows” key is being held and then the letter ‘L’ is pressed, it will result in a locked screen.<\/p>\n
Can you provide more details, frequency of the problem. Are there any periods of time where it does not happen? When did it start?<\/p>","upvoteCount":4,"datePublished":"2020-10-28T15:54:01.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/2","author":{"@type":"Person","name":"tacohunter09","url":"https://community.spiceworks.com/u/tacohunter09"}},{"@type":"Answer","text":"
I would try a new keyboard and maybe running programs.<\/p>","upvoteCount":0,"datePublished":"2020-10-28T16:10:08.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/3","author":{"@type":"Person","name":"alanhult","url":"https://community.spiceworks.com/u/alanhult"}},{"@type":"Answer","text":"
Was this machine upgraded from Windows 7? I had some issues with that in my company and it was extra registry keys in Windows 7 pertaining to the screen saver that carried through to Win 10 and had the computer a mess.<\/p>","upvoteCount":1,"datePublished":"2020-10-28T16:12:38.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/4","author":{"@type":"Person","name":"jtrose","url":"https://community.spiceworks.com/u/jtrose"}},{"@type":"Answer","text":"
I never ran into that particular thing with my Win7 updates, but anything is possible! I’d also check your Event Log viewer for those times to make sure nothing connected to you via RDP…<\/p>","upvoteCount":1,"datePublished":"2020-10-28T16:37:47.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/5","author":{"@type":"Person","name":"tjollimore","url":"https://community.spiceworks.com/u/tjollimore"}},{"@type":"Answer","text":"
Have you checked the lock screen setting under Settings>Accounts>Sign-in Options? There are several options there that work outside of the power scheme that lock the account. Worth a look see. I was having an issue where my PC would lock after 5-10 seconds of non activity and sure enough, dynamic lock was enabled<\/p>","upvoteCount":1,"datePublished":"2020-10-28T16:53:34.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/6","author":{"@type":"Person","name":"Lockout","url":"https://community.spiceworks.com/u/Lockout"}},{"@type":"Answer","text":"
@tacohinter09<\/span> I have checked the screen saver and none are set. I even tried toggling it off and on to see if anything changed, no dice. Regarding timing it seems random I can’t detect an interval. Occasionally it will happen back to back and then not for hours?<\/p>\n I can plug up and external keyboard<\/p>\n Regarding windows 7 an in place upgrade was not done. It was freshly installed windows 10…<\/p>\n Still Looking for answers. I have found the event Id 4800 and it looks like I am locking it but honestly I’m not. Also 4800 can indicate inactivity but I’m typing when it happens?<\/p>\n Arghhhh<\/p>","upvoteCount":0,"datePublished":"2020-10-28T16:58:05.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/7","author":{"@type":"Person","name":"chewbakka","url":"https://community.spiceworks.com/u/chewbakka"}},{"@type":"Answer","text":" I would definitely investigate the keyboard being the problem. Try a different one and see if the issue continues.<\/p>","upvoteCount":2,"datePublished":"2020-10-28T17:19:30.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/8","author":{"@type":"Person","name":"tacohunter09","url":"https://community.spiceworks.com/u/tacohunter09"}},{"@type":"Answer","text":" @toddpriest<\/a> Checked and dynamic lock is not enabled …<\/p>","upvoteCount":0,"datePublished":"2020-10-28T17:23:57.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/9","author":{"@type":"Person","name":"chewbakka","url":"https://community.spiceworks.com/u/chewbakka"}},{"@type":"Answer","text":" @tjollimore<\/a> Looking at event viewer event ID 4624 and there is a 2 min time difference. What in the event info would tip me off to a malicious actor?<\/p>","upvoteCount":0,"datePublished":"2020-10-28T17:30:15.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/10","author":{"@type":"Person","name":"chewbakka","url":"https://community.spiceworks.com/u/chewbakka"}},{"@type":"Answer","text":" You would see that event coming in from an outside address or another workstation ID, if it weren’t legitimate.<\/p>","upvoteCount":0,"datePublished":"2020-10-28T19:35:55.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/11","author":{"@type":"Person","name":"tjollimore","url":"https://community.spiceworks.com/u/tjollimore"}},{"@type":"Answer","text":" You’ve confirmed it is not an idle time issue, and it is not Dynamic locking is not enabled. Any special “scheduled” applications which want user access disabled temporarily? I would still consider the keyboard as a source of the problem, or some other input device. There are some apps for mice that lock the screen when you park the mouse in a corner, so that’s a possibility. I loved that feature on the Mac when I wanted a quick lock.<\/p>","upvoteCount":0,"datePublished":"2020-10-28T20:05:43.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/12","author":{"@type":"Person","name":"brian9460","url":"https://community.spiceworks.com/u/brian9460"}},{"@type":"Answer","text":" [Windows] - [L] will lock your computer. Are you on a laptop or desktop? I’ve seen exactly the same problems as SworldyMe, If you have a couple of laptops stacked on top of each other then the magnetic closing on one lid can interact somehow with the laptop above/below’s switch and locking the device. A more common example would be stacked up ipads, the ones with the cases with folding covers tend to have magnets on which do the same thing.<\/p>","upvoteCount":1,"datePublished":"2020-10-29T12:11:59.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/15","author":{"@type":"Person","name":"joshhawksworth","url":"https://community.spiceworks.com/u/joshhawksworth"}},{"@type":"Answer","text":" My guess is your AD profile is being used as a service profile somewhere or other<\/p>","upvoteCount":0,"datePublished":"2020-10-29T12:59:02.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/16","author":{"@type":"Person","name":"brandontufts","url":"https://community.spiceworks.com/u/brandontufts"}},{"@type":"Answer","text":" Does your Windows key have the same or weaker tactile response as the Ctrl and Alt keys? Has debris made its way below the key cap? Do you have programmable function keys?<\/p>","upvoteCount":0,"datePublished":"2020-10-29T14:47:15.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/17","author":{"@type":"Person","name":"l30n1dis","url":"https://community.spiceworks.com/u/l30n1dis"}},{"@type":"Answer","text":" I have had the lock occur with an external keyboard installed @swordlyme<\/a> yes its a laptop cheers. Here is the event logged right before the lock event. Creator Subject: Target Subject: Process Information: Token Elevation Type indicates the type of token that was assigned to the new process in accordance with User Account Control policy.
\nMake sure the windows-key is not stuck or sticking. If possible try to swap the keyboard.<\/p>","upvoteCount":0,"datePublished":"2020-10-29T08:49:23.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/13","author":{"@type":"Person","name":"c-j-r","url":"https://community.spiceworks.com/u/c-j-r"}},{"@type":"Answer","text":"
\nRecently ran into issue where a users magnetic band on their Fitbit/Apple Watch would lock their Dell 5500 laptop. Anytime the users band went near the bottom right corner of the wrist-rest area, the laptop would lock. The magnetic band was triggering the laptop’s switch making it think that the lid had closed. Thus locking the screen per the settings when closing the lid.<\/p>","upvoteCount":10,"datePublished":"2020-10-29T11:53:41.000Z","url":"https://community.spiceworks.com/t/my-computer-is-locking-but-i-cant-determine-the-cause/780254/14","author":{"@type":"Person","name":"swordlyme","url":"https://community.spiceworks.com/u/swordlyme"}},{"@type":"Answer","text":"
\nLog Name: Security
\nSource: Microsoft-Windows-Security-Auditing
\nDate: 10/30/2020 10:53:34 AM
\nEvent ID: 4688
\nTask Category: Process Creation
\nLevel: Information
\nKeywords: Audit Success
\nUser: N/A
\nComputer: redacted Computer-name.domain info
\nDescription:
\nA new process has been created.<\/p>\n
\nSecurity ID: SYSTEM
\nAccount Name: redacted Computer-name$
\nAccount Domain: Domain
\nLogon ID: 0x3E7<\/p>\n
\nSecurity ID: NULL SID
\nAccount Name: -
\nAccount Domain: -
\nLogon ID: 0x0<\/p>\n
\nNew Process ID: 0x3228
\nNew Process Name: C:\\Windows\\System32\\LogonUI.exe
\nToken Elevation Type: %%1936
\nMandatory Label: Mandatory Label\\System Mandatory Level
\nCreator Process ID: 0x398
\nCreator Process Name: C:\\Windows\\System32\\winlogon.exe
\nProcess Command Line: “LogonUI.exe” /flags:0x0 /state0:0xa3d4f055 /state1:0x41c64e6d<\/p>\n
\nType 1 is a full token with no privileges removed or groups disabled. A full token is only used if User Account Control is disabled or if the user is the built-in Administrator account or a service account.
\nType 2 is an elevated token with no privileges removed or groups disabled. An elevated token is used when User Account Control is enabled and the user chooses to start the program using Run as administrator. An elevated token is also used when an application is configured to always require administrative privilege or to always require maximum privilege, and the user is a member of the Administrators group.
\nType 3 is a limited token with administrative privileges removed and administrative groups disabled. The limited token is used when User Account Control is enabled, the application does not require administrative privilege, and the user does not choose to start the program using Run as administrator.<\/p>\n