My scratchpad

On this page I will collect commands and short snippets on problems I encounter Windows Problem: “The trust relationship between this workstation and the primary domain failed”Fix: Reset-ComputerMachinePassword -Server DomainController -Credential DomainAdmin Active Directory Running a domain controller on Hyper-V that is a member of the same AD domain. This…

Continue reading

Using Let’s Encrypt Certificates with Remote Desktop Services

To continue from my previous guide I will now show how to use certificates from Let’s Encrypt and automate the renewal for use with Windows Remote Desktop Services. As before I will use Posh-ACME to get the certificates from Let’s Encrypt. Install the Powershell module Posh-ACME from Powershell Gallery if…

Continue reading