禁用“调整日期/时间” 在 Vista 家庭版中
我的公司在现场拥有相当多的客户端笔记本电脑。 这些笔记本电脑运行的是 Windows Vista 家庭版。
最近有人问我是否可以找到一种方法来禁用用户调整系统时间的能力。
我的第一个想法是使用gpedit,但我发现这在家庭版中不可用。
我然后我寻找可以使用的注册表编辑,但我一无所获。 显然,gpedit 的用户权限相关位不涉及注册表设置。
我们通过笔记本电脑上运行的软件自动调整系统时间。 这意味着我们需要一种方法来禁用用户调整日期/时间的能力,但允许我们的程序(在该用户的上下文下运行)为他们调整日期/时间。
有没有人有任何想法,或者知道如何让 gpedit 在家庭版上工作?
(我们的软件基于 .Net,具有自动更新功能,因此我们可以根据需要在解决方案中利用该功能)。
更新:
本地安全设置在 Vista 中不可用家庭版也可以。
My company has got quite a number of client laptops out in the field. These laptops are running Windows Vista Home edition.
I was recently asked if I could find a way to disable the user's ability to adjust the system time.
My first thought was to use gpedit, but as I found this is unavailable in home edition.
I then looked for registry edits that I could use, but I drew a blank. Apparently the user rights related bits of gpedit do not involve registry settings.
We adjust the system time automatically from our software that runs on the laptop. This means that we need a way to be able to disable the user's ability to adjust the date/time, but allow our program (running under that user's context) to adjust it for them.
Has anybody got any ideas, or know a way of getting gpedit to work on home edition?
(Our software is .Net based and has automatic update features, so we can leverage that in the solution if needed).
Update:
Local Security Settings aren't available in Vista Home edition either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简短的回答? 不要试图在商业环境中逃避消费品(我知道,可能不是你的错)。
您也许能够更改本地安全策略,但您必须在以本地管理员身份登录时执行此操作,这意味着要么亲自一一执行,要么允许用户以管理员身份运行您的软件,然后让您的软件来做这件事。
那么问题是用户是管理员,仍然可以更改系统时间。
The short answer? Don't try to get away with consumer products in a business environment (I know, probably not your fault).
You might be able to alter the local security policies, but you would have to do it while logged in as a local admin, and that means either doing it one by one in person, or by allowing the user to run your software as an admin, and have your software do it.
The problem then is that the user is an admin, and can still change the system time.