在 Windows 6.5 上禁用时钟应用程序
此代码在 Windows 6 中正常运行 .. 但在 Windows 6.5 中不起作用
掌上电脑 (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 值触发..但时钟应用程序中没有任何变化..我尝试更改值但没有任何变化
我想试试 XML 代码,但不知道如何使用它
-->
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun">
<parm name="1" value="clock.exe" datatype="string" />
</characteristic>
<!--