Categories
Windows Zentyal

Fixing domain trust issues

If you get the error message “The trust relationship between this workstation and the primary domain failed”, here is how you can fix it.

Open a PowerShell as Administrator and enter the following commands:

Test-ComputerSecureChannel

This will show true or false. If it shows false, enter the following commands (replace domain.lan with your domain name, adminaccount with your administrator username, and domainserver with the name of your domainserver)

$credential = Get-Credential domain.lan\adminaccount
Reset-ComputerMachinePassword -server domainserver 
-credential $credential

This should fix the problem without having to leave and rejoin the domain.

Categories
Windows

Windows changes my printer ports. Help!?

Windows 10 (and presumably Windows 11 as well) has the very annoying ‘feature’ of thinking it can manage your printer better than you can yourself.

If you printer stops working for some inexplicable reason, then the changes are great that Windows had decided to change your printer port to a WSD port, even if you installed it with an IP port.

To avoid this behaviour, delete the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\WSD Port