The blog

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

Scripts Dec 4, 2023 1 min read

Converting Python Scripts to Executables

Turn a Python script into a standalone Windows executable with PyInstaller, using --onefile and --noconsole for a single file without a console window.

Windows Server Nov 28, 2023 1 min read

Drivemapping with Registery key's

Map a network drive for the current user with a .reg file under HKEY_CURRENT_USER\Network, plus a cmd loop to import several .reg files at once.

Windows Server Nov 13, 2023 1 min read

Remote Desktop - OneDrive Single Sign On

Install OneDrive per-machine on a Remote Desktop Session Host and enable Files On-Demand, Known Folder Move and silent sign-in through Group Policy.

Scripts Nov 9, 2023 3 min read

Calculate a Network Subnet using Python!

Python script using the ipaddress module that reads subnets from a CSV and writes the first and last usable IP of each. Written for 100 subnets at once.

  • Windows Server Nov 5, 2023 6 min read

    Automatic Domain Join with Microsoft Deployment Toolkit!

    Part 5 of the MDT series: automate domain join with a non-admin account by raising ms-DS-MachineAccountQuota and setting MachineObjectOU per device type.

    Windows Server Nov 4, 2023 3 min read

    Add Applications and Bundles in MDT (Part 4)

    Part 4 of the MDT series: create applications and bundles in the Deployment Workbench, hide bundled apps and install bundles via CustomSettings.ini.

    Windows Server Nov 2, 2023 3 min read

    Adding Drivers to the Microsoft Deployment Server!

    Part 3 of the MDT series: import drivers into LAPTOP and DESKTOP folders per model, keep WinPE drivers in a selection profile, use HP and Dell packs.

    Windows Server Nov 1, 2023 3 min read

    Customizing the Microsoft Deployment Server!

    Part 2 of the MDT series: tune CustomSettings.ini with priorities, sections and subsections to skip wizard pages, auto-name computers and add apps.

    Windows Server Oct 29, 2023 8 min read

    Setting Up a Microsoft Deployment Server!

    Part 1 of the MDT series: install the Windows 11 ADK, WinPE add-on, MDT 8456 and its hotfix, then script the deployment share and test PXE boot.

    Windows Server Oct 19, 2023 2 min read

    Set Up VDI on Windows Server 2022 (RDS Part 8)

    What Virtual Desktop Infrastructure is, how it differs from session-based RDS, and how to build a VDI pool on Hyper-V from a Windows 10/11 template VM.