> 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/troubleshooting-articles/wmi-troubleshooting.md).

# Fejlfinding af WMI

Fejlfind WMI-fejl om adgang nægtet, manglende produktoplysninger og problemer med ekstern WMI-forbindelse, der påvirker RDP-værktøjer i Remote Desktop Manager.

{% hint style="info" %}
Bemærk, at fjernværktøjer i RDP-sessioner ikke virker i Remote Desktop Manager, hvis De ikke har WMI. Se denne [vejledning om ekstern WMI](https://msdn.microsoft.com/en-us/library/aa389290.aspx).
{% endhint %}

I vores miljø kører vi i praksis winrm quickconfig på alle vores maskiner. For dem, der ikke er medlem af et domæne, føjer vi dem også til listen TrustedHosts. For maskiner, der ikke er medlem af et domæne, er der en ekstra vanskelighed. Hvis De bruger IP-adressen i stedet for værtsnavnet, giver det helt sikkert nogle udfordringer.

En god strategi er at få remoteWMI til at virke og derefter integrere det i Remote Desktop Manager. Vi bruger gerne [WMIC](https://msdn.microsoft.com/en-us/library/aa394531\(v=vs.85\).aspx).

{% hint style="info" %}
Kontakt os på <service@devolutions.net> for at få mere hjælp.
{% endhint %}

### Problem 1

Fejl om adgang nægtet.

#### Løsning

Sørg for, at brugerkontoen har de nødvendige tilladelser til at få adgang til en computer eksternt. Se [Securing a Remote WMI Connection (Windows)](https://docs.microsoft.com/fr-fr/windows/win32/wmisdk/securing-a-remote-wmi-connection?redirectedfrom=MSDN#setting_dcom_security_to_allow_a_user_to_access_a_computer_remotely).

De kan også finde tip til fejlfinding i [WMI Troubleshooting (Windows)](https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmi-troubleshooting?redirectedfrom=MSDN).

### Problem 2

Fejl ved hentning af produktoplysninger.

#### Løsning

Ugyldig WMI-klasse, eller WMI-klassen blev ikke fundet på Windows Server 2003. På Windows Server 2003 er Win32\_Product ikke aktiveret som standard.

### Problem 3

Test fra en fjerncomputer.

#### Løsning

Kommandoen WMIC bruges til at teste, om De har adgang til maskinen via WMI. De skal angive følgende kommando: `wmic /NODE:"ComputerName" bios get serialnumber`

Nedenfor er et eksempel med andre legitimationsoplysninger: `wmic /NODE:"ComputerName" /user:"username" /password:"password" bios get serialnumber`

### Problem 4

Indlæs fra Systemoplysninger virker ikke. Fejl ved hentning af BIOS-oplysninger.

#### Løsning

Denne fejl kan have flere årsager. Kontrollér følgende:

* Sessioner skal være RDP.
* Stationen skal være på det samme domæne.
* Legitimationsoplysningerne skal være i afsnittet ***Værktøjer*** i sessionen og være korrekte.
* Test WMI-anmodningerne direkte fra stationen for at se, om kommunikationen virker.


---

# 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/troubleshooting-articles/wmi-troubleshooting.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.
