Lightweight tags:
Annotated tags:
Lightweight tags:
Annotated tags:
Short info for myself: how to install specific extension:
Goal for this exercise is to setup a two domain contoso.local and foo.local and manage users in domain contoso using some user in domain foo.local.
First goal is to setup both domains with trust between them, there are plenty of solutions for this on internet.
Overall outcome is:
I will use user foo\vagrant to update manager property of user contoso\user.
Now another user manager:
update manager property:
Property Manager is updated.
Compile using Visual Studio Community following code:
Execution in Powershell:
New-Item -path HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\ -name AutoEnrollment
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\AutoEnrollment\ -Name AEPolicy -Value 7
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\AutoEnrollment\ -Name OfflineExpirationPercent -Value 10
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\AutoEnrollment\ -Name OfflineExpirationStoreNames -Value MY
Adjust your cert thumbprint
Import-Module WebAdministration
#check validity
Get-Item Cert:\LocalMachine\My\7FCF3A69C4E62637677953CB61F27D669154C6B5 | fl
#set bindings
dir cert:\localmachine\my\7FCF3A69C4E62637677953CB61F27D669154C6B5 | Set-Item IIS:\SslBindings\0.0.0.0!443