Here's a snippet that disables the task manager. It works for me in WinXP Pro, but I don't see why it wouldn't work for WinXP Home. Other versions of Windows will need slightly different code. I have set window on and still have the escape key enabled in case something goes wrong.
This shouldn't do anything bad to the computer, but with things like this, you never know, so to make things clear, I'm not responsible if you mess up your computer etc blah blah blah.
sync on
sync rate 0
cls
set window on
disabled=1
move file "C:\Windows\system32\taskmgr.exe","C:\Windows\system32\taskmgr.bak"
do
cls
if disabled=1
print "Ctrl+Alt+Del is disabled, press space to enable it"
if file exist("C:\Windows\system32\taskmgr.exe") then delete file "C:\Windows\system32\taskmgr.exe"
else
print "Ctrl+Alt+Del is enabled, press space to disable it"
endif
if spacekey()=1 and disabled=1 and sp=0
move file "C:\Windows\system32\taskmgr.bak","C:\Windows\system32\taskmgr.exe"
disabled=0
sp=1
endif
if spacekey()=1 and disabled=0 and sp=0
move file "C:\Windows\system32\taskmgr.exe","C:\Windows\system32\taskmgr.bak"
disabled=1
sp=1
endif
sp=spacekey()
sync
loop
Basically it works by deleting the task manager, but don't worry! Windows XP automatically recreates the task manager program if someone deletes or moves it. The way to disable it is to constantly delete it every time windows recreates it. The code assumes the task manager is located at
C:\Windows\system32\taskmgr.exe
. Also if you exit the program while the task manager is disabled, it should automatically be re-enabled after 10-20 seconds, when windows recreates the taskmgr.exe file.