Skip to content

Installation

Mark Domansky edited this page Apr 11, 2026 · 4 revisions

Installation

Requirements

  • Windows Server
    • Tested on 2022/2025, but any supported Windows Server OS should be fine
    • I've not tested on Windows 11, but I hear it does work, however Windows 11 limits the number of inbound connections.
  • Hardware Requirements
    • More than a potato, less than a super computer. CPU/RAM requirements will depend on your workload, but generally 2-cores and 8GB of RAM will get you far.
  • Strongly Recommended: Domain joined
    • Authentication still requires Windows Integrated Auth, so domain joined
  • Strongly Recommended: SSL Certificate
  • Strongly Recommended: group Managed Service Account (gMSA)
    • This works fine with a traditional user/service account, but a gMSA is more secure. Some work is still needed in the install script to support legacy service accounts.

Install

  1. Create/Install an SSL Certificate and note the Thumbprint (ensure no spaces, no hidden characters).
    • For development environments, you can generate a quick self-signed cert with: New-SelfSignedCertificate -DnsName "$env:computername.$env:userdnsdomain" -CertStoreLocation Cert:\LocalMachine\my
  2. Create a group Managed Service Account or dedicated service account. Instructions for gMSA setup are below.
    1. Verify the KDS root key has been deployed ($null -ne (Get-KdsRootKey))
    2. If the command above returns True, you're good to go. If not, See Microsoft Learn for how to deploy the KDS root key. Find more information on gMSA pre-reqs at Microsoft Learn as well.
    3. Create a gMSA New-ADServiceAccount -Name <gMSAName> -DNSHostName <gMSAName>.<domain> -PrincipalsAllowedToRetrieveManagedPassword <SecurityGroupOrComputerNames>
      Note: You may need to add $ to the end of each computername
    4. On each server to run WebJEA, install the service account with Install-ADServiceAccount <gMSAName> and then verify the gMSA works properly with Test-ADServiceAccount -Identity <gMSAName>.
      Note: You may need to add $ to the end of the gMSAName.
  3. Download the latest release and extract to a folder.
  4. In the extracted folder, copy settings.template.jsonc settings.jsonc and modify settings.jsonc to your environment. Be sure to set your gMSA or service account and the SSL Certificate Thumbprint.
    Important: 2026+ versions of WebJEA now run in their own IIS Site at the root. There is a setting to enable redirects from the previous /webjea folder.
  5. Open a PowerShell session as Administrator, run Deploy.ps1 -settingsfile settings.jsonc to install WebJEA.
    If you receive an error about signed scripts, you can bypass execution policy for the deployment with set-executionpolicy bypass -scope process
  6. Reboot after the install process completes.

Note

There's an ordering issue with the install script I haven't yet resolved. After rebooting, Run Deploy.ps1 -settingsfile settings.jsonc again. If the site still does not work, check that the Default application pool and website are stopped and the WebJEA application pool/website are started. If you identify the issue, please let me know by opening an issue. Thanks

You can now go to https://<fqdn-of-cert>/. By default, local administrators of the machine has access to all pages, but this can be customized in config.json. The default page should run and you should see a sample page with all of the major features of WebJEA.

Congratulations! WebJEA is now deployed! Create a script, update config.json, and enjoy automated bliss!

Load balancing

While not directly tested, WebJEA should work fine behind a load balancer. You'll need some sort of session persistence. IP or cookie persistence should be fine.

Warnings and Errors

During the install, you'll likely see this warning:

WARNING: LCM state is changed by non-DSC operations. If you wish to change the state of LCM, please use Remove-DscConfigurationDocument cmdlet.

This is expected and can be disregarded. Deploy.ps1 uses Invoke-DSCResource without using the LCM.

If the script unexpectedly errors during deploy.ps1, and you try to rerun deploy.ps1, you may receive an error about the DSC service already running. A reboot will resolve that. #TODO Get the exact error message.****

Config.json

See Config for information on editing the config file.

Clone this wiki locally