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
833 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

770 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