Rootctl

Windows

List
PowerShell





Account inAD2



Unlocked account in AD




$Services='DNS','DFS Replication','Intersite Messaging','Kerberos Key Distribution Center','NetLogon',’Active Directory Domain Services’
ForEach ($Service in $Services) {Get-Service $Service | Select-Object Name, Status}



------Printer Spooler---------
Get-Service -name Spooler -ComputerName DC1, SRV6, VM10 | select name, status, starttype
Get-Service Spooler | %{if ($_.Status -eq "Stopped") { Start-Service Spooler }}
Stop-Service -Name Spooler -Force
Set-Service -Name Spooler -StartupType Disabled



 



.