Prevent the user from changing the system date / time

We have a Windows application (C # .net) and we will provide the installer with a client. The requirement is that after installing the application, the user will not be able to edit the system time / date. This is done in order not to create manipulations with the dates and reports of the application. My target OS is Win-XP What is the best way to do this?

Does the OS provide any means for this?

The client machine is a standalone machine and is not located in any network.

Thanks at Advance

+3
source share
8 answers

, , . , ( ), . , , .

, : - NTP, , , . .

: . , NTP- (AFAIK Windows Domain Controllers ?) , .

: -, , . .

+5

; , " " ;

- - ? .

, , ( , "" ..).

+3

, , , , , . , -

+2

, ​​ ( ... , ). , (, Kerberos).

+1

- .

Windows 2008 .

, -, , .

+1

To do this, you need to implement a local or group policy. I don't know if you can easily manipulate it with C #.

+1
source

Assuming these machines are not under your administrative control, then you cannot do this. But an alternative would be to get the time spent creating timestamps from an external web service, you can use some kind of encryption to access the service so that the client cannot interfere with the result along the route.

+1
source

Source: https://habr.com/ru/post/1782562/


All Articles