I would like to prevent users from changing the system date time and I've found a method which is by changing the windows group policy. Below are the steps.
1. Go to start --> run --> key in gpedit.msc
2. Navigate to Computer Configuration --> windows settings --> security settings --> Local policies --> User Rights management
3. Look for Change the system time on right panel.
4. Remove all the users and groups.
by doing the steps above, i'm able to disable the system date. but i need to do it programmatically. Or if any experts know any other method can prevent user from change the the system date time are welcome.
thanks for you help.
Start Free Trial