且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何不允许用户更改系统日期和时间。

更新时间:2023-12-02 09:51:16

这通常不是一个任务在用户上下文中运行的程序。通常,组策略集是域/计算机的管理员。从Vista开始,普通的suer默认情况下不能改变系统时间。
That's generally not a task of a program running in a user context. It is typically a Group Policy set be the administrator of the domain / computer. And from Vista onwards, a normal suer must not change the system time by default.