Created
April 1, 2020 03:36
-
-
Save manualbashing/b532e270f06b02cb97429a7ffc9cd0ba to your computer and use it in GitHub Desktop.
Use procmon remotely #sysinternals
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://4sysops.com/archives/using-process-monitor-procmon-remotely/ | |
| @echo off | |
| Psexec.exe -sd \\%1 procmon -accepteula -backingfile c:\temp\proc.pml -quiet | |
| Pause | |
| Psexec.exe -sd \\%1 procmon -accepteula -terminate -quiet | |
| Xcopy \\%1\c$\temp\proc.pml c:\temp\ | |
| Del \\%1\c$\temp\proc.pml | |
| Procmon.exe /openlog c:\temp\proc.pm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment