Results 1 to 6 of 6

Thread: hiding from task manager

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Posts
    16

    hiding from task manager

    was trying to write an app for windows nt and 2k that runs in the background and was wondering if it is possible to hide it from the task manager in NT/2K
    i know i cant hide it in the processes tab, but i know there must be some way to hide it from the applications tab as there are lots of programs that dont show up there, for example most exes that run in the system tray.

  2. #2
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961

    Re: hiding from task manager

    i think setting showintaskbar property of the form to false will help. i am not sure.

  3. #3
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    You can hide it from the Applications tab by doing this, but it won't hide it from the processes tab
    VB Code:
    1. App.Title = ""

  4. #4
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Alternatively, you can try editing registry values to disable the task manager

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr

    To disable, set to 1, to reenable again (good idea!!) set to 0

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Posts
    16
    OMFG i cant believe the solution was sooooo simple

    thanks soooo much chrisjk
    i was looking the the platform sdk for messages or apis to set this

    that app.title="" was exactly what i needed

    cause when they click end task there it behaves the same as when they log off which makes the proggy defeat its purpose.
    if they hit end process in the processes tab the app ends without running form_unload, which means the log event @ the end is missed and i know they killed the app or shut their 'puter off without logging out and i can get annoyed with em

  6. #6
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Originally posted by chrisjk
    Alternatively, you can try editing registry values to disable the task manager

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr

    To disable, set to 1, to reenable again (good idea!!) set to 0
    On what OSs' does this work on?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width