Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New issue - VM running Windows 11 Pro #56

Closed
oasec1 opened this issue Feb 21, 2023 · 5 comments
Closed

New issue - VM running Windows 11 Pro #56

oasec1 opened this issue Feb 21, 2023 · 5 comments

Comments

@oasec1
Copy link

oasec1 commented Feb 21, 2023

Here is the error that is being displayed upon execution. Python version- python-3.11.2 32bit

[*] Running cmdline: "c:\tools"\procmon.exe" /BackingFile "Noriben_20_Feb_23__11_47_843808.pml" /Quiet /Minimized /LoadConfig "c:\noriben\ProcmonConfiguration.PMC"
Traceback (most recent call last):
File "c:\noriben\noriben.py", line 1591, in
main()
File "c:\noriben\noriben.py", line 1524, in main
launch_procmon_capture(procmonexe, pml_file, pmc_file)
File "c:\noriben\noriben.py", line 976, in launch_procmon_capture
subprocess.Popen(cmdline)
File "C:\Users\oasec\AppData\Local\Programs\Python\Python311-32\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\oasec\AppData\Local\Programs\Python\Python311-32\Lib\subprocess.py", line 1493, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied

Once again thanks for such a great tool!
Robert

@Rurik
Copy link
Owner

Rurik commented Feb 21, 2023

That is odd. Are you able to run the command line directly as it is there? Maybe the double quotes in the procmon path are causing problems?

"c:\tools"\procmon.exe" /BackingFile "test.pml" /Quiet /Minimized /LoadConfig "c:\noriben\ProcmonConfiguration.PMC"

@oasec1
Copy link
Author

oasec1 commented Feb 21, 2023 via email

@oasec1
Copy link
Author

oasec1 commented Feb 22, 2023

I rebooted again, and then ran it manually It is working now so my plan is to revisit the batch files for typos.

Thanks
Robert

@Rurik
Copy link
Owner

Rurik commented Feb 22, 2023

Sounds good. I'm going to close this issue for now, but please reopen it if the problem continues.

@Rurik Rurik closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2023
@oasec1
Copy link
Author

oasec1 commented Feb 22, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants