How to enable the vault to work with remote desktop connection or RDP
Objective
Q:
How can I enable Remote Desktop Connection on the Vault, so I won't have to use console or KVM connection?
A:
Connecting to the Vault remotely using RDP is blocked by CyberArk's proprietary firewall.
The PAS solution has a few features that allow minimal, although very helpful ways of accessing the locked box:
- Remote Control Client – A prompt-based interface that provides you with information about the OS and the Vault’s status (as well as allowing you to perform some administrative operations, like restarting services, modifying configuration files, reading log files etc). This component can also be set to send out SNMP traps that will help you to monitor the box's "health".
- The most important and commonly used Vault configuration files can be accessed through the Vault’s "System" Safe, using the Administrator / Master account
Usually, the everyday work of the Vault's Administrator with the Vault does not require additional access to the server more than is provided by the above solutions.
However, if the user feels that he/she will need actual access to the server and with the lack of some console / KVM-like access, you can manipulate the Vault’s firewall and OS configuration to enable remote access capabilities.
Important Note: The user should be made aware that by doing that he/she opens the Vault to potential security hazards and keeps the vault in a non-standard configuration that is not recommended by CyberArk. Our support team will do its best to support the Vault at time of need, but will be limited due to this non-standard configuration.
* Provide user the "Security Fundamentals for Privileged Account Security.pdf" before proceeding with the implementation of this solution.
First make sure that the server has Remote Desktop enabled:
- Go to the System Properties in My Computer
- Select the Remote Tab
- Make sure that the "Allow users to connect remotely to this computer" checkbox is checked
To open the Vault’s firewall to remote access follow the steps below:
- In DBParm.ini (C:\Program Files\PrivateArk\Server also available from the System Safe):
Add the following parameter, save the file and restart the vault service (this can be done through the Remote Control Client):
AllowNonStandardFWAddresses=[<IP Address from which you will connect to the vault>,…],Yes,3389:inbound/tcp
* Up to 16 IP addresses may be specified here
for example:
AllowNonStandardFWAddresses=[1.1.1.1,1.1.1.2,1.1.1.3],Yes,3389:inbound/tcp - In the Windows Services window, make sure that “Remote Desktop Services” is started and set to be automatically started
- Configure the Local Group Policy editor:
To launch the Group Policy Editor go to Run | secpol.msc, then navigate to Local Policies | User Rights Assignment and do the following:- Clear the “Deny log on through Remote Desktop Services” entry
- Set the “Allow log on through Remote Desktop Services” to “Administrator”
- Go to Local Policies | Security Options
- Set Network security: LAN Manager authentication level to "Send NTLMv2 response only. Refuse LM".
- In the
- Local Group Policy editor:
-Navigate to Computer Configuration | Administrative Templates | Windows Components | Remote Desktop Services | Session Host | Security
-Edit the "Set client connection encryption level" to Enabled, and change Encryption Level to Low Level.
Environment
v7.0;v7.1;v7.2;v7.5;v7.6;v8.0;v8.0 Beta;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;14.2
Additional Information
Details
Q:
How can I enable Remote Desktop Connection on the Vault, so I won't have to use console or KVM connection?
A:
Connecting to the Vault remotely using RDP is blocked by CyberArk's proprietary firewall.
The PAS solution has a few features that allow minimal, although very helpful ways of accessing the locked box:
- Remote Control Client – A prompt-based interface that provides you with information about the OS and the Vault’s status (as well as allowing you to perform some administrative operations, like restarting services, modifying configuration files, reading log files etc). This component can also be set to send out SNMP traps that will help you to monitor the box's "health".
- The most important and commonly used Vault configuration files can be accessed through the Vault’s "System" Safe, using the Administrator / Master account
Usually, the everyday work of the Vault's Administrator with the Vault does not require additional access to the server more than is provided by the above solutions.
However, if the user feels that he/she will need actual access to the server and with the lack of some console / KVM-like access, you can manipulate the Vault’s firewall and OS configuration to enable remote access capabilities.
Important Note: The user should be made aware that by doing that he/she opens the Vault to potential security hazards and keeps the vault in a non-standard configuration that is not recommended by CyberArk. Our support team will do its best to support the Vault at time of need, but will be limited due to this non-standard configuration.
* Provide user the "Security Fundamentals for Privileged Account Security.pdf" before proceeding with the implementation of this solution.
First make sure that the server has Remote Desktop enabled:
- Go to the System Properties in My Computer
- Select the Remote Tab
- Make sure that the "Allow users to connect remotely to this computer" checkbox is checked
To open the Vault’s firewall to remote access follow the steps below:
- In DBParm.ini (C:\Program Files\PrivateArk\Server also available from the System Safe):
Add the following parameter, save the file and restart the vault service (this can be done through the Remote Control Client):
AllowNonStandardFWAddresses=[<IP Address from which you will connect to the vault>,…],Yes,3389:inbound/tcp
* Up to 16 IP addresses may be specified here
for example:
AllowNonStandardFWAddresses=[1.1.1.1,1.1.1.2,1.1.1.3],Yes,3389:inbound/tcp - In the Windows Services window, make sure that “Remote Desktop Services” is started and set to be automatically started
- Configure the Local Group Policy editor:
To launch the Group Policy Editor go to Run | secpol.msc, then navigate to Local Policies | User Rights Assignment and do the following:- Clear the “Deny log on through Remote Desktop Services” entry
- Set the “Allow log on through Remote Desktop Services” to “Administrator”
- Go to Local Policies | Security Options
- Set Network security: LAN Manager authentication level to "Send NTLMv2 response only. Refuse LM".
- In the
- Local Group Policy editor:
-Navigate to Computer Configuration | Administrative Templates | Windows Components | Remote Desktop Services | Session Host | Security
-Edit the "Set client connection encryption level" to Enabled, and change Encryption Level to Low Level.