if this is the case without any GPO
you need to configure the local security policy at each workstation
maybe you can use a PowerShell script like the following
please do not use the powershell directly modify according to your requirements
$DomainAdminGroup = "YourDomain\Domain Admins"
$Workstations = Get-ADComputer -Filter 'OperatingSystem -like "*Windows*" -and OperatingSystem -notlike "*Server*"'
foreach ($Workstation in $Workstations) {
$ComputerName = $Workstation.Name
Invoke-Command -ComputerName $ComputerName -ScriptBlock {
param($DomainAdminGroup)
$LocalPolicyPath = "HKLM:\System\CurrentControlSet\Control\Lsa\"
$LogonRights = Get-ItemProperty -Path $LocalPolicyPath -Name "SeDenyInteractiveLogonRight"
$RemoteLogonRights = Get-ItemProperty -Path $LocalPolicyPath -Name "SeDenyRemoteInteractiveLogonRight"
$LogonRightsArray = $LogonRights.SeDenyInteractiveLogonRight
$RemoteLogonRightsArray = $RemoteLogonRights.SeDenyRemoteInteractiveLogonRight
if (-not $LogonRightsArray.Contains($DomainAdminGroup)) {
$LogonRightsArray += $DomainAdminGroup
Set-ItemProperty -Path $LocalPolicyPath -Name "SeDenyInteractiveLogonRight" -Value $LogonRightsArray
}
if (-not $RemoteLogonRightsArray.Contains($DomainAdminGroup)) {
$RemoteLogonRightsArray += $DomainAdminGroup
Set-ItemProperty -Path $LocalPolicyPath -Name "SeDenyRemoteInteractiveLogonRight" -Value $RemoteLogonRightsArray
}
} -ArgumentList $DomainAdminGroup
}