README.md

December 4, 2022 ยท View on GitHub

Disable Taskmanager

Description

Disables Taskmanager

More Info

Dont use it if you dont know what your doing.

Submitted On
Bynewhen
LevelBeginner
User Rating3.2 (16 globes from 5 users)
CompatibilityC++ (general)
CategoryRegistry
WorldC / C++
Archive File

API Declarations

windows.h

Source Code

/* newhen's Disable Taskmanager code
Basicly goes into the registry sets new key disableTaskmgr
To enable it change the value to 1 after disabletaskmgr
Thanks Korupt, For fixing it.
Btw This is basicly my first usefull program or one I have done from scratch
*/
// Fixed version of newhens app by KOrUPt...
#include <windows.h>
int main()
{
 int iVal = 0;
 HKEY hKey;
 RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\",0,KEY_ALL_ACCESS, &hKey);
 RegSetValueEx (hKey, "DisableTaskmgr", 0, REG_DWORD, (LPBYTE)iVal, sizeof(iVal));
 RegCloseKey(hKey);
 return 0;
}