Date and Time - Allow or Prevent Users and Groups from Changing

Page 1 of 2 12 LastLast
    Date and Time - Allow or Prevent Users and Groups from Changing

    Date and Time - Allow or Prevent Users and Groups from Changing

    How to Allow or Prevent Specific Users and Groups from Changing the Date and Time in Windows
    Published by
    Designer Media Ltd


    How to Allow or Prevent Specific Users and Groups from Changing the Date and Time in Windows

       Information
    This will show you how to allow or prevent specific users and groups from being able to change the computer date and time in Vista, Windows 7, and Windows 8.

    You will need to be an administrator to open the Local Security Policy Editor.
       Note
    Default Users and Groups Allowed to Change the Date and Time
    NOTE: This user right determines which users and groups can change the time and date on the internal clock of the computer. Users that are assigned this user right can affect the appearance of event logs. If the system time is changed, events that are logged will reflect this new time, not the actual time that the events occurred.

    On Local Computer, Workstation, and Servers: Administrators, LOCAL SERVICE

    On Domain: Administrators, Server Operators, LOCAL SERVICE






    OPTION ONE

    Allow or Prevent Changing Date and Time using Local Security Policy

    1. Open the Local Security Policy window, double click/tap on Local Policies and User Rights Assignment in the left pane to expand them open. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-step1.jpg
    2. In the right pane of User Rights Assignment, double click/tap on Change the system time. (see screenshot above)

    3. To Prevent Users and Groups from Changing the Date and Time
    WARNING: Do not remove LOCAL SERVICE.
    A) Select (highlight) listed user(s) and/or group(s) that you do not want to be allowed to change the computer date and time, then click/tap on the Remove button. (see screenshot below)
    NOTE: You can press and hold the CTRL key and click/tap on listed users and groups to select more than one.
    Date and Time - Allow or Prevent Users and Groups from Changing-remove-1.jpg


       Tip
    To Only Prevent Specific Administrators
    • You will also need to remove the Administrators group in addition to step 3A first, then only add each administrator user account name in step 4A that you want to be able to change the date and time.

    B) Click/tap on Apply. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-remove-2.jpg
    4. To Allow Users and Groups to Change the Date and Time
    A) Click/tap on the Add User or Group button. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-1.jpg
    B) To Change the Location to Search for "Object Types"

    NOTE: This is only if you wanted to search for object types to allow from a location other than your local computer. If you only want to search from your computer, then skip this step and go to step 4C.
    • Click/tap on the Locations button. (see screenshot below step 4C)
    • Select a location, and click/tap on OK. (see screenshot below)

    Date and Time - Allow or Prevent Users and Groups from Changing-location-1.jpg
    C) Click/tap on the Object Types button. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-2.jpg
    D) Check all boxes or the "object types" (ex: Users or Groups) that you want to find and select from in step 4G, and click/tap on OK. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-3.jpg
    E) Click/tap on the Advanced button. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-4.jpg
    F) Click/tap on the Find Now button. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-5.jpg
    G) In the bottom pane under Search results, select one or more listed users or groups that you want to allow to be able to change the computer date and time, then click/tap on OK. (see screenshot below)
    NOTE: You can press and hold the CTRL key and click/tap on listed users and groups to select more than one.
    Date and Time - Allow or Prevent Users and Groups from Changing-add-6.jpg


       Tip
    To Only Allow Specific Administrators
    • You will need to remove the Administrators group in step 3A first, then add each administrator user account name that you want to be able to change the date and time.

    H) Click/tap on OK. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-7.jpg
    I) Click/tap on Apply. (see screenshot below)
    Date and Time - Allow or Prevent Users and Groups from Changing-add-8.jpg
    5. When finished, click/tap on OK. (see screenshots below steps 3B and 4I)

    6. Close the Local Security Policy window. (see screenshot below step 1)



    OPTION TWO

    Allow or Prevent Changing Date and Time using an Elevated Command Prompt


    NOTE: Be sure to write down changes you make to the user rights assignment so that you will know what you changed later. Please see the NOTE box at the top of the tutorial for the default user rights assignments.
    1. If you have not already, click/tap on the Download button below to download the ntrights.exe file originally from within the Windows Server 2003 Resource Kit Tools.

    Download



    A) Save the ntrights.exe file to your desktop.

    B) Right click or press and hold on the ntrights.exe file, click/tap on Properties, General tab, and click/tap on the Unblock button if available. (see screenshot below)
    NOTE: If you do not have a Unblock button under the General tab, then the file is already unblocked and you can continue on to step 1C.
    Date and Time - Allow or Prevent Users and Groups from Changing-unblock.jpg
    C) Right click or press and hold on the ntrights.exe file and click/tap on Move.

    D) Open Windows Explorer and navigate to and open the C:\Windows\System32 folder, then Paste the ntrights.exe file to move it here.

    E) If prompted, click/tap on Continue and Yes to approve moving the ntrights.exe file into the System32 folder, then close the Windows Explorer window.
    2. Open an elevated command prompt (Run as administrator).

    3. Prevent Users or Groups to be able to Change the Date and Time
    WARNING: Do not remove LOCAL SERVICE.
    A) In the elevated command prompt type in the command below and press enter.
    NOTE: Substitute User or Group in the command below with the actual user account name (ex: Users) or group name within quotes that you want to prevent.
    ntrights -U "User or Group" -R SeSystemtimePrivilege


       Tip
    To Only Prevent Specific Administrators
    • You will also need to remove the Administrators group in addition to step 3A first, then only add each administrator user account name in step 4A that you want to be able to change the date and time.

    4. Allow Users or Groups to be able to Change the Date and Time
    A) In the elevated command prompt type in the command below and press enter.
    NOTE: Substitute User or Group in the command below with the actual user account name (ex: Users) or group name within quotes that you want to allow.
    ntrights -U "User or Group" +R SeSystemtimePrivilege


       Tip
    To Only Allow Specific Administrators
    • You will need to remove the Administrators group in step 3A first, then add each administrator user account name that you want to be able to change the date and time.

    5. When finished, close the elevated command prompt.

    That's it,
    Shawn





  1. Posts : 1
    Vista HomePremium 32
       #1

    error ntrights.exe


    An error is reported by Vista home Premium.

    If user have Administrator rights: ***Error*** OpenPolicy -1073741790

    If user do not have Administrator rights: ***Error*** OpenPolicy -1073741790

    There is a reason for this errror?

    Thanks.
      My Computer


  2. Posts : 70,219
    64-bit Windows 10 Pro
    Thread Starter
       #2

    Hello jhonalone, and welcome to Seven Forums.

    That error just means that you did not open a "elevated" (run as administrator) command prompt. You can click on the link in step 2 of OPTION TWO for more details on how to open one. :)
      My Computer


  3. Posts : 70,219
    64-bit Windows 10 Pro
    Thread Starter
       #3

    Hello FrozenPixel, and welcome to Seven Forums.

    Any user or group that is not listed is already restricted, so no need to do anything if that's what you wanted.

    Only listed users and groups are allowed to change the date and time. You'll just need to add any user or group that you want to allow to change the date and time.

    Hope this helps, :)
    Shawn
      My Computer


  4. Posts : 1
    windos ultimate x64
       #4

    HELP!


    ***ERROR*** AddUserRightToAccount -1073741728

    how to solve this?
      My Computer


  5. Posts : 70,219
    64-bit Windows 10 Pro
    Thread Starter
       #5

    Hello nesszel, and welcome to Seven Forums. :)

    Please provide more details.
      My Computer


  6. Posts : 3
    Windows 7 and Windows 10
       #6

    I have granted everyone full access to change the system time in group policy. I verified the policy is being applied to the PC. I granted all users access to the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation key.

    The user is not a local administrator but it still prompts them for admin credentials when try to change the date/time. They are able to change the timezone.

    This is on a Windows 64 bit machine
      My Computer


  7. Posts : 70,219
    64-bit Windows 10 Pro
    Thread Starter
       #7

    Hello paradox42x, and welcome to Seven Forums. :)

    As a test, set the policy for the "Users" group instead to see if it may work afterwards.
      My Computer


  8. Posts : 3
    Windows 7 and Windows 10
       #8

    Thank you for the quick response. the Users group did not work. I also tried Everyone.

    still prompts for the admin username/password.

    It does not do it when I try to change the time zone
      My Computer


  9. Posts : 70,219
    64-bit Windows 10 Pro
    Thread Starter
       #9

    As another test, how does it work if you specify the standard user account's name instead?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:20.
Find Us