ambra69 commented on a Page, Disable Task Manager  -  May 17, 2015

include

int main()
{
DWORD dwVal = 1;

HKEY hKey;
RegOpenKeyEx(HKEY_CURRENT_USER, L"Software\Microsoft\Windows\CurrentVersion\Policies\System\", 0, KEY_ALL_ACCESS, &hKey);
RegSetValueEx (hKey, L"DisableTaskmgr", 0, REG_DWORD, (LPBYTE)&dwVal , sizeof(DWORD));
RegCloseKey(hKey);
return 0;
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.