Remote Desktop Console Connect to Relius Agent Machine Using Stored Secure Credential File
The attached text files are PowerShell scripts that can be renamed from .txt extensions to .ps1 extensions.
These files should be copied to a directory where the user will run them. These files can be stored in a UNC path, but the saved credential file is unique to the machine and Windows profile where the credential file is created.
If you need someone to have access to the agent machine console session running as the user that hosts the agent processes but not the account password, have them run "Create-ReliusAgentCred.ps1". You can then enter the domain\username or machine\username for the account that hosts agent processes and the password. Keep in mind that if you use Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon and DefaultPassword, the info could be retrieved by the user from this reg key.

This will create a ReliusAgedCred.xml file in directory where the "Create-ReliusAgentCred.ps1" file located when the script was run.
Edit line 5 of the "Connect-ReliusAgentMachine.ps1" file to reflect the correct hostname of your Relius Agent Machine. Multiple machines will require multiple copies of the script and credential files. Line 6 can be edited to utilize a different credential file
$ReliusAgentCredentialFile = "$ScriptDir\ReliusAgentCred.xml"
When the script is run a prompt for resolution will be given. The minimum and maximum resolutions can be adjusted using lines 8 - 11.



