windowsdesktop-runtime-10 cant be installed with choco and AdminByRequest elevated
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
### Description
In our enterprise environment, we do not have administrative access to local systems.
For any developer installation, we are required to use https://www.adminbyrequest.com/ (Workstation Edition 8.7.1) to obtain temporary elevated privileges.
To manage software installations for developers, we use https://chocolatey.org/.
We attempted to install RDM using the following command:
`choco install rdm --version 2026.1.16`
This package has a dependency on:
https://community.chocolatey.org/packages/dotnet-10.0-desktopruntime
However, the .NET Desktop Runtime cannot be installed.
The log output is as follows:
```
[4B24:41E4][2026-04-27T14:26:33]i010: Launching elevated engine process.
[4B24:41E4][2026-04-27T14:26:35]i011: Launched elevated engine process.
[4B24:41E4][2026-04-27T14:26:35]e000: Error 0x80070006: Failed to wait for child to connect to pipe.
[4B24:41E4][2026-04-27T14:26:35]e000: Error 0x80070006: Failed to connect to elevated child process.
[4B24:41E4][2026-04-27T14:26:35]e000: Error 0x80070006: Failed to actually elevate.
[4B24:41E4][2026-04-27T14:26:35]e000: Error 0x80070006: Failed to elevate.
[4B24:5338][2026-04-27T14:26:35]i000: Setting string variable 'WixStdBARestartRequired' to value ''
[4B24:41E4][2026-04-27T14:26:35]i399: Apply complete, result: 0x80070006, restart: None, ba requested restart: No
[4B24:41E4][2026-04-27T14:26:35]i500: Shutting down, exit code: 0x6
```
### Reproduction Steps
* System without Admin access and "Admin by request" Setup
* Open Cmd as Admin
* `choco install dotnet-10.0-desktopruntime --version 10.0.7`
=> Dont Work
To exclude choco:
* System without Admin access and "Admin by request" Setup
* Open Cmd as Admin (admin by reqquest)
* `windowsdesktop-runtime-10.0.7-win-x64.exe /install /norestart /log "C:\Users\\AppData\Local\Temp\chocolatey\dotnet-10.0-desktopruntime-test.log"`
=> Dont work
### Expected behavior
* System without Admin access and "Admin by request" Setup
* Open cmd as Admin (admin by request)
* `windowsdesktop-runtime-10.0.6-win-x64.exe /install /quiet /norestart /log "C:\Users\\AppData\Local\Temp\chocolatey\dotnet-10.0-desktopruntime-test.log"`
=> Install suceesfull
### Actual behavior
Get an error (Installer cant elevate the sub process)
### Regression?
https://community.chocolatey.org/packages/dotnet-9.0-desktopruntime worked fine.
### Known Workarounds
* open cmd without admin
* `windowsdesktop-runtime-10.0.7-win-x64.exe /install /norestart /log "C:\Users\\AppData\Local\Temp\chocolatey\dotnet-10.0-desktopruntime-test.log"`
* Let the AdminbyByRequest elevate
=> Works
In this setup, we are unable to install the runtime as part of the Chocolatey package execution. As a result, the dependency cannot be fulfilled, which prevents the successful installation of RDM.
### Configuration
_No response_
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.