ADCMDStuff

From WikiWiki
Jump to navigation Jump to search

CMD stuff related to Active Directory

repadmin.exe /showObjMeta domaincontroller cn

gpresult


run as any domainuser

  • runas /netonly /u:domain\user cmd



in elevated cmd!

  • runas /env /netonly /u:domain\user "mmc dsa.msc /server=domain.lcl"

otherwise

Error creating thumbnail: File missing

check audit policies

auditpol /get /category:*

  • for file sacl modifications

gpedit.msc => Computer Configuration\Windows Settings\Security Settings\Local Policies\Audit Policy\Audit object access