Click here to Skip to main content
15,905,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed the vb application .In this ,i want to disabled the system date & time change properties . when my application screen is running then user can not change the system date & time between my application.
how to disabled the system change date & time properties through coding and when my application close it will be enabled ?

thanks in advance...
Posted

1 solution

You'll need to alter the User Rights Assignment for the current user in the Local Computer Policy, probably by manipulating the registry or using the Group Policy API.

Change the system time[^]
Group Policy API[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900