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
843 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

690 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