Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sync system time
Message
From
30/10/2013 15:58:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Sync system time
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01586885
Message ID:
01586885
Views:
74
I have been using "net time \\server1 /set /yes"

From a RUN command inside foxpro to sync my workstation time.

In the newer operating systems I get an error that "a required privilege is not held by the client"

Following online recommendations i try;

w32tm /resync

and it simply returns access is denied.

I need to sync my workstation clocks with the server. I have a mixed client system, Windows 8, 7 & XP clients.

I can right click on my command line shortcut, choose run as administrator and the resync command witll work, but how do I do this programatically from my client side?
Next
Reply
Map
View

Click here to load this message in the networking platform