Any help or suggestion is appreciated.
Process Monitor Error – Capture requires Administrators group membership
Hi,
Just would like to find out what will be the best way to allow ProcMon to run correctly without giving the Load an unload device drivers privilege via GPO?
It was found out last week that user with machine administrator right are getting error attached
when running proc mon (the same error even trying to run procmon as administrator)
Any help or suggestion is appreciated.
Thanks.
Sysinternals
2 answers
Sort by: Most helpful
-
-
RLWA32 51,536 Reputation points2025-12-10T22:51:59.26+00:00 @Mueller, Stefan, If you have access to run Sysinternals PsExec you may be able to work around the problem created when the "Load and unload device drivers" right is removed from the Administrators group.
The SYSTEM account has SeLoadDriverPrivilege and consequently is capable of successfully starting Process Monitor. I used PsExec to open a command prompt running as SYSTEM. From that comand prompt I started Process Monitor and it was able to capture events.
Another way would be to use the Task Scheduler to start an instance of Process Monitor running as SYSTEM. Since it will run in non-interactive session 0 specify the /Runtime command line argument to have it terminate after several seconds. After all, its only being used this way to load the PROCMON24.SYS driver
After either of the above workarounds I was able to start it as a user that is a Member of the Administrators group and capture events because the PROCMON24.SYS driver was already loaded.
Edit--
Finally, with come coding the Windows API can be used to have the SCM (Service Control Manager) load the PROCMON24.SYS driver.