Expedition Expedition Navigation Software

You are not logged in. Would you like to login or register?



12/18/2018 12:24 pm  #1


GPS Time Systemwatch

Hi,
I'm interested in having the GPS time as system time. But when I'm clicking "Set clock from GPS", then I get the message "Unable to set computer time from GPS".
What could be my error?
GPS-fix with time is available.

Thanks 

 

12/18/2018 1:01 pm  #2


Re: GPS Time Systemwatch

Olli

I've played around with this issue in the past and it seems to be an ongoing challenge.  Each successive version of Windows locks the system down further and further and in general an application under Windows 10 is not expected to change the systemTime.  The application would need Administrator rights.

More specifically it needs SE_SYSTEMTIME_NAME privilege.  You can read more about it here.  
https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-setsystemtime

The calling process must have the SE_SYSTEMTIME_NAME privilege. This privilege is disabled by default. TheSetSystemTime function enables the SE_SYSTEMTIME_NAME privilege before changing the system time and disables the privilege before returning. For more information, see Running with Special Privileges=16px.

I'd love if Nick could find a way to implement it reliably but I think it is simply too dependent on the Windows configuration.  If anyone has had any success with this on a recent version of Windows then maybe they could share with the group.
 

 

12/18/2018 2:49 pm  #3


Re: GPS Time Systemwatch

Yes, that is exactly the problem.

 

Board footera

 

Powered by Boardhost. Create a Free Forum


Interested in advertising here? Over a thousand active navigators and Expedition users visit this forum. Click here to contact the administrator.