-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
Get-ADReplAccount : Exception has been thrown by the target of an invocation. #152
Comments
Hi @EricDaou , if it was caused by the STIG, you would not be able to connect at all. Could you please share the stack trace, as described here? |
Here is the info you wanted, thanks again PS C:\Windows\system32> Get-History Id CommandLine 1 Get-ADReplAccount -All -Server ** -NamingContext "****" PS C:\Windows\system32> $Error[0].Exception.Message PS C:\Windows\system32> $Error[0].Exception.StackTrace PS C:\Windows\system32> (Get-Module -Name DSInternals -ListAvailable).Version.ToString() PS C:\Windows\system32> (Get-WmiObject -Class Win32_OperatingSystem).Caption |
Ah, OK, so that IS caused by the STIG, although I do not quite understand how 2 accounts could have gone through. Maybe they did not have passwords set. Please have a look at issue #97. The only solution on my side would be to reimplement MD5, which I do not want to do. Or maybe a better error message. |
Thank you! it was indeed FIPS.. turning it off it all run's as normal. |
I am trying to run Get-AdReplAccount on a windows 2019 Domain controller, it pulls 2 account's then crashes with the following error
"Get-ADReplAccount : Exception has been thrown by the target of an invocation."
FYI I have applied 95% of the STIG security baseline for server 2019 found here : https://www.stigviewer.com/stig/microsoft_windows_server_2019/
Could one of those controls have locked something down causing this issue?
The text was updated successfully, but these errors were encountered: