Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GUID Generation/Location

0 views
Skip to first unread message

AdminTGal

unread,
Nov 20, 2009, 9:47:01 AM11/20/09
to
Do computers that aren't on a domain have a GUID?

How do I locate the GUID of my computer?

Thanks!

Richard Mueller [MVP]

unread,
Nov 20, 2009, 1:32:03 PM11/20/09
to

"AdminTGal" <Admi...@discussions.microsoft.com> wrote in message
news:8C045F4E-3DD6-4A04...@microsoft.com...

> Do computers that aren't on a domain have a GUID?
>
> How do I locate the GUID of my computer?
>
> Thanks!

Try this VBScript program:
======
Option Explicit
Dim objComputer, strComputer

strComputer = "MyComputer"

Set objComputer = GetObject("WinNT://" & strComputer)
Wscript.Echo objComputer.GUID
======
Change the name for your computer. Or, for the local computer you can use:

strComputer = "."

Save this program in a text file with *.vbs extension. You can run it by
double clicking the file.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


0 new messages