-
May 26th, 2014, 04:09 PM
#1
Thread Starter
Addicted Member
-
May 26th, 2014, 10:02 PM
#2
Re: How can I know the absolute path of a running process?
Right click Project1.exe and select Run as admin from the context menu
Please remove Project1.exe file from your attachment, this is violate forum rules!
-
May 27th, 2014, 02:31 PM
#3
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
thank you
Project1.exe removed
yes with administrator privileges its still ignore some process !
-
May 27th, 2014, 03:28 PM
#4
Re: How can I know the absolute path of a running process?
-
May 27th, 2014, 05:36 PM
#5
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
its same can`t display path
I think my problem in "user Name"
take a look
what should I do with my project to read it ?
-
May 27th, 2014, 06:01 PM
#6
Re: How can I know the absolute path of a running process?
Interesting, I am getting a path of 'null' in your loop for those entries you can't see.
Researching......
-
May 27th, 2014, 07:34 PM
#7
Re: How can I know the absolute path of a running process?
You wrote: "I think my problem in "user Name""
I don't think so....in running your project, I see other processes with the same User Names (SYSTEM, LOCAL SERVICE) and they DO show the path.
EDIT----I mean, I see the PATHS and USER NAMES in the task manager, not your program.....
Last edited by SamOscarBrown; May 27th, 2014 at 07:50 PM.
-
May 28th, 2014, 08:50 AM
#8
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
ok but why can`t show path for :
smss.exe
csrss.exe
audiodg.exe
-
May 28th, 2014, 09:03 AM
#9
Re: How can I know the absolute path of a running process?
Still researching....you are not alone.
-
May 28th, 2014, 10:14 AM
#10
Re: How can I know the absolute path of a running process?
The code from the link I posted above does show the path for smss.exe
512 \SystemRoot\System32\smss.exe
It does not show csrss.exe at all even though that is a running process on my system and the other one you mention is not showing up under task manager processes
-
May 28th, 2014, 10:31 AM
#11
Re: How can I know the absolute path of a running process?
That code at that link does not show csrss.exe on my system (Win7) either (which IS in TaskManager), however, as smss.exe is NOT running my TaskManager, I am not seeing it using that code in that link (of course). So, there must be SOMETHING about csrss.exe that is causing neither of those two attempts to 'trap' its location (and HOPEFULLY, any csrss.exe (all lower case) running on your systems are located in the System32 directory, otherwise, pretty darn good chance you have a virus masquerading as csrss.exe (Also, if you have one in ALL CAPS, probably a virus as well).
-
May 28th, 2014, 10:41 AM
#12
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
Thank You
I use win8.1 x64
I didn't show csrss.exe in Process TaskManager but in Details I can show it
-
May 28th, 2014, 11:31 AM
#13
Re: How can I know the absolute path of a running process?
I'm using XP on this box so no details tab
-
May 28th, 2014, 11:53 AM
#14
Re: How can I know the absolute path of a running process?
Not sure if the last post with code would work for those process.
http://www.vbforums.com/showthread.p...of-running-Exe
-
May 28th, 2014, 03:39 PM
#15
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
Originally Posted by Max187Boucher
nope, I got only 22 running process my all process is 72
just I need return full path for all process wherever it is
-
May 28th, 2014, 08:33 PM
#16
Re: How can I know the absolute path of a running process?
Ran across this year old thread....didn't see if the project was the same or not, but supposedly it makes a task-manager type program...you might wanna check to see if it will list ALL processes.
http://www.vbforums.com/showthread.p...of-application
-
May 29th, 2014, 07:59 AM
#17
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
Originally Posted by SamOscarBrown
Thank you
I want show full path for [system]
-
May 29th, 2014, 08:54 AM
#18
Re: How can I know the absolute path of a running process?
Well, in that case, what I would do is after you run that code, do a "file search" for any executable that shows "SYSTEM", then replace "SYSTEM" with the path you found. You know how to search directories, YES?
ie
IF Path = "SYSTEM" then
'do file search with NAME returning its path
'update your textbox/grid/whatever you are using with the path where you have "SYSTEM"
end if
Its a workaround but it should work (around~smile~).
-
May 29th, 2014, 10:09 AM
#19
Re: How can I know the absolute path of a running process?
...or on your original code, whereever your path was NULL, trap the exe name, and do the file search there, replacing the NULL with the path.
-
May 29th, 2014, 11:15 AM
#20
Re: How can I know the absolute path of a running process?
What legitimate reason is there for trying to get access to protected system processes anyway?
Frankly I wish Microsoft had extended this Process Integrity mechanism to make it easier to isolate applications from tampering and hijacking, but they realized malware would just end up trying to exploit it as a defense against antivirus software. At least we have windowless controls and several other anti-hijack techniques we can use to fend off window spelunkers though.
Since audiodg.exe plays a major role in audio DRM in Windows and csrss.exe mediates process creation and shields the kernel I find this thread doubly suspicious.
-
May 29th, 2014, 12:56 PM
#21
Re: How can I know the absolute path of a running process?
There are some system files that doesn't reveal their location and can't be closed using the Task Manager, doing so could cause a BSOD. They are all part of various subsystems and security of the OS. I would just list them as SYSTEM, however they all reside in the System32 folder.
-
May 29th, 2014, 04:29 PM
#22
Thread Starter
Addicted Member
Re: How can I know the absolute path of a running process?
Ok, Thank you very much everybody
Now I know the reason ,I`ll give it system path
really you are great
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
|