how to hide c# windows Application from windows task manager processess list..(windows 2000)
-
Hello all; Is there a way in c#(.net) to hide an application from windows task manager's processess list.. I want my c# application to be invisible in the computer where it is installed. Even if the user goes to task manager using ctrl+alt+del and task manager... Any idea on how to disable ctrl+alt+del key sequence in c# on windows NT and above platforms in c#.. I started developing a application using delphi ( as it can create Global Hook. And i can trap the key sequence and pop up a box when ever ctrl+alt are pressed thus forcing the user to miss del key) and use that DLL in c#. Any ideas & suggestions are appreciated.. Thanks
-
Hello all; Is there a way in c#(.net) to hide an application from windows task manager's processess list.. I want my c# application to be invisible in the computer where it is installed. Even if the user goes to task manager using ctrl+alt+del and task manager... Any idea on how to disable ctrl+alt+del key sequence in c# on windows NT and above platforms in c#.. I started developing a application using delphi ( as it can create Global Hook. And i can trap the key sequence and pop up a box when ever ctrl+alt are pressed thus forcing the user to miss del key) and use that DLL in c#. Any ideas & suggestions are appreciated.. Thanks
why do you need to do this, :~ a trojan perhaps :rolleyes: i think the form class has a member to hide it from the taskbar, not sure about the process list.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
why do you need to do this, :~ a trojan perhaps :rolleyes: i think the form class has a member to hide it from the taskbar, not sure about the process list.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors."Perhaps not a trojan:). But a security component i am building which will be eventually be installed on number of Servers at an organization to log Keyboard activity. The form's show in taskbar property just hides from task bar. But the application exe is listed in the processes.
-
Perhaps not a trojan:). But a security component i am building which will be eventually be installed on number of Servers at an organization to log Keyboard activity. The form's show in taskbar property just hides from task bar. But the application exe is listed in the processes.
but why hide it from the processes? are all the users advanced enough to know how to close it? most users on the network at work barely know how to check emails.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
but why hide it from the processes? are all the users advanced enough to know how to close it? most users on the network at work barely know how to check emails.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors."I am talking about System engineers/Administrators who may accidentally or wantedly corrupt the server. in this case, they being the system admins very well know to find out the application in the processes and kill em before they mis-handle or delete or go against their professional ethics even to the extent of formatting the machine before they leave the organization.. in this case, the org. will very well want to know who was exactly responsible ... i think you got my point.. Gurus, please suggest me an idea...
-
I am talking about System engineers/Administrators who may accidentally or wantedly corrupt the server. in this case, they being the system admins very well know to find out the application in the processes and kill em before they mis-handle or delete or go against their professional ethics even to the extent of formatting the machine before they leave the organization.. in this case, the org. will very well want to know who was exactly responsible ... i think you got my point.. Gurus, please suggest me an idea...
I guess I wouldn't write this in C#. I would write it in C++ as a service or a device driver (probably a service). I have no idea how to do that, but C# definitely does not seem like the right tool. Marc
-
I guess I wouldn't write this in C#. I would write it in C++ as a service or a device driver (probably a service). I have no idea how to do that, but C# definitely does not seem like the right tool. Marc
I agree; But Microsoft promises c# to be the most powerful language after c++ giving control to the System programming. I guess there is a way or atleast is there a way to activate the process immediately if any user kills it. For example in Visual Studio .net IDE, when you create a C# or VB.net Web Application project, you always see wp_.... process in the processes. Even if you kill it, the process comes up right way.. how Can i implement something like this? Even if the user kills my application process, can i re-start it immediately...??
-
Hello all; Is there a way in c#(.net) to hide an application from windows task manager's processess list.. I want my c# application to be invisible in the computer where it is installed. Even if the user goes to task manager using ctrl+alt+del and task manager... Any idea on how to disable ctrl+alt+del key sequence in c# on windows NT and above platforms in c#.. I started developing a application using delphi ( as it can create Global Hook. And i can trap the key sequence and pop up a box when ever ctrl+alt are pressed thus forcing the user to miss del key) and use that DLL in c#. Any ideas & suggestions are appreciated.. Thanks
My suggestions are as follow : - either write a dll, and let it be hosted by the operating system as a COM dll (for instance). Doing this, by definition, you won't see it in the processlist, because only .exe are listed. - write a Dll and get it run by DllHost.exe or RunDLL32.exe depending on the operating system. (see MSDN for further details). Doing so, you still see DllHost.exe somehow in the process list (or svchost.exe for services) but no one would dare to stop it because this name brings nothing particular into attention.
-
My suggestions are as follow : - either write a dll, and let it be hosted by the operating system as a COM dll (for instance). Doing this, by definition, you won't see it in the processlist, because only .exe are listed. - write a Dll and get it run by DllHost.exe or RunDLL32.exe depending on the operating system. (see MSDN for further details). Doing so, you still see DllHost.exe somehow in the process list (or svchost.exe for services) but no one would dare to stop it because this name brings nothing particular into attention.
Just launch your application when you receive WM_DESTROY or WM_CLOSE. Your current program will be closed but you will have a new session in memory. I don't think MS wants it to be possible to hide processes from the task manager list. The API shouldn't have anything about this. Nd.
-
Just launch your application when you receive WM_DESTROY or WM_CLOSE. Your current program will be closed but you will have a new session in memory. I don't think MS wants it to be possible to hide processes from the task manager list. The API shouldn't have anything about this. Nd.
That one is a virus! not a process anymore. I am not sure you're able to shut down normally your computer using this idea.
And I swallow a small raisin.
-
Hello all; Is there a way in c#(.net) to hide an application from windows task manager's processess list.. I want my c# application to be invisible in the computer where it is installed. Even if the user goes to task manager using ctrl+alt+del and task manager... Any idea on how to disable ctrl+alt+del key sequence in c# on windows NT and above platforms in c#.. I started developing a application using delphi ( as it can create Global Hook. And i can trap the key sequence and pop up a box when ever ctrl+alt are pressed thus forcing the user to miss del key) and use that DLL in c#. Any ideas & suggestions are appreciated.. Thanks
I had forgotten the trick but now I remember. You can use windowstations and desktops, they are objects that Microsoft introduced along with Windows NT. These two objects allow to run processes in separate windowstations and desktops that the default one, which is the actual interactive windowstation and default desktop attached to it. You may either create a new desktop on the current windowstation, winsta0, and then run processes on it. You may also create a new windowstation as well. Complete code can be found on MSDN with keyword search winsta0. That's plain raw C++ code. Be sure to also prepare code for destroying the processes : as you will not even see them in the task manager, it will be slightly harder to stop them...
And I swallow a small raisin.
-
That one is a virus! not a process anymore. I am not sure you're able to shut down normally your computer using this idea.
And I swallow a small raisin.
Well the virus isn't visible in the task manager list...At least, there is a difference...:) I have to recognize that old windows shouldn't be able to shutdown the computer. But W2000 and WinXP don't allow more processes creation after shutdown, so it's ok. Nd.