How to Install Non Domain Joined (WORKGROUP) PSM on Server 2012 R2
141
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:04 PM
Question
In certain environments where the customer's domain is deemed insecure or un-trusted, such as in a breach remediation scenario, it may be necessary to keep all Idira servers off the domain. Microsoft inherently pushes for having all Remote Desktop Services servers joined to a domain to make full use of Remote Desktop Services. However, it is possible to install RDS without being joined to the domain and does not require any major re-configuration of the software or OS.
Functional Restrictions:
When PSM is off the domain:
- RemoteApps functionality will be disabled and will not function
- RDPFile and ActiveX connections will still function correctly
- Integration to a Connection Broker will not be possible
- Integration with load balancing using external load balancing (F5) will work, providing the following (only relevant when using PSMProtocolVersion 1):
- All PSMConnect local user accounts are configured and stored in the Vault with the SAME password
- In the LogonTo field of each local account stored in the Vault, the value "localhost" is defined
- PSM server can integrate with an existing licensing server, however it can only utilize Per Device CAL licenses. It will not be able to utilize Per User CAL licenses. Ensure customer is licensed appropriately.
- RDS Licensing server MUST be installed in the same WORKGROUP as the PSM server. A non-domain joined PSM server cannot communicate with an RDS Licensing Server that is joined to the domain.
- Connectors Requiring Kerberos will not function (MMC for DSA for example)
- NTLMv2 is used so a higher rate of password rotation may be essential depending on scenario.
Environment
10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;14.2 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)
Answer
Note: This installation guide assumes the PSM OS image is a vanilla Server 2012 R2 installation without any Remote Desktop Services roles previously installed.
Configure Remote Desktop Services on the PSM server:
- Log into PSM server as the built-in local Administrator account.
- Open Server Manager.
- Click Manage | Add Roles and Features.
- In "Before You Begin" page, click Next.
- In "Installation Type" page, choose "Role-based or feature-based installation".
- In "Server Selection" page, click Next.
- In "Server Roles" page, enable the checkbox next to "Remote Desktop Services", then click Next.
- In "Role Services" page, enable the checkbox next to "Remote Desktop Session Host", ensure all other check-boxes are disabled, then click Next.
- Click Install.
- Confirm that no errors were reported during the installation.
- Reboot the server.
Disable NLA:
- Log onto the PSM server with built-in local Administrator account.
- Right-click on start (Windows) button, choose "System".
- On the left, click the Remote Settings link.
- In the "Remote Desktop" section, un-check "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)".
- Click Apply, then Ok.
Associate RDS Licensing Server:
Note: Only a licensing server joined to the same WORKGROUP as the PSM server will work for this integration. Domain-joined licensing servers cannot communicate with non-domain joined RDS Hosts.
- Log onto the PSM server with built-in local Administrator account.
- Open a run prompt, type gpedit.msc.
- Under the Computer Configuration, expand Administrative Templates | Windows Components | Remote Desktop Services | Remote Desktop Session Host | Licensing.
- Enable the following GPOs and set the following values:
-
Parameter Name Setting Options Use the specified Remote Desktop license servers Enabled Comma separated list of FQDNs or IP addresses for any WORKGROUP CAL license servers you wish to use Set the Remote Desktop licensing mode Enabled Per Device
-
-
Open an elevated command prompt and run, gpupdate /force.
Install the PSM software:
- Run the PSM setup.exe as Administrator.
- Follow the setup wizard like a normal PSM installation.
- A Question prompt will appear asking if you wish to proceed even though the installation is not being run as a domain user account and the Connection Broker role is not installed. Click Yes to continue with the installation anyways.
- RemoteApps will not function, but standard ActiveX and RDPFile connections will still work.
- Follow the PAS Installation guide for running the PSMHardening script.
- Reboot the PSM.
Set PSMProtocolVersion 2 for this off-domain PSM server:
- Log into PrivateArk client as Vault Administrator.
- Open the PVWAConfig safe.
- Edit the PVConfiguration.xml file.
- Search for "PSMServer" and scroll down a few additional lines to find the PSM server name that was just installed.
- Change the PSMProtocolVersion value to PSMProtocolVersion="2"
- Save the PVConfiguration.xml file, and return the file to the safe.
- Run an "iisreset" on ALL PVWA servers.
- Restart the Privileged Session Manager service on the PSM server.
- Verify that UseRemoteApp is set to No in the PVWA Options | Privileged Session Management UI section.
- Test the PSM connection.