Hi Rob,
I hope the following article addresses your concerns:
315619 HOW TO: Enumerate GUIDs of All Computers in a Domain with Windows
2000
http://support.microsoft.com/?id=315619
I cannot code for you but you can refer to the following SDK to write this
kind of codes in case the above codes do not meet your request.
Directory Services SDK documents
http://msdn.microsoft.com/library/en-us/netdir/adsi/directory_services.asp
Please let me know if this solves this issue or if you need further
assistance. I look forward to hearing from you.
Regards,
Eric Shen
Product Support Services
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! -
www.microsoft.com/security
--------------------
| From: "rob.h" <
[email protected]>
| Subject: Can i use an LDAP query to resolve GUID to machine account
friendly name
| Date: Thu, 6 Nov 2003 09:55:17 -0000
| Lines: 12
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.win2000.active_directory
| NNTP-Posting-Host: host9.audit-commission.gov.uk 193.128.236.219
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.win2000.active_directory:55033
| X-Tomcat-NG: microsoft.public.win2000.active_directory
|
|
| I need to resolve the machine GUID given in a report to a workstation.
| As this information should all be available can i use an LDAP query or
| VBScript to achieve this ?
|
| Despite some searching i can not even find any sample code that i could
| build on...
|
| Any help appreciated
| Rob
|
|
|