> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/da/knowledge-base/how-to-articles/installing-.net-runtime-as-a-prerequisite-for-mdm-silent-installations.md).

# Installation af .NET Runtime som forudsætning for lydløse MDM-installationer

Føj parameteren INSTALL\_DOTNET\_RUNTIME til kommandoen msiexec, så installationsprogrammet til Remote Desktop Manager henter .NET-runtime under lydløse MDM-installationer.

For at undgå installationsfejl leverer Devolutions ikke .NET-runtime sammen med installationsprogrammet til Remote Desktop Manager. I stedet kan installationsprogrammet hente og installere den påkrævede runtime som en forudsætning, når det er nødvendigt.

Denne funktion er kun tilgængelig, når parameteren `INSTALL_DOTNET_RUNTIME="1"` føjes til kommandoen `msiexec`. Uden denne parameter udløses trinnet til installation af runtime ikke.

Under installationen kontrollerer systemet først, om en kompatibel version af .NET Windows Desktop Runtime allerede er installeret. Hvis en kompatibel version registreres, forsøger installationsprogrammet ikke at installere en anden version.

Hvis der ikke findes en kompatibel runtime, forsøger installationsprogrammet at hente downloadlinket til den nyeste version direkte fra Microsoft. Hvis denne hentning mislykkes, bruges i stedet en statisk konfigureret runtimeversion. Installationsprogrammet til runtime hentes fra Microsofts CDN til en midlertidig placering og køres derefter.

Hvis installationen af runtime mislykkes, får det ikke selve installationen af Remote Desktop Manager til at mislykkes. Derudover omfatter installationsprocessen for runtime en tidsgrænse på 3 minutter, så den samlede installation ikke hænger ved langsom netværksforbindelse eller andre forbindelsesrelaterede problemer.

Selvom denne proces generelt fungerer uden problemer i miljøer som Intune eller andre MDM-løsninger, kan interaktive installationer støde på fejl, hvis installationsprogrammet køres uden administratorrettigheder.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/da/knowledge-base/how-to-articles/installing-.net-runtime-as-a-prerequisite-for-mdm-silent-installations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
