Von Win2k3EP auf Win2kProf per WMI zugreifen

daywandler

Cadet 2nd Year
Registriert
Dez. 2009
Beiträge
20
Hallo liebe Gemeinde,

ich setze eine Software zur Inventarisierung der Infrastruktur ein und stoße da auf ein Problem.

Das Problem hat aber nichts mit der Software zutun.

Wenn ich per CMD vom Win2k3EP auf den Win2kProf mittels WMI versuche die Seriennummer auszulesen, bekomme ich die Meldung "Zugriff verweigert".

Nun habe ich schon im Internet gesucht, jedoch gefundene Lösungsvorschläge brachten keine Besserung.

Ich habe bisher versucht auf dem Win2kProf die Berechtigungen in der WMI-Steuerung zu setzen.

Der Win2k3EP hängt in einer Domäne drin, der Win2kProf jedoch nicht. Sind aber im selben Subnetz und Ping geht auch einwandfrei.

Vielleicht hat ja jemand ein Lösungsvorschlag.

Vielen Dank.
 
Hallo,

seit XP SP2 wurde Remote DCOM was für WMI benötigt wird deaktiviert. Du solltest folgendes am XP-PC ausführen:

Code:
'To Enable Remote DCOM in the computer
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\EnableDCOM","Y","REG_SZ"

'To Set Authentication Level to Connect
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyAuthenticationLevel",2,"REG_DWORD"

'To Set Impersonation level to Impersonate
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyImpersonationLevel",3,"REG_DWORD"

Ebenfalls muss die Firewall gewissen Ports dafür freigeben (ich glaube Port 139, bin mir da aber nicht mehr sicher). Der Benutzer der auf den XP-PC zugreift muss natürlich auch die benötigten Rechte haben.

Ich hoffe ich konnte Dir helfen.

Gruß
rego123
 
Danke für die Antwort, jedoch handelt es sich bei dem Desktop um ein Windows 2000 Professional Computer.

:)
 
Wir verwenden Spiceworks als Inventarisierungssoftware und sind ganz zufrieden damit. Zumal es halt noch ein Ticket-System und UserHelpdesk beinhaltet.

Ich werde mir mal die Links anschauen.

Danke erstmal
 
SRY, hab ich irgendwie überlesen :-(

Ansonsten könnte ich Dir noch http://community.spiceworks.com empfehlen. Wobei dieser Eintrag wahrscheinlich von Dir ist oder?

Dieser Artikel könnte helfen

Gruß
Rego

EDIT: ich hätte Aktualisieren sollen *lol*
Ergänzung ()

Hier noch ein paar brauchbare Links:

http://community.spiceworks.com/topic/101020-windows-2000-professional-is-unknown-what-gives
http://community.spiceworks.com/topic/25430-configure-wmi-settings-on-server-and-windows-2000

Das hat bei meinen W2k-PCs mit Spiceworks geholfen.
 
DANKE!

Jetzt kommt zumindest nicht mehr die Meldung "zugriff verweigert", sondern "Der RPC-Server ist nicht verfügbar"

Wenigstens schonmal ein Schritt weiter.
Ergänzung ()

Also ich bekomme nun die Fehlermeldung "Der RPC-Server ist nicht verfügbar"

Langsam bin ich mit meinem Latein am Ende. Ich weiß nicht mehr, wo ich noch Einstellungen überprüfen kann. Habe nun stundenlang im Internet nach einer Lösung gesucht und die verschiedenstens Tipps ausprobiert, leider alles ohne Erfolg.

Bei XP liegt es ja meist an der Firewall, aber die gibt es ja noch nicht bei 2000.

Lassen sich sonst irgendwo bei Windows 2000 Prof. noch irgendwelche Zugriffsberechtigungen setzen?

Wäre für Hilfe sehr dankbar.
 
Du hast das schon alles komplett gemacht und nochmals überprüft?

------------------------------------------------------------

Under Windows 2000

1. Click Start, and then click Run.
2. In Open, type DCOMCNFG, and then click OK.
3. Select Applications tab
4. Double click Windows Management Instrumentation
Here are some of the settings you should verify.
Setting:
Authentication Level:Default
Launch Permissions:Use Default
Access Permissions:Use Default

This setting is usually all that needs to be changed to get WMI working. (Steps 2 and 3 are typically not needed, but they might be in some circumstances)
1. On the target server, go to Administrative Tools -> Computer Management.
2. Expand 'Services and Applications'
3. Right click for Properties on 'WMI Control'.
4. Select the Security tab
5. Press the Security button
6. Add the monitoring user (if needed), and then be sure to check Remote Enable for the user/group that will be requesting WMI data.

At this point go back and see if this fixes the problem. It might take a couple of minutes for the reports to re-generate.

2. Allow WMI through Windows firewall

All users (including non-administrators) are able to query/read WMI data on the local computer2.

For reading WMI data on a remote server, a connection needs to be made from your management computer (where our monitoring software is installed) to the server that you're monitoring (the target server). If the target server is running Windows Firewall (aka Internet Connection Firewall) like what is shipped with Windows XP and Windows 2003, then you need to tell it to let remote WMI requests through3. This can only be done at the command prompt. Run the following on the target computer if it is running a Windows firewall:

netsh firewall set service RemoteAdmin enable

3. Enable DCOM calls on the remote machine

If the account you are using to monitor the target server is NOT an administrator on the target server, you need to enable the non-administrator to interact with DCOM by following the simple steps listed here. Follow the steps for:

* To grant DCOM remote launch and activation permissions for a user or group
* To grant DCOM remote access permissions

Further Investigation

If the above steps didn't help, we recommend installing the WMI Administrative Tools from Microsoft. This includes a WMI browser that will let you connect to a remote machine and browse through the WMI information. That will help to isolate any connectivity/rights issues in a more direct and simple environment. Once the WMI browser can access a remote machine, our products should be able to as well.

WMI Administrative Tools:
http://www.microsoft.com/downloads/...53-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en
 
Ja, ich habe diese Einstellungen mehrmals überprüft, gerade eben nochmal.

Ich versuche vom Server aus per Kommandozeile mit dem Befehl wmic unter Angabe des Benutzernamen und des Passwortes des lokalen Administrators des Zielcomputers die Seriennummer auszulesen.

Fehler:
Beschreibung = Der RPC-Server ist nicht verfügbar.

Ich bin am verzweifeln.
 
Zurück
Oben