How-to

Accessing build worker via Remote Desktop

AppVeyor starts every build on clean dedicated build worker VM. Sometimes the best way to troubleshoot broken build is looking into build VM via Remote Desktop. During the build you have full “administrator” access to that VM and can access it via Remote Desktop (RDP).

Set RDP password in APPVEYOR_RDP_PASSWORD environment variable. You can configure that in environment section of appveyor.yml or on project settings UI (preferred way):

To get RDP details for the current build worker add this line to init phase of your build: