You want to publish a custom legacy line-of-business desktop application as a RemoteApp to users. The application executable is located at C:\Program Files\App\start.exe and requires the command-line argument -admin. How should you configure the RemoteApp?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Set the Command-line behavior of the RemoteApp to Require and enter '-admin' in the Command-line arguments field.

When publishing a RemoteApp in AVD, you can configure the command-line behavior. Setting it to 'Require' or 'Allow' allows you to specify command-line arguments (like -admin) that ...

๐Ÿ“‹Part of Microsoft Certified: Azure Virtual Desktop Specialty (AZ-140) ยท Azure Certification Practice
Real Exam ScenarioAzure Virtual Desktop RemoteApp

You want to publish a custom legacy line-of-business desktop application as a RemoteApp to users. The application executable is located at C:\Program Files\App\start.exe and requires the command-line argument -admin. How should you configure the RemoteApp?

โœ“ Correct Answer & ExplanationAzure Virtual Desktop RemoteApp

Correct Answer

Set the Command-line behavior of the RemoteApp to Require and enter '-admin' in the Command-line arguments field.

Why This Answer Is Correct

When publishing a RemoteApp in AVD, you can configure the command-line behavior. Setting it to 'Require' or 'Allow' allows you to specify command-line arguments (like -admin) that are passed to the executable upon session launch.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Virtual Desktop RemoteApp โ€” a core concept tested in Microsoft Certified: Azure Virtual Desktop Specialty (AZ-140). Understanding Azure Virtual Desktop RemoteApp is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.