Disable Group Policy Windows 7

Posted by admin
Disable Group Policy Windows 7 4,9/5 88 reviews

Windows 7 Themes Greyed Out Change Theme ONCE. Load specific Windows 7 theme when the user logs on for the first time only. Step Click on “Start” and enter gpedit.msc into the search field and click on the item that appears 2. Step Uncollapse User Configuration Administrative Templates Control Panel Personalization 3.

On my Windows 7 PC the system becomes locked after 10 minutes of inactivity. Usually I would find this setting next to the screen-saver configuration. The setting is grayed out, however.

I think this is because of corporate group policy. As I am an administrator on this computer I should be able to reconfigure the group policy setting using gpedit.msc.

What is the group policy setting that I need to change to prevent automatic locking of my workstation?

Edit: I don't have configured a screen-saver. I also want to continue to be able to lock the workstation manually.

usrusr
1,3603 gold badges15 silver badges25 bronze badges

8 Answers

Disable Group Policy In Windows 7

To disable Lock:

Under HKEY_LOCAL_MACHINESOFTWARE MicrosoftWindowsCurrentVersionPoliciesSystem, create a new DWORD value named DisableLockWorkstation and set value to 1.

Then restart the computer.

Dave
23.6k9 gold badges44 silver badges64 bronze badges
JasonJason

The answer to the actual question you asked:

User ConfigurationPoliciesAdministrative TemplatesControl PanelPersonalization. The required settings are: 'Enable screen saver', 'Screen saver timeout', 'Force specific screen saver' (this is important because if the system has no screensaver configured this won't work) and finally 'Password protect the screensaver'.

from https://social.technet.microsoft.com/Forums/windowsserver/en-US/5c2518d4-f531-471a-a649-0f5dd5495679/group-policy-to-auto-lock-the-system-after-fix-interval?forum=winserverGP

CAD blokeCAD bloke

The Group Policy from the domain will likely override any change you make. If this is creating an issue for your work, why not contact the admin and look at solutions. Making changes may be a violation of corporate policy and have consequences.

A quick call should help.

Dave MDave M
12.8k9 gold badges28 silver badges38 bronze badges

Group policy overrides your settings, but you can mimick user activity to prevent the screen lock. Check this answer for easy how to.

Community
TranslucentCloudTranslucentCloud

Like others have said, the domain policy will generally override any local settings you try to configure for this. There's a couple other things I'd like to add, though:

Be careful tweaking this setting, whether it be via registry or otherwise. I once tried messing with mine on one system (domain policy is to lock after 15 minutes, but I prefer 5 - can't remember what I changed, though) and the system ended up listening to neither the domain nor my preference even after I rolled back the change. In this case, it ended up not running a screensaver at all. That's exactly what you want, but definitely not what I'd intended. YMMV.

Regardless: Unless your system is the sort that requires full-time immediate access, for the preservation of life and/or property (i.e.: 911 Call Center), it is probably against your organization's policy to prevent the workstation from locking. If your system did fall into that category, then it would probably already be configured not to lock. Therefore, it's best to just leave it alone.

Even if you do manage to change the setting permanently, corporate administrators may detect the computer as being out of compliance and force the policy on again. After a few times of doing this, you or your manager may get a memo or visit from your friendly IT Security department.

IsziIszi
7,57336 gold badges93 silver badges160 bronze badges

Just play some songs in Windows media player by selecting in repeat option.(Mute the volume). Then it never locks or sleeps.

Madhusudhan VMadhusudhan V

You can use the Nosleep.exe function. It works like a charm. You need to download it from the internet.

This works on Windows 8/7/2008R2/2003 R2

Download link http://www.symantec.com/connect/downloads/readynosleepexe-prevents-screensaver-and-pc-locking

GontieGontie

I wanted to do something similar.

I tried the freeware Caffeine but it was blocked by our IT policies. I ended up writing a Python script that does a similar thing (sending the keystroke F15 every xx seconds).

(It can definitely be trimmed to a minimum of lines but just got 15 minutes to spare on it so the first part is a big copy-paste of other code).

Here it is:

Disable group policy windows 7 regeditDisable screensaver group policy windows 7Jean-Francois T.Jean-Francois T.
3501 gold badge3 silver badges14 bronze badges

Not the answer you're looking for? Browse other questions tagged windows-7windowsgroup-policywindows-domaingpedit or ask your own question.