Following on from a previous post which covers some queries and issues I had when first deploying Windows 10 1703 (better known as the Creators Update) this post is designed to walk through installing and configuring Microsoft Deployment Toolkit to build a reference image of Windows 10 1703 using a Hyper-V Virtual Machine. Installing & Configuring Microsoft Deployment Toolkit and Dependencies We’ll be using Microsoft Deployment Toolkit (MDT) version 8443, which at the time of writing is the most recent release and fully supports Windows 10 1703.
I needed to write a PowerShell utility to create Exchange mailboxes for new users in Active Directory. The utility needed to create the mailboxes, use different databases, retention policies, and take users from several Organisational Units along with users in child OUs. This utility is available to download from the Microsoft TechNet Gallery, PowerShell Gallery and GitHub. If you’d like to contact me, please leave a comment, send me a tweet or DM, or you can join my Discord server.
Introduction Update 2022-08-15: Added PowerShell commands to configure a Windows DHCP server for PXE boot. Update 2018-04-28: I’ve added the information in this post to a new one completely re-written for Windows Server 2016 here In a previous post PXE Booting for Microsoft Deployment Toolkit I mentioned that I would talk about how to set up PXE to deal with VLANs. To be honest I forgot all about it until someone on twitter reminded me - many thanks for the reminder!
UPDATE: This post is old and intended as a walk through on how my original script was put together for those wishing to learn PowerShell. For the finished, up-to-date script please check out this post and you can download the script from my TechNet profile. I previously posted a quick and dirty Hyper-V backup script that was very basic but did the job required at the time. I always wanted to revisit it and improve it.
In my There’s PowerShell In My Marzicraft! post I shared my script that creates a backup of the server and then uses OneDrive to upload it offsite. In this post, I’ll share my script to backup a Minecraft server that’s on shared hosting and therefore I only have limited access to. The server in question has a web admin front end and FTP access. I have no access to the terminal or desktop.
I’ve replaced this script with a much more robust script that will backup each VM, including checkpoints/snapshots. You can find that post here. Let’s celebrate the holiday season with a quick PowerShell script to backup a Hyper-V server…or maybe you just need a quick and dirty, belt and braces backup script for your Hyper-V based VMs. It’s a small, quick script leveraging Hyper-V’s PowerShell module and some traditional command line utilities, like robocopy.
Update 2018-04-28: I’ve completely re-written and updated this post with new information for Windows Server 2016 here. When installing PXE (pronounced “pixie”) booting for use with Microsoft Deployment Toolkit there are a few things to consider. There’s not much to installing WDS and configure PXE booting for MDT on a flat network, but if you have a larger network with VLANs there is some additional configuration needed. I’ll be covering the flat network configuration here and will post about the additional configuration needed for a larger network at a later date.
For this post the demo network consists of an Active Directory Domain Controller (DC01), a WSUS server (WSUS01) - here’s a previous post on installing WSUS, a server that will have Microsoft Deployment Toolkit installed (WDS01) and a blank Hyper-V Virtual Machine for creating the reference image. Update 2017-05-02: Please note that this post is also relevant to building Windows 10 1703 (Creators Update) images. I’ve posted about the differences here.
Update 2018-04-20 I’ve rolled the information in this post, and updated it, into a new post about setting up a WSUS server from scratch on Windows Server 2016 Core. The post is also suitable for a regular Windows Server 2016 server with a GUI. You can read it here. Update I’ve tested and updated this post for Windows Server 2016. In this post, I’m going to walk through setting up a WSUS server from scratch on Windows Server 2012 R2 or Windows Server 2016.
Update 2018-04-20: I’ve rolled the information in this post, and updated it, into a new post about setting up a WSUS server from scratch on Windows Server 2016 Core. The post is also suitable for a regular Windows Server 2016 server with a GUI. You can read it here. Update 2017-05-03: If you’re looking to resolve similar problems with WSUS on Windows Server 2016, please see this post. If you’ve been managing a WSUS server, you may have run into the well known MMC connection error above (appears as Event ID 7053 in the Event Viewer) by now.