Skip to content

System.IO.FileNotFoundException #4

Description

@p4r4d0x86

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions