//屏蔽 Ctrl + Alt + Del 键 Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser; Microsoft.Win32.RegistryKey key1 = key.CreateSubKey("Software/Microsoft/Windows/CurrentVersion/Policies/System"); key1.SetValue("DisableTaskMgr", 1, Microsoft.Win32.RegistryValueKind.DWord);