ProcMon | ProcMon from https : //pikacode.com/balrak/ProcMon/
kandi X-RAY | ProcMon Summary
kandi X-RAY | ProcMon Summary
ProcMon from https://pikacode.com/balrak/ProcMon/
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ProcMon
ProcMon Key Features
ProcMon Examples and Code Snippets
Community Discussions
Trending Discussions on ProcMon
QUESTION
My app is tracing compiling process on windows via g++ or clang++. To compile a make project which trigger g++.
myapp make
then the process tree looks:
ANSWER
Answered 2021-Apr-27 at 13:16I find the solution via windows debug api. WinBase.h
and if you change DEBUG_PROCESS
to following options
QUESTION
I can create non-permanent WMI event queries in script, such as this one, which logs the PIDs of the next 5 new Notepad.exe processes:
...ANSWER
Answered 2021-Apr-11 at 13:37Could you use ExecNotificationQueryAsync
instead? That way you can pass it a SWbemSink
object that you can later call Cancel()
method on to cancel the sink which should also remove any event consumer associated with that sink.
The problem with using the ExecNotificationQuery()
method is it only gives you access to a SWbemEventSource
object which allows calling the next event in the enumerator. It doesn't seem possible to use that method to remove the event consumer once it is registered.
Running this:
QUESTION
I have code that performs following steps:
- open file
- write data
- set file timestamps (via
SetFileInformationByHandle(FileBasicInfo)
) - close file
When file is stored on certain NAS devices (and accessed via share) it's modification time ends up being set to current time.
According to Process Monitor Close()
in step 4 results in a Write
(local cache gets flushed/pushed to NAS device) that (seemingly) updates file's mtime on server.
If I add FlushFileBuffers()
(or sleep for few seconds) between steps 2 and 3 -- everything is fine.
Is this a bug in SMB implementation of this NAS device (Dell EMC Isilon) or SetFileInformationByHandle()
never promised anything?
What is the best way to deal with this situation? I would really like to avoid having to call FlushFileBuffers()
...
Edit: Great... :-/ It looks like for executables (and only executables) atime
(last access time) gets screwed up too (in the same way). Only these are harder to reproduce -- need to run this logic few times. Could be some antivirus... I am still investigating.
Edit 2: According to procmon
access time gets updated by EXPLORER.EXE
-- when it sees an executable, it can't resist opening it and reading portions of it (probably extracting the icon).
ANSWER
Answered 2021-Jan-26 at 18:45You can't really do anything -- I guess Isilon's SMB implementation doesn't support certain things (that would've preserved timestamps).
I simply added FlushFileBuffers()
before SetFileInformationByHandle()
and made sure there are no related race conditions in my code.
QUESTION
i have a script that check the input link, if it's equivalent to one i specified in the code, then it will use my code, else it open the link in chrome.
i want to make that script kind of as a default browser, as to gain speed compared to opening the browser, getting the link with an help of an extension and then send it to my script using POST.
i used procmon to check where the process in question query the registry key and it seem like it tried to check HKCU\Software\Classes\ChromeHTML\shell\open\command
so i added a some key there and in command, i edited the content of the key with my script path and arguments (-- %1)(-- only here for testing purposes)
unfortunately, once the program query this to send a link, windows prompt to choose a browser instead of my script, which isn't what i want.
Any idea?
ANSWER
Answered 2021-Jan-26 at 00:31in HKEY_CURRENT_USER\Software\Classes\ChromeHTML\Shell\open\command
Replace the value in default with "C:\Users\samdra.r\AppData\Local\Programs\Python\Python39\pythonw.exe" "[Script_path_here]" %1
when launching a link, you'll be asked to set a default browser only once (it ask for a default browser for each change you make to the key): i select chrome in my case
as for the python script, here it is:
QUESTION
I am using Sysinternals Process Monitor to debug some incoming events and now I am trying to create a filter on Path and using wildcards. What I am trying to use is to filter path which begin with c:\MyApp\MyDocuments\Temp and ends with .pdf
Path filter should look like this: c:\MyApp\MyDocuments\Temp*.pdf
How can I do this?
...ANSWER
Answered 2020-Oct-10 at 21:38AFAIK, this is not possible. You can just use
begins with
c:\MyApp\MyDocuments\Temp
and another filter ends with
.pdf
.
QUESTION
I am using Sysinternals Process Monitor to debug some incoming events. Now I am trying to create a filter on 'Time Of Day' in order to filter those incoming events which time is greater than an specific time.
For example, If I want to obtain those incoming events which time is greater than '13:30' how can I do this?
...ANSWER
Answered 2020-Oct-10 at 21:28Use Date&Time
, more than
and give a date and time. Since it is 10.10.2020
on my machine, it seems that time is localized (Germany here).
QUESTION
ANSWER
Answered 2020-Aug-13 at 03:25Visual Studio includes a vsregedit.exe utility that you can use to change Visual Studio settings:
QUESTION
background: I have a PHP script which calls shell_exec
. For the moment i just want to test that it works and am running a basic command through it. Separate copies of the same script exist in two separate webapps on the same server. Both apps' anonymous authentication are set to IUSR.
Here is the example code:
...ANSWER
Answered 2020-Jun-01 at 08:00It turns out, for whatever reason, that IUSR was the problem. I cannot exactly know why, but changing Anonymous Authentication of the affected website to use another user it worked. So it is permissions related after all.
QUESTION
I have npm and node installed (tried NVM for Windows and direct installations).
When running 'npm -v' or 'node -v' in Git Bash everythings works fine. But when I try to run 'npm run dev' (or any other command) the output says that 'node command is not recognized'.
In other shells (CMD/Powershell) everything works fine.
I've checked Path variable in Windows, Path variable in Git Bash, everything seems to be correct.
Error screenshot Path variable screenshot
Any help appreciated.
p.s. While I was trying to find an answer I saw the same question from @jameseg , maybe if he sees this one he could help.
...ANSWER
Answered 2020-Jun-29 at 14:07Your PATH
environment variable is quite a mess. It has duplicate entries, also has an entry C:\Program Files\nodejs\node.exe
which is not valid because it should be a folder, not a file, and it has .
in the middle which doesn't make much sense either.
But the main problem is that it has a stray doublequote, after C:\Program Files\Java\jdk-13.0.1\bin
:
With this, effectively all the paths after it are ignored, because they are treated as part of one big quoted string (which is implicitly terminated by the end of the variable data).
To illustrate what I mean, consider this example:
This correct PATH
variable...
QUESTION
I have an Outlook Add-in(under development) which was working fine on my old system. I decided to migrate to a new system(for better performance), when I have done so(IN DEBUG MODE), I saw that after some time the Add-in is not visible in Outlook(neither in COM AND disabled window).
Specifications I am using:
System type is 64-bit OS, x64-based processor
Microsoft Visual Studio Community 2019 Version 16.5 with .NET framework 4.7.2
Microsoft Office 365(16.012730.20144) 32-bit
Troubleshoots I tried:
1) Checked Build Office solutions, for verifying all items are generating and working properly.
- Registry entry is generating correctly.
- VSTO file(bin/debug) is getting installed successfully(when I manually double click that)
2) Troubleshooting by Event Viewer:
No error's related to Outlook(as a source).
Possibly related error's:
i) Source - DistributedCOM : The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {6B3B8D23-FA8D-40B9-8DBD-B950333E2C52} and APPID {4839DDB7-58C2-48F5-8283-E1D1807D0D7D} to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
ii) Other Errors are from source PerfNet and NDIS(Which I suppose is not related to this topic)
3) Troubleshooting by Process Explorer:
Their is no outlook Add-in DLL present in process explorer.
4) Troubleshooting by Process Monitor:
I am new with procmon, so just used some basics like, applied a filter with Outlook process name(including registry, file system, Network, process and thread activities). And the results were SUCCESS, BUFFER TOO SMALL, NAME NOT FOUND, NO MORE ENTERIES other. Their was nothing I can relate with my issue.
Other Information
- After this issue, I made a same new project and it worked fine, but the same happened(Add-in not visible) after some time. And I have done this(Created new project) four times till now. What I observed is, when I create a new Add-in with same name, the issue is same, so I have to choose different name every-time.
I am not able to find any error description for this. So can anybody please tell me what is the issue here OR how I can troubleshoot more(with above tools or new one).
Thanks in advance.
...ANSWER
Answered 2020-May-30 at 18:20If you don't see your add-in listed in the COM add-ins dialog of Office applications, the problem is related to Windows registry keys required. Read more about them in the Registry entries for VSTO Add-ins article.
It seems something is wrong with your add-in registry entries (maybe permissions). And the issue can be related to Windows/Office bitness. Most probably you had another Office edition (bitness) installed on the old system (or Windows).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ProcMon
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page