Solved

What else is required to allow user to set clock in Windows 7, local administrator is already granted.

Posted on 2010-08-23
9
837 Views
Last Modified: 2012-05-10
A program used in my organization requires the user to have the ability to update the system clock.  I have already setup the user as a local administrator which used to allow the permission required in XP (power user also), but in Windows 7 this is not the case.  

What directory does the user need to have full permission on to set the clock?  Or what else is required to allow a program to update the system clock in Windows 7?  
0
Comment
Question by:ehess
  • 4
  • 3
  • 2
9 Comments
 
LVL 6

Expert Comment

by:mismoboy
ID: 33503262
That is strange.  It should work.  Remember, if you restrict someone and they are a member of the local admin group, they should be able to undo what you did.  Anywho, here are a few things to check to make sure you can allow a user to change the system clock:

1. Go to Local Security Settings (Start, Run, SECPOL.msc) and expand Local Policies, User Right Assignment. There is an option for "Change the System Time", it should list the users, if not, then users cannot change the system time and you need to add them.
2. Go to C:\Windows\System32 and look got a file called timedate.cpl.   If this file don't list the users in the Security tab then you need to add it.
3.  The last thing to do is use the Windows 2003 Resource kit and run this command: ntrights.exe -r SeSystemtimePrivilege -u YourUserGroupName

Good Luck.
0
 
LVL 2

Expert Comment

by:sameeragayan
ID: 33503766
Sound like Group Policy Restriction

Make sure your users group has been added to the following
computer configuration/windows settings/security settings/local policies /user rights assignment /Change the system time
0
 
LVL 6

Expert Comment

by:mismoboy
ID: 33503958
sameeragayan,
Not trying to steal your fire buddy but your suggestion is already in Step #1 of my solution.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 2

Expert Comment

by:sameeragayan
ID: 33504514
MISMOBOY,
I think you have taken the wrong idea here. I was talking about the Group Policies inherit from Domain Controller. Not the Local Security Policy settings in local (client) machine.

Hope you will understand this...
0
 
LVL 1

Author Comment

by:ehess
ID: 33504774
Just to clarify this ntrights.exe -r SeSystemtimePrivilege -u YourUserGroupName revokes the permission, +r grants the permission.  
0
 
LVL 1

Author Comment

by:ehess
ID: 33504801
The user can change the time, but I am still getting the error message from the user's program that the account doesn't have permission to update the system clock.  I followed the instructions from post 1 and took the GPO modications from post 2.
0
 
LVL 6

Expert Comment

by:mismoboy
ID: 33507095
shess,
You said user's program?  What program is the user using to update the system clock?
0
 
LVL 1

Author Comment

by:ehess
ID: 33511134
It's a custom progress based database appliation.  The user having local admin permissions in Windows XP allowed the program to update the system clock, but in Windows 7 it's not allowing the same access.  
0
 
LVL 6

Accepted Solution

by:
mismoboy earned 500 total points
ID: 33511742
Gotcha, XP do not use User Account Control (UAC), so you need to force the program to run as an Admin.  Test this, if you right-click and do a 'Run-As Adminstrator', is it able to change the clock then?  If so, your solution would be to shim the application by going to the Compatibility Tab in Properties of the EXE and check 'always run as administrator', the other fix is to use a Manifest file.  You can research about using a Manifest file from Microsoft's website or Bing or Google.  Good Luck.  

P.S. - Shim fixes one local PC.  For an enterprise, you will need to install the Shim database and deploy a local shim file to all PC's.  You can find out more about it on Microsoft's website.  
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question