Issue:
You may wish to copy the Loosely Connected Device (LCD) key between sets. Attached to this article (Sync_LCD_Key.zip) are a script that will do that for you, and instructions on how to use the script.
Steps
The attached script should copy the security key value from one set to another.
1. Make sure the DB connection points To VFEVENTSDB5 When running
2. Assumption: the 2 sets are in the same DB
3. Input parameters:
Source Set
Source Policy name
Target Set
Target policy name
From the beginning of the script:
--Source Policy Name & SetId
@SourcePolicyName nvarchar(512) = N'LCD1',
@SourceSetId uniqueidentifier = '365C75BC-10DF-4F5A-BE42-EE6CBBCCE4D0',
--Target Policy Name & SetId
@TargetPolicyName nvarchar(512) = N'testpolicy',
@TargetSetId uniqueidentifier = 'D9D7BC47-7601-4464-B2A4-F037FFBC325F'
The security key value should be copied from the policy in the source set to the policy in the target set.