Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i disable the task mananger

Status
Not open for further replies.

MusaItopa

IS-IT--Management
Feb 8, 2006
18
I am writing an application which is to lock the screen such that nothing else can be done until the screen is unlocked through the same application. However, i discovered that the task manager can be invoked and the application session killed. How do i stop my application from either being killed from task manager or not being seen in the task manager or disabling the task manager from being seen etc.

I need help pls. Any one to assist
 
[Start] [Run] [Regedit]
Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Modify/Create the Value Data Type(s) and Value Name(s) as detailed below.
Data Type: DWORD Value // Value Name: DisableTaskMgr
Setting for Value Data: [0 = Enabled (Default) / 1 = Disabled]
Exit Registry and Reboot
 
Thanks keenanbr. What i actually want is to how to programmatically control the task manager status from my VB application. I need application codes to enable me do such
 
in VB

SaveSetting VBKeyName, Section, Key, Setting

have a look at


---------------------------------------------------------
got this from a google search, haven't tried it

Click Start.
Type regedit on the Search Bar and hit Enter.
Locate the follwowing key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System (from current logged user). On local computer for all users locate this key instead: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Policies\ System
If the System key doesn’t exist, you can create it by right clicking on Policies, and select New -> Key. After that name the new key System
Right click on the System Key and create and new 32-bit DWORD and name it DisableTaskManger.
Give the new key the value 1 by double clicking on it.
Close the regedit.
Without rebooting the computer, now users will not be able to access the Task Manager anymore.
To revert the hack, simply delete the DisableTaskManager key.
 
SaveSetting VBKeyName, Section, Key, Setting

That won't work I'm afraid, as it only accesses keys in the VB/VBA area of the Registry (HKCU/Software/VB and VBA program Settings/)

You'd have to either move to the API or use the registry functions in, say, the Windows Scripting Host Object Model library

Note also that this hack will not work if there is a Group Policy that enables the task manager
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top