在Windows 6.5中禁用Clock App [英] Disable Clock App in Windows 6.5

查看:74
本文介绍了在Windows 6.5中禁用Clock App的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 6.5上禁用时钟应用

Disable Clock App on Windows 6.5

此代码在Windows 6中正常运行..但在Windows 6.5中不起作用

this code run normally in windows 6 .. but didn't work in windows 6.5

PDA(Intermic CN51)

PDA (Intermic CN51)

System.Byte[] offValue = new byte[1];
offValue[0] = 0x30;
Microsoft.Win32.RegistryKey registryKey =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"\Software\Microsoft\Clock\", true);
registryKey.SetValue("AppState", offValue);
registryKey.Close();

(Appstate)注册表项已经触发了30值..但Clock App中没有任何更改..我尝试更改值,但其中没有任何更改

the (Appstate) registry-key already fired with 30 value .. but nothing changed in Clock App .. i tried change value but nothing changed in it

我想尝试XML代码,但不知道该如何使用

i want try XML code but didn't know how i use this

       -->
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun">
  <parm name="1" value="clock.exe" datatype="string" />
</characteristic>
<!--

推荐答案

要按策略禁用程序,您需要先全局设置黑名单"的使用,然后使用不允许的应用程序列表:

To disable a program by policy you need to set the use of the 'blacklist' globally first and then your list of disallowed apps is used:

REGEDIT4

;Enable blacklist of applications that should not run
[HKEY_LOCAL_MACHINE\Security\Policies\Shell]
"DisallowRun"=dword:1

;Add entries to blacklist of applications that should not run
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun]
"1"="fexplore.exe"
"2"="iexplore.exe"
"3"="clock.exe"

另请参见 http://www.hjgode.de/wp/2010/03/27/blacklist-applications-to-disable-use/

这篇关于在Windows 6.5中禁用Clock App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆