Enable Remote Desktop by Using an Answer File
To enable remote desktop connections during an unattended installation, you must configure several settings and enable the Remote Desktop group in Windows® Firewall with Advanced Security.
To create an answer file to enable remote desktop connections
On your technician computer, open Windows System Image Manager (Windows SIM). Click Start, type Windows System Image Manager, and then select Windows System Image Manager.
Add these settings to your answer file in the listed configuration pass:
Component Configuration pass
In the Answer File pane, configure these settings:
(Optional) Specify how users are authenticated. Specifying the following setting will help make sure that users can connect remotely from computers that don't run Remote Desktop by using network-level authentication. To enable remote desktop connections from computers that are running any version of Remote Desktop, add this setting to your answer file:
Component Configuration pass Value
You're now ready to install your Windows image.
For more information about Windows® components and settings that you can add to an answer file, see the Unattended Windows Setup Reference.