Repository navigation
Installation
- 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.
- 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
- For development environments, you can generate a quick self-signed cert with:
- Create a group Managed Service Account or dedicated service account. Instructions for gMSA setup are below.
- Verify the KDS root key has been deployed
($null -ne (Get-KdsRootKey)) - 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. - Create a gMSA
New-ADServiceAccount -Name <gMSAName> -DNSHostName <gMSAName>.<domain> -PrincipalsAllowedToRetrieveManagedPassword <SecurityGroupOrComputerNames>
Note: You may need to add $ to the end of each computername - On each server to run WebJEA, install the service account with
Install-ADServiceAccount <gMSAName>and then verify the gMSA works properly withTest-ADServiceAccount -Identity <gMSAName>.
Note: You may need to add $ to the end of the gMSAName.
- Verify the KDS root key has been deployed
- Download the latest release and extract to a folder.
- In the extracted folder,
copy settings.template.jsonc settings.jsoncand modifysettings.jsoncto 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. - Open a PowerShell session as Administrator, run
Deploy.ps1 -settingsfile settings.jsoncto install WebJEA.
If you receive an error about signed scripts, you can bypass execution policy for the deployment withset-executionpolicy bypass -scope process - 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!
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.
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.****
See Config for information on editing the config file.
Generated from docs/ on the master branch of the WebJEA repository. Do not edit the wiki directly - changes here are overwritten.