Introduction

This post is meant to guide you through setting up a simple, DIY, for your own use, test environment. This lab will be a simple Windows domain with SCCM and 1 client machine.

Everything will be setup using virtual machines on 1 single host. The example below assumes this will be done on your own workstation, but that does not have to be the case, and you can set this up remotely somewhere else as well.

This lab setup does not follow any sort of security best practices. This is meant to be a quick guide to setup a standalone test lab environment, isolated from any other networks, accessed only by you on your own workstations. Security is of low priority here, in favour of speed and simplicity. Refine and harden security for a multiuser accessible test lab environment!!

That said, lets get started.

The lab environment will consist of the following machines

  1. Windows 2016 Technical Preview – This will be the domain controller, SCCM Primary site server, database server and file server
  2. Windows 10 1511 Enterprise – This will be the test machine connected to the domain, used for most testing

We will use mostly Technical Preview items because they are free to get.

Expansion options to consider:

  1. Separate domain controller – recommended, if you have the RAM to spare.
  2. Technical workstation
  3. SCCM Central site

There is several things which needs to be downloaded first

  1. Windows Server 2016 ISO
  2. SCCM 1511 Installation installation
  3. SQL Server 2016 installation
  4. Windows 10 ISO
  5. Windows Deployment Toolkit Media

Downloading everything

In most cases, you will need to register with Microsoft to download the Server, SCCM and SQL installers. Once downloaded, you will also need to download some additional files for each installer.

ADK Setup Files

When you run ADKSetup.exe, you will be prompted to install or download the setup files needed. Choose to download to a location of your choice.

Win10ADKDownload

SCCM Updates

SCCM will also check for updates during install. You can predownload these files. Extract the SCCM iso to any location. Run the splash.hta file. Choose to get the latest CM updates.

SCCMLatestUpdates

When prompted, choose a download folder and click Download.

SCCMLatestUpdatesPath

VM Setup

Today I’ll be using Oracle VirtualBox. You can also use Microsoft Hyper-V or VMWare Workstation, but VirtualBox is free. I do use VMWare Workstation at work, but it is not free (but you could use the free trial for a few weeks). Hyper-V is only available for Windows 8, 8.1 or 10 Professional and Enterprise version.

I noticed some weird network issues after installing VirtualBox and my networks adapters seemed to be bridged together. I’m still investigating this, and unsure if VirtualBox is the culprit. But be warned

Create 1 VM for Windows Server 2016 with at least 2GB of RAM allocated and 20GB of hard disk space allocated. Create 1 more VM for Windows 10 with at least 1GB of RAM allocated and 32GB of hard disk space allocated.

Set both VM Networks to Internal Only, joined to a network called “LabDomain”. You can use any other name you prefer here.

VMNetworkConfig

Start the Windows Server VM and proceed to install Windows Server, selecting the right setting (timezone, locale, etc). Select to install with the Desktop Experience.

ServerInstall-WithDesktop

Let the installation complete. At the end, you will be prompted to create an admin password. Choose your own password here, but remember what password you used. Once the login prompt appears, login as administrator. From the VirtualBox menu, select Devices, and choose Insert Guest Additions CD Image.

ServerInstall-GuestTools

In your VM, open the DVD drive and run the setup. At end, do not reboot, but shutdown instead.

That’s it for now. In the next post, we will set up the DHCP and DNS names on the server and create a new test lab domain.

Refer to other parts

By eugene

3 thought on “Setting up a virtual SCCM testlab”
  1. Hi Eugene, thank you for sharing these information. This helped me with my SCCM testings as I needed to crash course a lab setup. May I request a tutorial on how to do the recommended expansion? (Standalone Domain Controller, Tech Workstation, SCCM Central Site)

  2. I am going by your steps and I have both machines on the same LabDomain and Internal. I am trying to connect my Client Test to the Server VM Domain. It will not connect, but it can ping it. I double checked everything I did any ideas?

  3. Hello,
    first of all i want to thank you for this article, it really what I needed to start.
    I’m a student new to this. and wnated to ask you a question:
    in yourphrase at the end you said : In your VM, open the DVD drive and run the setup. At end, do not reboot, but shutdown instead.

    Can you tell which setup that i need to run please ?
    when I open the open the DVD drive in my VM it shows VirtualBox setup. do I need to install VB Inside the win16 server ? I’m not sure to anderstand

    thank you

Leave a Reply

Your email address will not be published. Required fields are marked *