OSDeploy | Sune Thomsen
TwitterLinkedInWindows 365 CommunityMVP ProfileGitHub
  • Home
  • Blog
    • Microsoft Intune
      • How to migrate BitLocker key(s) from all fixed drives to Microsoft Entra ID.
      • Migrate Bitlocker Recovery Key(s) to Azure AD with Proactive Remediation
      • Migrate imported GPOs to Intune with Group Policy analytics (preview)
      • Group Policy analytics (preview) made a bit easier with PowerShell
      • Analyze on-premises GPOs with MEM Group Policy Analytics (preview)
    • Virtual Machine
      • Fix the Hyper-V virtual switches after updating to Windows 11 (22H2)
    • 🆕Windows 365
      • 🆕Windows 365 Boot: Why User-Driven Mode?
      • 🆕Enhancing Security With Intune MAM (preview) for Windows 365
      • The Concept of Windows 365 Switch
      • The Concept of Windows 365 Boot
      • The Concept of Windows 365 Frontline
      • Move Cloud PCs to a new Azure Region or Azure Network Connection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 4. Windows 365 app and Cloud PC reporting
      • Windows 365 End-User Experience (Tips & Tricks) – Part 3. Multimedia Redirection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 2. Teams Optimization, SSO, and Localization
      • Windows 365 End-User Experience (Tips & Tricks) – Part 1. Connection experience
      • How to Configure Windows 365 Azure AD Join Single Sign-on (SSO)
      • Keep Windows 365 current and stay current with Windows Autopatch
      • Provide the end-users with a localized Windows 365 Cloud PC experience
      • How to configure Windows 365 Enterprise Azure AD join
      • How to secure Windows 365 using a FIDO2 security key
      • Prevent sensitive information from being captured on Windows 365 CPCs
      • Manage local administrator rights on Windows 365 Cloud PCs.
      • How to create a custom image for Windows 365 Enterprise Cloud PCs
      • How to reprovision existing Cloud PC (Windows 365) to Windows 11
      • How to configure Windows 365 Enterprise in Microsoft Endpoint Manager
  • Archive
    • Deployment
      • OSDCloud: The ZTI Way
      • OSDBuilder: WinPE Customization
    • Microsoft Configuration Manager
      • ConfigMgr: Run "All" Client Actions During OSD
      • ConfigMgr: WIM Your Applications Like a Boss
      • ConfigMgr: Deploy UWP Applications During OSD
      • ConfigMgr: Building a Basic LAB Environment
        • Part 1 - Installing Windows 10 (1909) on the Host
        • Part 2 - The Host and Hyper-V Configuration
        • Part 3 - Setting up the Domain Controller
          • Active Directory
          • DHCP
          • DNS
        • Part 4 - Setting up Microsoft Endpoint Configuration Manager
          • Prerequisites
          • SQL
        • Part 5 - Setting up Discovery Methods and Boundaries
        • Part 6 - Setting up Software Update Point
      • ConfigMgr: Splash Screen for Driver and BIOS Update
      • ConfigMgr: Global Conditions for Dell WD15 Dock Detection
    • Microsoft Intune
      • Block personally owned devices in Intune with enrollment restrictions
      • Remove Windows 10 built-in apps with Intune & Microsoft Store for Business Apps
    • Windows
      • Win10: Multi-Language Toast Notifications
        • Toast Notification: Low Disk Space
  • Links
    • Blogs
    • Microsoft
    • Scripts
Powered by GitBook
On this page
  • BEFORE YOU BEGIN
  • HOST CONFIGURATION
  • Hardware
  • Software
  • HOST INSTALLATION
  • DiskPart
  • Windows 10 Installation

Was this helpful?

  1. Archive
  2. Microsoft Configuration Manager
  3. ConfigMgr: Building a Basic LAB Environment

Part 1 - Installing Windows 10 (1909) on the Host

04-12-2020 5:39 PM

PreviousConfigMgr: Building a Basic LAB EnvironmentNextPart 2 - The Host and Hyper-V Configuration

Last updated 5 years ago

Was this helpful?

BEFORE YOU BEGIN

Disclaimer: All information and content in these blog posts is provided without any warranty whatsoever. The entire risk of using this information or executing the provided content remains with you. Under no circumstances should Microsoft, its author, or anyone else involved in the creation of these blog posts be held liable for any damage or data loss.

HOST CONFIGURATION

Hardware

  • DEVICE: Intel NUC 8i7BEH ()

  • CPU: Intel® Coreâ„¢ i7-8559U Processor (8 MB Cache, up to 4.50 GHz)

  • STORAGE 1: Samsung 860 EVO SSD 500 GB

  • STORAGE 2: Samsung 970 EVO Plus NVMe 2 TB

  • RAM: Samsung DDR4-2400 64 GB (2x32 GB)

Software

  • Operating System: Windows 10 Enterprise 64-Bit (1909)

  • Hypervisor: Microsoft Hyper-V

The minimum hardware requirements to Install Windows 10 Enterprise 64-Bit are 1 GHz or faster processor speed (CPU), 2 GB Memory (RAM) and 32 GB of hard disk space (HDD).

I will be installing Windows 10 Enterprise 64-Bit (1909) on the host hardware mentioned above. Afterwards on the host I will add the Microsoft Hyper-V feature role and create a basic Microsoft Endpoint Configuration Manager LAB environment.

HOST INSTALLATION

DiskPart

If you haven't customized the WinRE image, you could just skip this part.

Before I'll walk you through the Windows 10 Enterprise 64-Bit (1909) installation, then let's take a quick look at a small script that I've added to my bootable USB device and is used for disk partition.

DaRT is not freely available. It's part of the Microsoft Desktop Optimization Pack (MDOP)

Script (CreatePartitions-UEFI.txt)

rem ============================
rem == Create UEFI Partitions ==
rem ============================
  select disk 0
  clean
  convert gpt

rem =========================
rem == 1. System partition ==
rem =========================
  create partition efi size=260
  format quick fs=fat32 label="System"
  assign letter="S"

rem ===========================================
rem == 2. Microsoft Reserved (MSR) partition ==
rem ===========================================
  create partition msr size=128

rem ==========================
rem == 3. Windows partition ==
rem ==========================
  create partition primary 
  shrink minimum=980
  format quick fs=ntfs label="Windows"
  assign letter="W"

rem ==================================
rem === 4. Recovery tools partition ==
rem ==================================
  create partition primary
  format quick fs=ntfs label="Recovery"
  assign letter="R"
  set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
  gpt attributes=0x8000000000000001

  list volume
  exit

Windows 10 Installation

Now boot the device with a bootable Windows 10 media.

Step 1. Select language and click "Next"

If you haven't customized the WinRE image, you would just click "Install now" and go straight to step 4.

Step 2. Before clicking on the "Install now" press Shift + F10 to open a Command Prompt and execute the DiskPart Script as shown below.

DiskPart /s CreatePartitions-UEFI.txt

Step 3. Close the Command Prompt and click "Install now"

Step 4. Read the License Terms "Hmm... Yeah right, like people actually does that..." Anyway, click "I accept the license terms" and then click "Next"

Step 5. Since this is a new installation, select "Custom: Install Windows Only (advanced)"

Step 6. The partitions are already created because we used the DiskPart script in step 2. So all I have to do now is choose the partition with "Windows" in its name in this case it's "Drive 0 Partition 3: Windows" then click "Next"

If you skipped step 2 you should instead see a "Drive 0 Unallocated Space" just leave everything default and then click "Next"

Step 7. Windows 10 should now be installing and the device may restart a couple of times during this process.

Step 8. After a couple of restarts you should now be presented with the OOBE (Out of Box experience) screen. Choose your region and click "Yes"

Step 9. Choose keyboard layout and click "Yes"

Step 10. I do not have a second keyboard layout to add, so I click "Skip"

Step 11. Since this is a host I want to create a local user, to do so I click "Domain join instead" in the bottom left corner.

Step 12. Give the local user account a name and click "Next"

Step 13. Enter a password for the local user account and click "Next"

Step 14. Create 3 security questions in case you forget your password. Click "Next" after each one.

Step 15. Since this is my host I choose "No"

Step 16. Since this is my host I choose "Don't use online speech recognition" and click "Accept"

Step 17. Since this is my host I choose "No" and click "Accept"

Step 18. Since this is my host I choose "No" and click "Accept"

Step 19. Since this is my host I just choose "Basic" and click "Accept"

Step 20. Since this is my host I choose "No" and click "Accept"

Step 21. Since this is my host I choose "No" and click "Accept"

Step 22. Since this is my host I choose "No" and click "Accept"

Step 23. Finally, the installation has completed successfully.

Because I offline servicing my Windows 10 image and customizing WinRE to include DaRT, CMTrace and WMIExplorer, the default size of Recovery Partition (I believe the default size is 499 MB) is not enough, as my WinRE image becomes larger than 580 MB in size! So to fix this, I use the below DiskPart script to set the Recovery Partition to just under 1 GB "There's a longer explanation for exactly why it has to be under 1 GB, but trust me on this and let's save that explanation for another day... Or you could just read about the drive partition rules and while you're at it, then read this too - thanks "

This should conclude the Installation of Windows 10 Enterprise 64-Bit (1909) on my host. In I will be setting up the Hyper-V role and creating a NAT Switch by using PowerShell so that we can keep the LAB environment separate from the rest of the network, but still provide internet access to the VMs.

If you have any questions regarding this topic, feel free to reach out to me. I am most active on !

here
blog post
David Segura
Part 2
Twitter
See more specification
Hardware - Intel NUC 8i7BEH
Hardware - Intel NUC 8i7BEH
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Installation
Windows 10 (1909) - Desktop