When you use the RA_MaxTicketExpiry entry in the \[PCHealth\] section of the Unattend.txt file, the Remote Assistance maximum ticket expiration is set to the default, 30 days?

The problem is that the documentation for the RA_MaxTicketExpiry unattended installation parameter and the reality of the Setup program are different.

To resolve this issue, use the Cmdlines.txt feature of an unattended installation to set the proper registry entries:

"regedit /s C:\path_to_your.reg_file\file_name.reg"

NOTE: The quote marks are required.

The registry entries that you need to make in the C:\path_to_your.reg_file\file_name.reg" file are:

REGEDIT4

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\]
"MaxExpiryUnits"=dword:0000000m
"MaxTicketExpiry"=dword:00000tu

where:

m is the unit of measure. A value of 0 is minutes, 1 is hours, and 2 is days.

tu is the time units (the number of ms). Remember that this value is in hexadecimal.

Examples:

To limit the maximum time that a Remote Assistance invitation can remain open to 3 hours, set m to 1 (hours) and set tu to 03.

To limit the maximum time that a Remote Assistance invitation can remain open to 12 days, set m to 2 (days) and set tu to 0c.

To limit the maximum time that a Remote Assistance invitation can remain open to 90 minutes, set m to 0 (minutes) and set tu to 5a.