Register a windows service

 

sc create <name> binpath="<path_to_exec>" 

ex:

 sc create wazuh binpath="c:\Program Files (x86)\ossec-agent\wazuh-agent.exe" 



DIsable LAPS

  Turn all items to disabled in LAPS GPO    Remove LAPS passwords Get-ADComputer -Filter * -SearchBase “OU=Servers,DC=mydomain,DC=com” | Se...

Mais vistos