The blog
140 tutorials and war stories on homelabs, Windows Server, Microsoft 365, networking and security. Searchable, tagged, no pagination maze.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.