Jump to content

Recommended Posts

Posted

Hiya,

I am currently working on a GPO to force a lock screen after some minutes of inactivity. By using the following settings I have a GPO that works to display a screen saver after a few minutes but still no lock screen. Has anyone got any ideas please?screensaver GPO.jpg

Posted (edited)
Has anyone got any ideas please?

The following GPO works fine for me on Windows 10 (even without a screensaver set)...

 

Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/Security Options > Other > Policy Setting

[b]Interactive logon: Machine inactivity limit[/b] = 600 seconds (or whatever you want it to be)

 

I keep user and computer-based GPOs separate (rather than mix them together like in your screenshot). :)

 

0VkSUj.png

Edited by Arthur
Posted
Thanks Arthur, but that is what I have also done in that GPO ( I think you should be able to see that at the top of the previous image) and it doesn't seem to take affect.
Posted (edited)
it doesn't seem to take effect.

Is the computer you are testing it on located in the same OU as the GPO (since it looks like your Windows 10 computers are in a completely different OU where the screensaver policy doesn't apply)?

Edited by Arthur
Posted

Hi Arthur, thanks for the update. I am going to try again, starting by scratch and just have the security setting policy (not the screen saver) as you have suggested.

I will move the GPO to the correct OU after testing and verifying it works.

I will test with the new configuration and update this post.

Posted
Hi 'NetworkServices' your GPO is the same config as mine (except the timings). I don't understand.:confused:

 

You're not running a PowerPoint or playing a video on the offending test machine, are you? It won't automatically lock if you are.

Posted (edited)

Hmm? maybe not then re the read permissions. How can I check please?

There are no programs playing /in use btw.

Edited by lkaylor
Posted
Have you tried unplugging the mouse? It's a long shot but sometimes optical mice (particularly inexpensive ones) suffer from wandering when they're stationary. This would be enough to prevent the machine locking.
Posted
Hmm? maybe not then re the read permissions. How can I check please?

If you go to the Delegation tab of your GPO, do the permissions look similar to the screenshot below?

 

IRWD3L.png

  • Thanks 1
Posted

After some more tweaking i found that 'disabling' " Interactive logon: Do not require CTRL+ALT+DEL "

In the following GPO settings worked!

 

 

Computer

Configuration (Enabled)-Policies-Windows Settings -Security Settings -Account Policies/Account

Local Policies/Security

Interactive Logon

[TABLE=class: info]

[TR]

[TH]Policy[/TH]

[TH]Setting[/TH]

[/TR]

[TR]

[TD][/TD]

[TD][/TD]

[/TR]

[TR]

[TD]Interactive logon: Do not require CTRL+ALT+DEL [/TD]

[TD]Disabled[/TD]

[/TR]

[/TABLE]

 

 

It's not what I wanted ideally but will help with upcoming GDPR. Thanks for all suggestions.

  • 2 weeks later...
Posted

I've revisited this post as I really thought it had worked but in fact does not. It is only the screen saver that activates in the chosen time, screen lock does NOT work. On further research I see that it may be that some GPOs will not work on Win 10 pro. Is this correct? Am I wasting my time?

many thanks in advance.

Posted
I've revisited this post as I really thought it had worked but in fact does not. It is only the screen saver that activates in the chosen time, screen lock does NOT work. On further research I see that it may be that some GPOs will not work on Win 10 pro. Is this correct? Am I wasting my time?

many thanks in advance.

 

You have to make sure you have the correct .ADMX files for the version of Windows 10 you're using.

 

The .admx files for version 1803 can be found here.

 

I have the lock screen working in 1803 with the following settings:

 

Group Policy – Computer Configuration –Policies – Administrative Templates – Control Panel – Personalization – Force a specific lock screen and logon image, prevent enabling lock screen camera, prevent changing lock screen and logon image

 

You also need to ensure permissions are in place so the image can be viewed. My lock screen photo is in the NETLOGON folder on the DC.

  • Thanks 1
Posted
Hi gmonks, thanks for your reply. I have now updated admx files and after testing still only get the screensaver, not a lock out.
Posted
Hi again, I have created a 'fresh' gpo following gmonks config suggestion. Group Policy – Computer Configuration –Policies – Administrative Templates – Control Panel – Personalization – Force a specific lock screen and logon image, prevent enabling lock screen camera, prevent changing lock screen and logon image. Now nothing is happening. Where would one set the inactivity timeout as I see the user GPO config are now obsolete?
Posted
Update, I have now tested on version to Windows 10 Edu as I couldn't get the lock screen gpo to work on Windows Pro. However, it still does not work. I am running out of things to try.
Posted
Update, I have now tested on version to Windows 10 Edu as I couldn't get the lock screen gpo to work on Windows Pro. However, it still does not work. I am running out of things to try.

 

Apologies, I read your post wrong.

 

Try this:

 

Computer Configuration – Policies – Windows Settings – Security Settings – Local Policies – Security options – Interactive Logon Machine Inactivity limit

  • Thanks 1
Posted
Thank you gmonks. Still no log out though. The screen goes black after inactivity time but with a wiggle of the mouse I am back on the user desktop. These are laptops I am working with. Do you think there is something I could change with power settings perhaps?
Posted
I had a fresh look at this yesterday. I did some more experimenting and once I applied the GPO to a root OU it seemed to work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...