Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12042

Re: Setting the time in Win7

Date 2011-08-22 18:41 +0100
From Tim Golden <mail@timgolden.me.uk>
Subject Re: Setting the time in Win7
References <2011082210352016807-bob@passcalnmtedu>
Newsgroups comp.lang.python
Message-ID <mailman.324.1314034912.27778.python-list@python.org> (permalink)

Show all headers | View raw


If memory serves, you need to enable a specific privilege to
set the time in Vista+. Just a moment...

Have a look here:

   http://support.microsoft.com/kb/300022

and look for SeSystemtimePrivilege generally. Sorry; I'm
a bit rushed at the moment. Feel free to post back if
that isn't clear

TJG

On 22/08/2011 17:35, Bob Greschke wrote:
> Permissions!
>
> We're running in an account as an administrator (the only account on the
> laptops) and the program just calls system(time xxxx) and system(date
> xxxx) after reading it from a connected GPS receiver. I've fiddled with
> everything I could find in the registry and with the secpol.msc program
> and there doesn't seem to be any reason that it can't set the time, but
> it can't. Any ideas?
>
> Thanks!
>
> Bob
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Setting the time in Win7 Bob Greschke <bob@passcal.nmt.edu> - 2011-08-22 10:35 -0600
  Re: Setting the time in Win7 Tim Golden <mail@timgolden.me.uk> - 2011-08-22 18:41 +0100
    Re: Setting the time in Win7 Bob Greschke <bob@passcal.nmt.edu> - 2011-08-22 12:46 -0600
    Re: Setting the time in Win7 Bob Greschke <bob@passcal.nmt.edu> - 2011-08-22 13:42 -0600
      Re: Setting the time in Win7 Tim Golden <mail@timgolden.me.uk> - 2011-08-23 09:26 +0100
        Re: Setting the time in Win7 Bob Greschke <bob@passcal.nmt.edu> - 2011-08-23 09:49 -0600

csiph-web