How to add a Remote Desktop Protocol (RDP) option into the OneClick console

Document ID : KB000017186
Last Modified Date : 11/04/2019
Show Technical Document Details
Introduction:

How to add a Remote Desktop Protocol (RDP) option into the OneClick console

Background:

Out of the box we can Telnet/SSH into workstation servers which are discovered in Spectrum. At times, we would need additional options like RDP etc as per the business requirements.

Instructions:

Here are few simple steps using which you can RDP into the server models from Spectrum OneClick console.

  1. Logon to the OneClick server
  2. Navigate to the tomcat/webapps/spectrum/web-inf/console directory
  3. Copy the custom-menu-config.xml file to custom/console/config directory.
  4. Add the below code to this xml at the bottom i.e. "above </root>"
    <menu name="Tools">
     <item name="Remote Desktop">
      <toolbar-image>/spectrum/images/RDP.png</toolbar-image>  
       <popup-visibility>when-enabled</popup-visibility>   
        <action>   
         <filter>    
          <has-attribute>AttributeID.NETWORK_ADDRESS</has-attribute>   
         </filter>     
        <launch-application>                 
         <command>mstsc.exe /v {0}</command>          
          <param>           
           <attribute>AttributeID.NETWORK_ADDRESS</attribute>         
          </param>     
        </launch-application>   
       </action> 
      </item>
    </menu>
  5. Save the file and close any active OneClick clients.
  6. Reopen the OneClick alarm console in a new browser.
  7. Now right click on any device and you will get an option similar to Remote Desktop

 

Figure 1

Additional Information:

Please reference the "OneClick Customization" section of the documentation for more information.

Watch the "Customizing menus in OneClick" video.