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
841 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
Windows running painfully slow? Try these tips..

Stay away from Speed Up Computer Programs that do more harm than good.
Try these tips instead.
Step by step instructions in trouble shooting Windows Performance issues.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lost FireFox Bookmarks 6 52
Emoji's work fine in Word 2016, but not in Outlook 2016 ? 29 175
Executing a script at Windows shutdown 7 54
Downgrade to Windows 7 Clean 4 67
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

732 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