Configuring TwinCAT Boot settings
The following documentation article describes how to configure the TwinCAT Boot settings via Automation Interface. For this the methods ITcSmTreeItem::ProduceXml() and ITcSmTreeItem::ConsumeXml() can be used to generate or import the following XML structure, which represents the corresponding settings in TwinCAT XAE.
<TreeItem>
<System>
<BootSettings>
<AutoRun>true</AutoRun>
<AutoLogon>true</AutoLogon>
<LogonUserName>UserName</LogonUserName>
<LogonPassword>Password</LogonPassword>
<BootFileEncryptionType>None</BootFileEncryptionType>
</BootSettings>
</System>
</TreeItem>