A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

[C#] Disable Taskmanager

1.3k views · started by Chad ·
#1
[C#] Disable Taskmanager

using Microsoft.Win32;

RegistryKey regkey;
string keyValueInt = "0";
string subKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";

try
{
regkey = Registry.CurrentUser.CreateSubKey(subKey);
regkey.SetValue("DisableTaskMgr", keyValueInt);
regkey.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
#2
Lol, registry is a lot of fun<3

Want to fuck someones computer? Change all there monitor default settings to crazy things, then restart. They loose everything unless they have another computer to put the drive on or boot from a different OS on a different drive lolz