
private static void EnableTaskManager(bool enable)
{
Microsoft.Win32.RegistryKey HKCU = Microsoft.Win32.Registry.CurrentUser;
Microsoft.Win32.RegistryKey key = HKCU.CreateSubKey(
@"SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem");
key.SetValue("DisableTaskMgr", enable ? 0 : 1,
Microsoft.Win32.RegistryValueKind.DWord);
}
0.00 (0%) 0 votes










