RE: Win32_NetworkConnection closes connectios in remote monitoring?



Hello Tango

I've reproduced the issue on my side that the mapped driver shows
"Unavailable" status when it's queried from a remote computer with the
Win32_NetworkConnection class. Below are my repro-steps:

1. In "computer 2", use "net use" command to create a mapped driver to
"computer 3" with credential 1 (domain username & password).
2. In "computer 2", query the local mapped drivers' status with wbemtest,
and it returns the "OK" status for the newly created mapped driver.
3. In "computer 1", use wbemtest to connect to "computer 2"
(\\computer2\root\cimv2) with credential 1 (the same as step 1), and query
Win32_NetworkConnection.Status. It returns "Unavailable" though the mapped
driver is operational in "computer 2".

This test can be reproduced in any OS versions (e.g. Windows XP, 2003,
Vista).

Based on my analysis, we cannot query the mapped driver's status because
there are 2 credentials (though the same domain username and password) in
the query path:

Computer 1 -> 1. query with Win32_NetworkConnection -> Computer 2 -> 2. map
driver with net use -> Computer 3

1. query with Win32_NetworkConnection: needs credential (domain username
and pwd)
2. map driver with net use: also needs credential (domain username and pwd)

Even if the two uses the same domain username and password, the part 2
rejects the query due to some security issues.

Please give me some time so that I can confirm the analysis with the
product team and see whether I can find out any workarounds or not. I will
get back to you as soon as possible. Thanks for your patience.

Regards,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Install windows printer driver automatically
    ... For the print driver, do you have an existing encapsulated setup package or ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.vb)
  • RE: 90 degrees display turn
    ... The problem is not transformations of objects in DirectX. ... I ask the graphics driver to turn my whole screen to portrait orientation. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.directx.graphics)
  • RE: vista: paint problem with
    ... I am contacting the GUI team for this issue. ... Are you using the ATI driver for your display card? ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.ui)
  • RE: capturing and parsing closed captions
    ... It may yet turn out to be a driver issue, ... Currently I'm recording 3 video feeds on each of 2 servers in my dev ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.mmedia)
  • RE: AVStream processing not called because of debugging
    ... Windows Driver Kit and DirectX Driver Development Kit. ... Microsoft Online Community Support ... The MSDN Managed Newsgroup support offering is for non-urgent issues ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.directx.video)

Loading