Intel AMT Features > User Consent > Use Cases > Set the Default Monitor Property
CollapseAll image

Set the Default Monitor Property

The following steps describe how to change the default screen to use when using secured IO.

1.  Retrieve the instance of IPS_SecIOService, where the “Name” key equals “SecIO”.

2.  Examine the DefaultScreen property.

3.  To change the property, change the value of DefaultScreen and invoke IPS_SecIOService.Put.

 Note:

The value of DefaultScreen is 0 or 1, identifying at the level of the graphics interface which of two monitors will be the video source. 0 is the default value. If only one screen is active, that screen will be displayed independent of this parameter. Note that this parameter is not tied to Default Screen/Extended Screen definitions controlled by an operating system running on the host processor, as either of these options can be screen 0 or 1.

Starting with Release 8.0, Intel AMT supports up to three screens, so the value can be 0, 1, or 2.

 

Click here for a snippet demonstrating this step

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

  

$secIOServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM IPS_SecIOService WHERE Name='SecIO'")

$secIOServiceInstance =$secIOServiceRef.Get()

$defaultScreen =$secIOServiceInstance.GetProperty("DefaultScreen")

if($defaultScreen -like "0")

{

    $value ="1"

}

else

{

    $value ="0"

}

$secIOServiceInstance.SetProperty("DefaultScreen",$value)

$secIOServiceRef.Put($secIOServiceInstance)

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.

 

See Also:

   User Consent Tool

 

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