scons如何禁用警告消息
There’s nothing more annoying to me than getting a new laptop from work and having to click through the logon warning message set by the IT department. It usually goes something like “Warning: You are logging onto our computer system. We own your soul.”
没有什么比让我下班的新笔记本电脑更麻烦的了,而不必单击IT部门设置的登录警告消息。 它通常类似于“警告:您正在登录我们的计算机系统。 我们拥有您的灵魂。”
Removing this message isn’t all that difficult, but you will need administrator access to your system.
删除此消息并不是很困难,但是您将需要管理员访问您的系统。
Manual Registry Method
手动注册方法
Open up regedit.exe through the run box, and then browse down to the following key:
通过运行框打开regedit.exe,然后向下浏览至以下键:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon
On the right-hand side, find the keys for LegalNoticeCaption and LegalNoticeText and either set both values to blank or just delete them.
在右侧,找到LegalNoticeCaption和LegalNoticeText的键,然后将两个值都设置为空白或将其删除。
Note: If the administrator has set these values through group policy, I believe they will be re-applied automatically by the system at some point. Either way, the group policy key that contains the same values is here:
注意:如果管理员通过组策略设置了这些值,那么我相信它们会在某些时候由系统自动重新应用。 不管哪种方式,包含相同值的组策略密钥都在这里:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ policies \ system
I realize there are some irritating legal reasons for having this message, but it really gets old after a while.
我知道收到此消息有一些令人不快的法律原因,但一段时间后它确实变老了。
翻译自: https://www.howtogeek.com/howto/windows/disable-that-annoying-windows-logon-warning-message/
scons如何禁用警告消息