Quick Deployment Client Setup

📝 NOTE

This document is for Version 2 of the Quick Deployment Environment.
If you're using an older version of QDE, please refer to the QDEv1 Client Setup page.


Summary

Once you have QDE set up in your environment, you'll need to get clients talking to it.
To do that, you'll need to do the following on the clients:

  1. Setup DNS to allow access to QDE.
  2. Install the QDE SSL/TLS certificate so clients can access HTTPS components.
  3. Install Chocolatey components.

DNS

In most environments, once you've added the QDE server, clients should be able to access it.
In some situations, you may need to add the host name with the IP address to your HOSTS file to reach your environment.


Client Installation

On your client machines, you will need to run the following PowerShell scripts in an administrative context:

📝 NOTE

chocoserver is the default hostname for QDE.
If you've adjusted the QDE server hostname or added custom HOSTS mappings, use the appropriate hostname instead.

Import Self-Signed Certificate from QDE Server

⚠️ WARNING

  • If you're using a CA-signed or domain certificate that is already trusted by client machines for QDE, you can skip this step.
  • If your clients are air-gapped, you will need to ensure that they can at least access the QDE server itself in order to import the QDE Certificate.
$downloader = New-Object -TypeName System.Net.WebClient
Invoke-Expression ($downloader.DownloadString('http://chocoserver:80/Import-ChocoServerCertificate.ps1'))

Run ClientSetup.ps1

$downloader = New-Object -TypeName System.Net.WebClient
Invoke-Expression ($downloader.DownloadString('https://chocoserver:8443/repository/choco-install/ClientSetup.ps1'))

The ClientSetup.ps1 script executed here will:

  1. Install Chocolatey
  2. License Chocolatey by installing the license package (chocolatey-license) created during QDE setup
  3. Install the Chocolatey Licensed Extension (chocolatey.extension) without context menus
  4. Install the Chocolatey Agent service (chocolatey-agent)
  5. Configure ChocolateyInternal source
  6. Configure Self-Service mode
  7. Configure Central Management check-in

📝 NOTE

For internet enabled client setup please refer to Quick deployment Environment Internet Setup for additional information.

Quick Deployment Environment