Forum Discussion
bitwise
Oct 09, 2026Copper Contributor
MDEClientAnalyzer fails because dsregcmd.exe is distrusted
I have the problem that the MDEClientAnalyzer script always fails on my Windows 11 Enterprise 25H2 system because it fails to verify the signature of C:\Windows\System32\dsregcmd.exe That file ...
gusten
Oct 20, 2026Copper Contributor
I had the same problem. The script was updated yesterday and the error is now gone.
But instead I recieve "
You cannot call a method on a null-valued expression.
At C:\MDE\MDEClientAnalyzer.ps1:4381 char:2
+ $CertAsBytes = ([System.Security.Cryptography.X509Certificates.X5 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull"
I haven't tried to figure out why..