|
-
Dec 22nd, 2012, 03:17 AM
#1
Thread Starter
Lively Member
Execute with Acess Denied permission
Hello,
I am impressed by few Antiviruses applications. I am getting 'Access Denied' message on killing them via Process Manager in Windows. So My question is, How can we create such application in VB6 which would be unable to kill by process managers?
If you know please share here.
Thanks
Regards,
-
Dec 23rd, 2012, 05:51 AM
#2
Re: Execute with Acess Denied permission
If you are talking about the task manager
vb Code:
'Works up until Vista App.TaskVisible = False
Disabling the Task Manager via the registry.
vb Code:
Dim reg As New RegistryClass With reg 'Disable task manager .SetKeyValue .HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\System", .RegDWORD, "DisableTaskMgr", "1" End With With reg 'Enable task manager .SetKeyValue .HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\System", .RegDWORD, "DisableTaskMgr", "0" End With
The above code just needs to be placed in the project here (see post #8) which, is another project I created using the exact same registry class.
I hope you are not going to do anything illegal with the code.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Dec 23rd, 2012, 07:11 AM
#3
Re: Execute with Acess Denied permission
Thread moved from the 'CodeBank VB6' forum (which is for you to post working code examples, not questions) to the 'VB6 and earlier' forum
-
Dec 24th, 2012, 12:17 AM
#4
Thread Starter
Lively Member
Re: Execute with Acess Denied permission
Hello si_the_geek, Thanks for moving the thread on proper section.
@ NightWalker, No i dint mean to disable taskmanager or to hide application on process list. I simply mean is to execute application with the permission that it wouldn't be terminate by normal user. For example, if you have installed any Antivirus on your system, You can goto taskmanager and try to terminate its running processes. You will get error message something like: Access Denied.
I am asking about such process execution, I want to know if it is possible with VB6 app or not.
Thanks again
Regards,
-
Dec 24th, 2012, 01:30 AM
#5
Re: Execute with Acess Denied permission
I'm not sure but I think making your application act as a service can do that.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Dec 24th, 2012, 05:53 AM
#6
Thread Starter
Lively Member
Re: Execute with Acess Denied permission
Ohkay Thank you Nightwalker83,
I need to search about creating access denied services in vb6.
Regards,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|