This requirement will pop a UAC prompt for non-admin users, who are then unable to register the app, and ultimately the installation fails. However, the store modern-app requires the 'uiAccess' capability for remote screen sharing, which is a privileged access control that needs admin approval (I'm probably using the wrong terms to describe this). ![]() The store version of Quick Assist has several dependencies, most of which will be installed automatically if QA is installed using Winget, or by using the store (either manually or via Intune). Prompts for admin, which makes it hard to automate the task of installing software like Quick Assist in this example. Running as admin should be inherited down to the installer as well. Pushd "%ProgramW6432%\WindowsApps\Microsoft.DesktopAppInstaller_*_圆4_8wekyb3d8bbwe" & winget install -id 9P7BP5VNWKX5 -silent -accept-package-agreements -accept-source-agreements -source msstore Expected behavior Prompts for admin, so it fails with exit code -1073741819 according to %errorlevel%. Winget install -id 9P7BP5VNWKX5 -silent -accept-package-agreements -accept-source-agreements -source msstore ![]() Regular user with admin permissions - Prompts for admin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |