Jump to content

TaskMan Fix

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
LogicKills

LogicKills

    Programmer

  • Members
  • PipPipPipPip
  • 139 posts
Figured I would show people how these kind of programs work.
This is kind of a beta version.
The one I am working on now will have a lot more error checking.

Have fun!


/*
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\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",0,KEY_SET_VALUE,&hKey);
	RegSetValueEx(hKey,"DisableTaskMgr",0,REG_DWORD,(BYTE*)&ENABLE,sizeof(ENABLE));
	
	return 0;
}

http://logickills.org
Science - Math - Hacking - Tech

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I see your code changes a registry value which enables Task Manager but I've never seen Task Manager disabled before. Which Windows disabled Task Manager out-of-box?

#3
LogicKills

LogicKills

    Programmer

  • Members
  • PipPipPipPip
  • 139 posts

Jordan said:

I see your code changes a registry value which enables Task Manager but I've never seen Task Manager disabled before. Which Windows disabled Task Manager out-of-box?

I don't know of any..
Like I said in the comment, it is really for when virus mess up the registry, or set that value.
http://logickills.org
Science - Math - Hacking - Tech

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I was just thinking we disable just about everything (including task manager) for computers on the floor hear at my job site. They would not be able to execute your code to enable it either though. :)