Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 5th, 2006, 07:32 AM
Registered User
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to hide a process in task manager


Can u tell me a way to remove the process from the task manager.
I am running security application as service so its not shown on the applications tab of the task manager but still it shows up on the process tab of the task-manager.
is there any way by which we can completely hide the process.

- i have tried using LVM_DELETECOLUMN to delete a process from the task manager list view ( but in this method the problem is when i try to delete a particular entry by finding the item using LVM_FINDITEM).

plz suggest me the way out.

Reply With Quote
  #2 (permalink)  
Old April 27th, 2006, 12:03 PM
Authorized User
Join Date: Mar 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Raghunathan


here is wat u asked for. hope it'd help ..

Supported in : VB4-32,5,6

Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long

Operating Systems Supported
Windows NT: Not supported; Requires Windows 95 or later

Library : Kernel32

Parameter Information

· dwProcessId
       Specifies the identifier of the process to register as a service process.
       Specifies NULL to register the current process.
· dwType
       Specifies whether the service is to be registered or unregistered.
       This parameter can be one of the following values.

           Registers the process as a service process.
           Unregisters the process as a service process.

Return Values

       If the function succeeds, the return value is nonzero.
       If the function fails, the return value is zero. To get extended error

Reply With Quote
  #3 (permalink)  
Old October 18th, 2007, 08:42 AM
Registered User
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

hi, this is also possible using "winPadlock activeX control"

sub command1_click()
end sub

That's it! Your process is now invisible.
Stealth huh.

Yeah, it's free from:

Reply With Quote
  #4 (permalink)  
Old October 25th, 2007, 10:22 PM
Authorized User
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Peter_APIIT

How to do this in using C++ ?

Linux is the best OS in the world.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to hide a process in task manager ri_shu Visual C++ 0 April 5th, 2006 07:33 AM
how to hide the process from the task-manager ri_shu VB How-To 0 April 5th, 2006 07:28 AM
Accessing Windows Task Manager through APIs vishnu_attur Visual C++ 1 September 1st, 2005 05:31 PM
i want to make a task manager in VB6 menakcman Beginning VB 6 4 April 7th, 2005 08:58 PM
Task Manager scott4273 VB How-To 1 December 2nd, 2003 03:42 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.