adconnectdump
adconnectdump copied to clipboard
System.IO.FileNotFoundException
Hi,
I am running ADSyncDecrypt.exe from the bin folder and using a cmd gotten from mimikatz after a "token::elevate /user:ADSync" / "misc::cmd"
`C:\Program Files\Microsoft Azure AD Sync\Bin>ADSyncDecrypt.exe Opening database Data Source=(LocalDB).\ADSync;Initial Catalog=ADSync;Connect T imeout=30
Unhandled Exception: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 e rrorCode, IntPtr errorInfo) at Microsoft.DirectoryServices.MetadirectoryServices.Cryptography.KeyManager. LoadKeySet(Guid guidEntropy, Guid guidMms, UInt32 uKeySetId) at ADSyncDecrypt.Program.Main(String[] args)`
"--legacy" option not better.
I guess I am missing something. Any idea?
Thank you, Nico
I also tried ADGatherSync but I was getting a "key is null"
I am probably missing something :(