CollapseAll image

Change the Default Port Setting

The following steps describe how to enable or disable the ability to use the default KVM port (Port 5900).

1.  Ensure that the KVM interface is enabled: See Enable/Disable the KVM Interface.  If it is enabled, continue to the next step.

2.  Retrieve the instance of IPS_KVMRedirectionSettingData, where the “InstanceID” key equals “Intel(r) KVM Redirection Settings”.

3.  Set the IPS_KVMRedirectionSettingData.Is5900PortEnabled and IPS_KVMRedirectionSettingData.RFBPassword properties:

a.  To disable: set IPS_KVMRedirectionSettingData.Is5900PortEnabled to false.

b.  To enable: set IPS_KVMRedirectionSettingData.Is5900PortEnabled to true, and provide an IPS_KVMRedirectionSettingData.RFBPassword if there is no previous value.

4.  Invoke IPS_KVMRedirectionSettingData.Put

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$kvmRedirectionSettingDataRef =$wsmanConnectionObject.NewReference("SELECT * FROM IPS_KVMRedirectionSettingData WHERE InstanceID='Intel(r) KVM Redirection Settings'")

$kvmRedirectionSettingDataInstance =$kvmRedirectionSettingDataRef.Get()

$kvmRedirectionSettingDataInstance.SetProperty("Is5900PortEnabled","true")

$kvmRedirectionSettingDataInstance.SetProperty("RFBPassword","P@ssw0rd")

$kvmRedirectionSettingDataRef.Put($kvmRedirectionSettingDataInstance)

 

 

Additional Information

An RFBPassword is required if port 5900 is enabled. It must be a strong password – exactly eight characters long, containing a capital letter, a lower case letter, a digit, and a special character.

Instance Diagram

Classes Used in This Flow

SDK Sample

Located at:<SDK_root>\Windows\Intel_AMT\Samples\KVM

 

See Also:

   KVM Application Developer’s Guide

 

Copyright © 2006-2020, Intel Corporation. All rights reserved.