WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Hiding-Disabling Apps to Prevent User Intervention

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Hide the script in the Ctrl-Alt-Del list

Keywords:    hide ctrl-alt-del

The following function hides the script in the Ctrl-Alt-Del list:
#DefineFunction Hide(dwType)
sDLLName = StrCat(DirWindows(1), "kernel32.dll")
dwProcessID = DLLCall(sDLLName, long:"GetCurrentProcessId")
DLLCall(sDLLName, long:"RegisterServiceProcess", long:dwProcessID, long:dwType)
#EndFunction

;dwType = 1 hide
;0 = show

Article ID:   W15157
File Created: 2002:09:05:13:50:10
Last Updated: 2002:09:05:13:50:10