Hiding process in windows vista

Posted on 2009-12-29
Last Modified: 2012-05-08
I have some C code that hides a process from task manager.
It was implemented using DLL injection technique.
It was working fine in windows XP. But it was not working in Vista and Windows server 2k and I didn't have other versions of windows to test.
Do I've to do some extra work to make it work in vista?
Is it possible in vista(it should be possible :D)?
I'm uploading the code for reference..
Want some suggestions !!!
Question by:laxroj

    Author Comment

    Hello sir,
    I work for a software company,
    Currently I'm working on Uvnc project. It was a Remote Desktop access software.
    In this, a viewer and a server will be runnig on two different machines.
    The computer on which server is runnig can be accessed by the computer on which viewer is running.
    My task is to hide the server process. That's all is my intention.
    LVL 8

    Expert Comment

    by:Subrat (C++ windows/Linux)
    I think you need to impersonate the user in Vista to achieve this. See the API help for ImpersonateLoggedOnUser(). Just google ....

    Author Comment

    Is there any example of this method?
    LVL 33

    Accepted Solution

    Read the comments in this thread:
    You will find:
    "You need to go kernel mode and hook ZwQueryProcessInformation and remove your process from the linked list ( that can still be recovered though ) "
    and other links explaining everything.

    Author Comment

    LOL !!! LOL!!! LOL!!!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
    If you haven’t already, I encourage you to read the first article ( in my series to gain a basic foundation of R and R Studio.  You will also find the …
    The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now