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
-- http://mail.python.org/mailman/listinfo/python-list