Configure Service Authentication and Account Policies Flashcards
Which built-in Service Accounts have the most permissions?
Local System > Local Service > Network Service
How do you create a service account (unmanaged)?
- Create a new user account
2. Within a service’s properties, on the Log on As tab, specify the user account to be used as a service account.
What PowerShell command can be used to create a new service?
New-Service -Name -BinaryPathName
What PowerShell command can be used to create a Managed Service Account?
- New-ADServiceAccount -Name -RestrictSingleComputer
- Add-ADComputerServiceAccount -Identity -ServiceAccount
- Install-ADServiceAccount -Identity
What PowerShell command can be used to test if service account is functional?
Test-ADServiceAccount -Identity
How do you create a Group Managed Service Account?
- Create a key distribution center root key by typing:
Add-KDSRootKey -EffectiveImmediately
(10 hours to complete) - Create the gMSA by typing:
New-ADServiceAccount -Name -DNSHostName -PrincipalsAllowedToRetrieveManagedPassword “Domain Computers” or specified OU - Remotely Push “RSAT AD PowerShell” to machines that will utilized the gMSA by typing:
Invoke-Command -ComputerName -ScriptBlock { Install-WindowsFeature RSAT-AD-PowerShell } - Log into server utilizing gMSA and install service account by typing:
Install-ADServiceAccount - (Optional) Test gMSA by typing:
Test-ADServiceAccount -Identity
What is Kerberos Constrained Delegation?
The use of user account credentials to access requested services on a server
How do you configure Kerberos Constrained Delegation?
- Navigate to ADUC > Server Properties > Delegation tab
- Select “Trust this computer for delegation to specified services only”
- Specify the server and service to be used
How do you view Service Principal Names?
ADUC > View > Advanced Features > Properties > Attribute Editor tab
What command-line utility can be used to manage Service Principal Names?
Setspn
Using the setspn utility, how do you view Service Principal Names?
setspn -l
Using the setspn utility, how do you create a new Service Principal Name?
setspn -s / \
How do you configure a virtual service account?
Service’s Properties > Log on As tab
For account, specify NT SERVICE\
In the Run dialog box, what brings up the Security Settings section of Group Policy?
Run > secpol.msc
Where do you configure domain and local user password policy settings?
Group Policy Management Editor > Default Domain Policy > Computer Configuration > Policies > Windows Settings > Security Settings > Account Policies