Skip to content

Instantly share code, notes, and snippets.

@eddiez9
Created September 13, 2019 00:37
Show Gist options
  • Save eddiez9/31ed7e11d9d0b1e1158102e1e45250ce to your computer and use it in GitHub Desktop.
Save eddiez9/31ed7e11d9d0b1e1158102e1e45250ce to your computer and use it in GitHub Desktop.
Grab NTDS.dit by running this on a DC
@echo off
ntdsutil "activate instance ntds" ifm "create full C:\audit" quit quit
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment