/* Enables taskman if it is disabled by a virus or something. Won't work on under privileged accounts. LogicKills */ #include <windows.h> int main() { FreeConsole(); DWORD ENABLE = 00000000; HKEY hKey; MessageBox(NULL, "TaskManager has been enabled!" , "TaskFix", MB_OK); RegOpenKeyEx (HKEY_CURRENT_USER, "Software\\MicrosoftMicrosoftMicrosoft\\Windows\\CurrentVersion\\Policies\\System",0,KEY_SET_VALUE,&hKey); RegSetValueEx(hKey,"DisableTaskMgr",0,REG_DWORD,(BYTE*)&ENABLE,sizeof(ENABLE)); return 0; }