The blog

133 tutorials and war stories on homelabs, Windows Server, Microsoft 365, networking and security. Searchable, tagged, no pagination maze.

Entra ID & Intune · Microsoft 365 Feb 16, 2023 1 min read

Autodiscover Ignores Exchange Online? Check the Registry

Outlook asks for Office 365 credentials while the mailbox is still on Exchange on-premises: set ExcludeExplicitO365Endpoint under the Autodiscover key.

Entra ID & Intune Feb 16, 2023 1 min read

Configure team site libraries to sync automatically

Make SharePoint team site libraries sync automatically in OneDrive: copy the library ID, decode it with UnescapeDataString and set TenantAutoMount.

Windows Server Feb 10, 2023 1 min read

Upgrade Domain Controllers to a Newer Windows Server

Run adprep /forestprep and adprep /domainprep /gpprep before an in-place domain controller upgrade, with the supported paths from Server 2008 to 2022.

Scripts Feb 5, 2023 3 min read

Create a VLAN with the UniFi API

Python script that creates multiple VLANs on a UniFi site through the controller API from a list of VLAN IDs and names.

Scripts Feb 5, 2023 3 min read

Create a New UniFi Site with the UniFi API

Python script that calls the UniFi controller API to create a new site with two SSIDs and a VLAN per SSID. Fill in your controller URL and credentials.

Entra ID & Intune Jan 26, 2023 15 min read

AAD Connect / Cloud Sync with Existing Cloud Users

Avoid duplicate users when linking an existing Office 365 tenant to AD Connect: scripts to match users, sync proxyAddresses and set ImmutableIDs.

Windows Server Jan 23, 2023 2 min read

Server 2022 - Remote Desktop Services - Part 6 Remote App

Part 6 of the Server 2022 RDS series: add a second Session Host and configure it as a RemoteApp server so users run applications without a local install.

Windows Server Jan 20, 2023 1 min read

FSLogix - Service group policy client prevents login

Fix the FSLogix 'Group Policy Client service failed the sign-in' error: find the user's SID and set RefCount to 0 under ProfileService\References.

Entra ID & Intune Jan 14, 2023 1 min read

Migrate Group Policies to Intune

Video on migrating Group Policies from Active Directory to Microsoft Intune, covering the approach and best practices for cloud policy management.

Self-hosting · Backup Jan 12, 2023 1 min read

UrBackup - Deploying Clients with GPO

Deploy the UrBackup client to all servers and workstations with Group Policy software installation, following the UrBackup server install video.