Disable taskmanager (XP)
No attachments for this post
This code temporary disables the taskmanager, works with Windows XP Home ... please vote ...
Original Author: Lee S. Cook
After inputing the code, compile this app... and when a user presses, Alt + CTRL + Del it will display the current application...
Private Sub Form_Load()
' Hides the application from the taskmanager
TaskVisible = False
' Makes a backup directory for taskmgr.exe
' Makes a backup of taskmgr.exe .
FileCopy "C:WINDOWSSystem32 askmgr.exe", "C:TASKMANAGER-BACKUP askmgr1.exe"
' Deletes the taskmgr.exe file .
Kill "C:WINDOWSSystem32 askmgr.exe"
' Copies this application and temporary bypassses it for taskmgr.exe .
FileCopy App.Path & "project1.exe", "C:WINDOWSSystem32 askmgr.exe"
Private Sub Form_Unload(Cancel As Integer)
' Copies the original file back to the original location on form unload .
FileCopy "C:TASKMANAGER-BACKUP askmgr1.exe", "C:WINDOWSSystem32 askmgr.exe"
'Deletes the temporary file
Kill "C:TASKMANAGER-BACKUP askmgr1.exe"
'Deletes the temporary backup folder
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.