Hide process from Process bar of the Taskmanager (W2K)

I am making an application in Visual Basic and i dont want that process to be displayed in the Process bar... is there a way by which i can hide that process from the process bar by any registry Tweaks or please give me a suggestion in the VB c...




Topic Options
#112978 - 10/18/02 06:35 AM Hide process from Process bar of the Taskmanager (W2K)
jinglebells Offline
stranger

Registered: 10/14/02
Posts: 8
I am making an application in Visual Basic and i dont want that process to be displayed in the Process bar... is there a way by which i can hide that process from the process bar by any registry Tweaks or please give me a suggestion in the VB codes by which i can hide it from the Process bar of the Task Manager..... I have disabled it from appearing from the Application bar of the Task manager.. but not able to hide from the Process bar... Kindly help me do that........

Thank you
Jinglebells......

Top
Advertisement
#112980 - 10/18/02 07:35 AM Re: Hide process from Process bar of the Taskmanager (W2K)
adamvjackson Offline
Pooh-Bah

Registered: 08/26/02
Posts: 2174
Loc: Asheville, NC
What type of program are you trying to create?

Top
#112982 - 10/18/02 09:42 AM Re: Hide process from Process bar of the Taskmanager (W2K)
CUViper Offline
old hand

Registered: 01/23/00
Posts: 1120
Yes, please give your motives for doing this... the only kind of programs I can think of that would warrant this kind of request would be viruses and trojans...

Top
#112983 - 10/18/02 12:12 PM Re: Hide process from Process bar of the Taskmanager (W2K)
Christianb Offline
old hand

Registered: 11/10/01
Posts: 759
It does sound like you're trying to write a virus, or peeping-Tom type application. Basically you have to write a Win2K service and I don't think you can do that with VB. By the way if you're writing something harmful to others get a life. A 6 year-old girl can break an automobile, but it takes a mechanic to fix one. If you're writing that type of app basically I see you as a 6 year old girl having a temper tantrum. Remember just because you can doesn't mean you should.

Top
#113002 - 10/18/02 06:57 PM Re: Hide process from Process bar of the Taskmanager (W2K)
jinglebells Offline
stranger

Registered: 10/14/02
Posts: 8
Hey Buddies ...

I am not trying to make any virus nor any trogen... I just made a software thats used in a Browsing center ( a cyber cafe ) My software works perfectly but the only drawback is that any user can end task the software without me knowing and continues to browse without being traced and can load it back some time before he logs out ... Naturally I loose my money I dont want the customers to end that particular task .. but they should be able to end the task which is not responding.... so i am not looking for disabling the Taskmanager.... I have got the VB code to hide it from the Application bar but not able to hide it from the Process bar.. Plzz do help me to solve that problem ... I have 12 computers and i know What Viruses do and they have infected my computers several times..... and now when the customers are doing this what am i supporsed to do... ? Plzz help me and i swear that this knowledge wont be used for any thing illegal Nor give problems to others....

Thanking you
Jinglebells

Top
#113027 - 10/19/02 01:22 AM Re: Hide process from Process bar of the Taskmanager (W2K)
Christianb Offline
old hand

Registered: 11/10/01
Posts: 759
Actually what you need to create is a security measure whereby they are unable to end that particular task. I don't know how to do it, because I've never had to, but that's the deal. Another way to conceal your application is to name it the same as a normal windows process that typically has multiple instances running so it won't seem unusual or you could name it as something that sounds like a driver, like ATITask or something.

Top
#113031 - 10/19/02 02:10 AM Re: Hide process from Process bar of the Taskmanager (W2K)
CUViper Offline
old hand

Registered: 01/23/00
Posts: 1120
I wasn't trying to attack you - but you gotta admit that what you are trying to do sounded suspicious at first...

As Christianb said, you should really look at getting your security settings down tight, rather than trying to hide it. Even if you do manage to hide it from task manager, there are other ways to find and kill a process. If the security settings prohibit it though, they are stuck...

Top
#113046 - 10/19/02 09:27 AM Re: Hide process from Process bar of the Taskmanager (W2K)
jinglebells Offline
stranger

Registered: 10/14/02
Posts: 8
Ok .. I agree that we can tighten the security ... Plzz tell me 1 way that gives security to that particular application and can be disabled to end task of that particular process and so that None of my customers can end that process.... Plzz do help me .......

Thanking you
jinglebells....

Top
#113086 - 10/20/02 07:12 AM Re: Hide process from Process bar of the Taskmanager (W2K)
Christianb Offline
old hand

Registered: 11/10/01
Posts: 759
Well I looked in here:
"Start" --> "Programs" --> "Administrative Tools" --> "Local Security Policy"

But I couldn't find such an option frown. Sorry guy. Maybe somebody who has an Admin background will help you.
-Christian

Top
#113094 - 10/20/02 07:51 AM Re: Hide process from Process bar of the Taskmanager (W2K)
jinglebells Offline
stranger

Registered: 10/14/02
Posts: 8
frown frown shocked frown frown shocked frown frown shocked frown frown shocked Plzzz give me 1 way Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.....

Top
#113096 - 10/20/02 07:54 AM Re: Hide process from Process bar of the Taskmanager (W2K)
Christianb Offline
old hand

Registered: 11/10/01
Posts: 759
What do you mean man? I just told you "I DON'T KNOW HOW!".

Top
#113097 - 10/20/02 08:02 AM Re: Hide process from Process bar of the Taskmanager (W2K)
Christianb Offline
old hand

Registered: 11/10/01
Posts: 759
Why don't you post your question at Windrivers.com I think they'll a bit mor networking savvy then us Compatiblity folks smile.
-Christian

Top
#178897 - 10/18/07 03:21 PM Re: Hide process from Process bar of the Taskmanager (W2K)
deepski Offline
stranger

Registered: 10/18/07
Posts: 1
Hide process? Yes it's possible in VB6!

sub command1_click()
padlock.hideMyProcess
end sub

That's it!
Your process in now invisible!
Your prog won't show up in "windows task manager", "sysInternals proc monitor", or other similar utils.
Totally gone! Bye bye end task (-:

Yes, it's free!

www.winPadlock.co.nr
www.winPadlock.uni.cc

Top
#178898 - 10/18/07 04:23 PM Re: Hide process from Process bar of the Taskmanager (W2K)
Myke Offline
enthusiast

Registered: 05/25/05
Posts: 358
Loc: Boston, MA
This still sounds fishy to me...
_________________________
I swear, troubleshooting is a science: the best discoveries are always on accident...

Top
#178899 - 10/18/07 06:14 PM Re: Hide process from Process bar of the Taskmanager (W2K)
Wilhelmus Offline
old hand

Registered: 12/21/04
Posts: 1025
Loc: Finland / Suomi
Wow, ancient thread laugh
20/10/2002.

(And Icesword sees it:
)

Top
#178906 - 10/22/07 12:38 AM Re: Hide process from Process bar of the Taskmanager (W2K)
American Zombie Offline
enthusiast

Registered: 12/09/04
Posts: 323

Top
#200321 - 07/23/09 08:36 AM Re: Hide process from Process bar of the Taskmanager (W2K)
South-Gate Offline
stranger

Registered: 07/23/09
Posts: 2
maybe I can help you

here's the code


Option Explicit
Private Const KEY_ALL_ACCESS = &H2003F
Private Const HKEY_CURRENT_USER = -2147483647
Private Const ENABLE_TASKMGR = 0
Private Const DISABLE_TASKMGR = 1
'***********************************************************************
' Windows API Declarations for Registry Functions
'***********************************************************************
Private Declare Function RegOpenKeyEx Lib "advapi32" Alias "RegOpenKeyExA" ( _
ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, _
ByVal samDesired As Long, ByRef phkResult As Long) As Long
Private Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" ( _
ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, _
ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long
Private Declare Function RegCloseKey Lib "advapi32" (ByVal hKey As Long) As Long

' SETS THE VALUE IN THE REGISTRY
Private Sub SetKeyDataValue(KeyValueData As Integer)
Dim OpenKey As Long, SetValue As Long, hKey As Long
OpenKey = RegOpenKeyEx(HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\System", 0, KEY_ALL_ACCESS, hKey)
SetValue = RegSetValueEx(hKey, "DisableTaskMgr", 0&, 4, CLng(KeyValueData), 4)
SetValue = RegCloseKey(hKey)
End Sub
Private Sub cmddisable_Click()
Dim retval As Byte
Call SetKeyDataValue(DISABLE_TASKMGR)
retval = MsgBox("Task Manager is now Disabled.", vbInformation, "TASK MANAGER DISABLED !!! -Sanchit Karve")
End Sub

Private Sub cmdenable_Click()
Dim retval As Byte
Call SetKeyDataValue(ENABLE_TASKMGR)
retval = MsgBox("Task Manager is now Enabled.", vbInformation, "TASK MANAGER ENABLED !!! -Sanchit Karve")
End Sub

Top
#200322 - 07/23/09 08:38 AM Re: Hide process from Process bar of the Taskmanager (W2K)
South-Gate Offline
stranger

Registered: 07/23/09
Posts: 2
Try this
its work


Option Explicit
Private Const KEY_ALL_ACCESS = &H2003F
Private Const HKEY_CURRENT_USER = -2147483647
Private Const ENABLE_TASKMGR = 0
Private Const DISABLE_TASKMGR = 1
'***********************************************************************
' Windows API Declarations for Registry Functions
'***********************************************************************
Private Declare Function RegOpenKeyEx Lib "advapi32" Alias "RegOpenKeyExA" ( _
ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, _
ByVal samDesired As Long, ByRef phkResult As Long) As Long
Private Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" ( _
ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, _
ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long
Private Declare Function RegCloseKey Lib "advapi32" (ByVal hKey As Long) As Long

' SETS THE VALUE IN THE REGISTRY
Private Sub SetKeyDataValue(KeyValueData As Integer)
Dim OpenKey As Long, SetValue As Long, hKey As Long
OpenKey = RegOpenKeyEx(HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\System", 0, KEY_ALL_ACCESS, hKey)
SetValue = RegSetValueEx(hKey, "DisableTaskMgr", 0&, 4, CLng(KeyValueData), 4)
SetValue = RegCloseKey(hKey)
End Sub
Private Sub cmddisable_Click()
Dim retval As Byte
Call SetKeyDataValue(DISABLE_TASKMGR)
retval = MsgBox("Task Manager is now Disabled.", vbInformation, "TASK MANAGER DISABLED !!! -Sanchit Karve")
End Sub

Private Sub cmdenable_Click()
Dim retval As Byte
Call SetKeyDataValue(ENABLE_TASKMGR)
retval = MsgBox("Task Manager is now Enabled.", vbInformation, "TASK MANAGER ENABLED !!! -Sanchit Karve")
End Sub

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
x86 OS, RAM, & Virtual Machines
by Myke
Yesterday at 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Who's Online
1 Registered (Korawolf), 228 Guests and 37 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91374 Members
24 Forums
59197 Topics
189719 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22