Prevent Windows Users Changing Date & Time
In this article
- Why Users Can Change the Date and Time
- Method 1: Local Group Policy Editor (Pro and above)
- Method 2: Registry Edit (All editions, including Home)
- What About the “Set time automatically” Toggle?
- Common Problems and Fixes
- How to Choose the Right Method
- Alternatives and Additional Restrictions
- Frequently Asked Questions
To stop Windows users from changing the date and time, you use Group Policy or the Registry to disable the “Change the time zone” and “Change the system time” privileges. The most reliable method for Windows 10 and 11 Pro, Enterprise, or Education is the Local Group Policy Editor, while Home editions require a Registry edit. Below are step-by-step instructions for both, plus what to do when the settings don’t stick.
Why Users Can Change the Date and Time
Windows gives every user the ability to change the system clock by default. This is intentional: many devices are not domain-joined, and even on domain networks, users may travel between time zones and need to adjust their local time. The permission is controlled by two user rights assignments:
- Change the time zone – a right granted to Users and Power Users.
- Change the system time – a right granted to Administrators and Power Users.
Because standard users already have the “Change the time zone” right, they can alter the displayed time without any admin credentials. The “Change the system time” right is more restricted, but any user in the Administrators group can change it. To prevent all changes, you must revoke or deny both rights.
Method 1: Local Group Policy Editor (Pro and above)
The Group Policy Editor is the cleanest way to control these privileges. It is available on Windows 10/11 Pro, Enterprise, and Education editions. Home editions do not include it.
- Press Win + R, type
gpedit.msc, and press Enter. - Navigate to Computer Configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment.
- In the right pane, double-click Change the time zone.
- Select the user or group you want to block (e.g., Users), click Remove, then OK.
- Double-click Change the system time and remove the same users/groups.
After removing the Users group from both policies, standard users will see a UAC prompt when they try to change the time, and they will not be able to proceed. Administrators will still be able to change it unless you also remove Administrators from the “Change the system time” policy—but doing so will lock out even the built-in admin, so only do that if you have another way to revert the change (e.g., safe mode or another admin account).
Method 2: Registry Edit (All editions, including Home)
Windows Home lacks gpedit.msc, but you can achieve the same result by editing the Registry directly. The relevant keys are under SECURITY
ights in the local SAM, but editing them directly is error-prone. A safer approach is to use the secedit command to export and modify the security policy.
- Open an elevated Command Prompt (Run as administrator).
- Export the current policy:
secedit /export /cfg C:\secpol.cfg - Open the file
C:\secpol.cfgin Notepad. - Find the lines for
SeTimeZonePrivilegeandSeSystemtimePrivilege. They will list SIDs (e.g.,*S-1-5-32-545for Users). Remove the SIDs you want to block. - Save the file, then import it:
secedit /configure /db C:\Windows\security\local.sdb /cfg C:\secpol.cfg /areas USER_RIGHTS - Reboot the computer.
This method works on all editions, but it is more technical. If you are not comfortable editing security policy files, consider upgrading to Pro or using a third-party parental control tool.
What About the “Set time automatically” Toggle?
Even if you disable the user rights, a user can still change the time if the “Set time automatically” option is turned off. That setting is controlled by the Windows Time service and the w32tm tool. To prevent users from toggling it, you can disable the “Set time automatically” option via Group Policy:
- In
gpedit.msc, go to Computer Configuration → Administrative Templates → System → Windows Time Service → Time Providers. - Enable Enable Windows NTP Client and set it to Enabled.
- Also set Enable Windows NTP Server to Disabled (unless you need it).
This forces the clock to sync with a time server, overriding any manual changes. However, it does not stop a user from disabling the service itself if they have admin rights.
Common Problems and Fixes
Users may still find ways to change the time, or the policy may not apply as expected. Here are the most frequent issues:
- Policy not applying: Run
gpupdate /forcein an elevated command prompt, then reboot. Group Policy changes usually apply immediately, but some rights changes require a restart. - User is an administrator: If the user is in the Administrators group, removing Users does nothing. You must remove Administrators from the “Change the system time” policy as well, but be aware that this will also prevent the built-in admin from changing the time manually.
- User changes the time zone instead: The “Change the time zone” right is separate. If you only removed Users from “Change the system time,” they can still change the time zone, which shifts the displayed time. Remove them from both policies.
- User uses Command Prompt: A user with the Change the system time right can use
timeordatecommands. The policy blocks those too, because they require the same privilege. - User resets the BIOS clock: No Windows policy can prevent a user with physical access from changing the BIOS clock. If you need to prevent that, you must set a BIOS password.
How to Choose the Right Method
Your choice depends on your Windows edition and your environment:
- Windows 10/11 Pro, Enterprise, Education: Use Group Policy. It is easier to manage and can be applied to multiple computers via domain GPOs.
- Windows 10/11 Home: Use the Registry/secedit method. It works, but it is harder to deploy to many machines.
- Domain environment: Create a Group Policy Object (GPO) in Active Directory and link it to the relevant OUs. This centralizes the change and prevents local tampering.
- Single computer, no admin access: If you are not an admin, you cannot change these settings. You would need to ask the administrator to apply the policy.
Alternatives and Additional Restrictions
If you need more granular control, consider these options:
- Standard user accounts: The simplest way to prevent changes is to make the user a standard user (not an administrator). Standard users cannot change the system time unless you explicitly grant them the right.
- Parental controls: Windows Family Safety or third-party parental control apps can restrict time changes without touching user rights.
- BIOS password: Set a BIOS password to prevent changes to the hardware clock, which would otherwise bypass Windows.
- Kiosk mode: For public or shared computers, use Windows Kiosk Mode or Assigned Access to limit the user to a single app, which removes the ability to change system settings entirely.
Frequently Asked Questions
Can I prevent a standard user from changing the time without Group Policy?
Yes. You can use the secedit method described above, or you can simply not grant the “Change the system time” right to that user. By default, standard users do not have that right—they only have “Change the time zone.” If you remove that right as well, they cannot change either.
Why does the time change back after I set it manually?
If “Set time automatically” is on, Windows will sync with a time server and override manual changes. To prevent that, turn off the automatic sync, or disable the Windows Time service. However, if you are trying to prevent users from changing the time, you actually want the automatic sync to remain on.
Does this work on Windows 11?
Yes, the Group Policy and Registry methods work identically on Windows 11. The menu paths in the Settings app are slightly different, but the underlying policies are the same.
What if I accidentally remove Administrators from the “Change the system time” policy?
You will no longer be able to change the time manually. To revert, you need to boot into Safe Mode (which uses a different policy store) or use another admin account to edit the policy back. In a domain, you can also apply a GPO that grants the right again.
Can a user bypass this by changing the time zone?
Only if you did not remove the “Change the time zone” right. That right is separate, and if left intact, a user can change the time zone, which shifts the displayed clock. Remove both rights to fully block changes.