Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Prestaging RIS - produces wrong GUID

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-01-2005
Clive
 
Posts: n/a
Prestaging RIS - produces wrong GUID

I need to prestage the computer accounts for each desktop so when we build
them using RIS they re-use the existing computer name/account. Usually you
put the GUID from the computer into Active directory and when they match up
the job goes ahead smoothly. My problem is that the GUID I get from the
scripts does not work.


I understand there are two ways to calculate the GUID - BIOS or MAC address.
I've even tried modifying the script so I get the MAC address GUID and it
looked closer but still not working.



I followed scripts linked in this technet article:
http://support.microsoft.com/default...b;en-us;829032


Which is from Windows Server 2003 Deployment Kit: Automating and Customizing
Installations

http://www.microsoft.com/downloads/d...DisplayLang=en


PC "Buidl4gx260" which is a DELL GX260 bios A07.

The Intel Network Boot Agent - dos boot screen says press F12 to network
boot and also says:
GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
MAC: 000874D1B8E2



After going into the RIS Wizard and selecting Automatic The RIS Custome
Installation Wizard screen says

Computer Name: zzRIS1
GUID: 000874D1B8E200000000000000000000



If you do a search using AD Users & Computers for all RIS Clients it shows
that account as having a GUID as previously displayed.

GUID: 000874D1B8E200000000000000000000

But if you look at the computer account properties on the RIS tab it says
"Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"

Where is it storing this and where is it calculated? This seems to be the
important value as if you use this value it works. I used ADSI Edit and i
couldn't find it. It does seem wierdly like an anagram of the MAC address!



If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
returns:

Name: OptiPlex GX260
UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A


If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
get:

Parameters for DELL - 8:
SMBIOS version: 2.3
BIOS supports PCI network adapters: Yes
BIOS supports selectable booting: Yes
BIOS supports plug and play: Yes
BIOS supports PC Card network adapter: No
BIOS supports boot from PC Card: No
BIOS is upgradeable (flash): Yes

If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
get:


15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing computer
system. . .
Success retrieving system UUID:
4C4C4544-0033-3110-8059-C3C04F4A304A


I created a spreadsheet RIS.XLS as an input file to drive the next stage of
the scripts. I used a different computer name but used the GUID which was
retrieved.




Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
/Command:interactive


15:31:45: Success creating new computer accounts in Active Directory based
on UUIDs !



The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
8059 c3c04f4a304a which matches what was displayed by the Intel Boot Agent
in the dos window at the top of post



The properties of the account created: Computer's Unique ID:
{4C4C4544-0033-3110-8059-C3C04F4A304A}

Which matches what was discovered through the WMI query.

As you can see the process is not working out the GUID correctly !



The current work around is to go through the process of building up until
the new computer account is created, and then copy and past the GUID in the
zzRIS1 computer account to the computer account we are building and restart
the build again after deleting zzRIS1.


Any assistance would be greatly appreciated.


I've seen this with all the models of DELL I've tried - new & old.

Thanks


Clive


Reply With Quote
  #2  
Old 10-01-2005
=?Utf-8?B?TWVudGFsIEZsb3Nz?=
 
Posts: n/a
RE: Prestaging RIS - produces wrong GUID

Clive,

I have seen this happen before. You may be entering the GUID in improper
format. Read this article:
http://www.microsoft.com/resources/d...Properties.asp

ore refer to this article for the step by step if you are using ADSI to
script your prestaging:
http://support.microsoft.com/kb/302467

-MentalFloss



"Clive" wrote:

> I need to prestage the computer accounts for each desktop so when we build
> them using RIS they re-use the existing computer name/account. Usually you
> put the GUID from the computer into Active directory and when they match up
> the job goes ahead smoothly. My problem is that the GUID I get from the
> scripts does not work.
>
>
> I understand there are two ways to calculate the GUID - BIOS or MAC address.
> I've even tried modifying the script so I get the MAC address GUID and it
> looked closer but still not working.
>
>
>
> I followed scripts linked in this technet article:
> http://support.microsoft.com/default...b;en-us;829032
>
>
> Which is from Windows Server 2003 Deployment Kit: Automating and Customizing
> Installations
>
> http://www.microsoft.com/downloads/d...DisplayLang=en
>
>
> PC "Buidl4gx260" which is a DELL GX260 bios A07.
>
> The Intel Network Boot Agent - dos boot screen says press F12 to network
> boot and also says:
> GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
> MAC: 000874D1B8E2
>
>
>
> After going into the RIS Wizard and selecting Automatic The RIS Custome
> Installation Wizard screen says
>
> Computer Name: zzRIS1
> GUID: 000874D1B8E200000000000000000000
>
>
>
> If you do a search using AD Users & Computers for all RIS Clients it shows
> that account as having a GUID as previously displayed.
>
> GUID: 000874D1B8E200000000000000000000
>
> But if you look at the computer account properties on the RIS tab it says
> "Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"
>
> Where is it storing this and where is it calculated? This seems to be the
> important value as if you use this value it works. I used ADSI Edit and i
> couldn't find it. It does seem wierdly like an anagram of the MAC address!
>
>
>
> If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
> returns:
>
> Name: OptiPlex GX260
> UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A
>
>
> If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
> get:
>
> Parameters for DELL - 8:
> SMBIOS version: 2.3
> BIOS supports PCI network adapters: Yes
> BIOS supports selectable booting: Yes
> BIOS supports plug and play: Yes
> BIOS supports PC Card network adapter: No
> BIOS supports boot from PC Card: No
> BIOS is upgradeable (flash): Yes
>
> If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
> get:
>
>
> 15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing computer
> system. . .
> Success retrieving system UUID:
> 4C4C4544-0033-3110-8059-C3C04F4A304A
>
>
> I created a spreadsheet RIS.XLS as an input file to drive the next stage of
> the scripts. I used a different computer name but used the GUID which was
> retrieved.
>
>
>
>
> Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
> /Command:interactive
>
>
> 15:31:45: Success creating new computer accounts in Active Directory based
> on UUIDs !
>
>
>
> The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
> 8059 c3c04f4a304a which matches what was displayed by the Intel Boot Agent
> in the dos window at the top of post
>
>
>
> The properties of the account created: Computer's Unique ID:
> {4C4C4544-0033-3110-8059-C3C04F4A304A}
>
> Which matches what was discovered through the WMI query.
>
> As you can see the process is not working out the GUID correctly !
>
>
>
> The current work around is to go through the process of building up until
> the new computer account is created, and then copy and past the GUID in the
> zzRIS1 computer account to the computer account we are building and restart
> the build again after deleting zzRIS1.
>
>
> Any assistance would be greatly appreciated.
>
>
> I've seen this with all the models of DELL I've tried - new & old.
>
> Thanks
>
>
> Clive
>
>
>

Reply With Quote
  #3  
Old 10-01-2005
=?Utf-8?B?TWVudGFsIEZsb3Nz?=
 
Posts: n/a
RE: Prestaging RIS - produces wrong GUID

Clive,

I have seen this happen before. You may be entering the GUID in improper
format. Read this article:
http://www.microsoft.com/resources/d...Properties.asp

ore refer to this article for the step by step if you are using ADSI to
script your prestaging:
http://support.microsoft.com/kb/302467

-MentalFloss



"Clive" wrote:

> I need to prestage the computer accounts for each desktop so when we build
> them using RIS they re-use the existing computer name/account. Usually you
> put the GUID from the computer into Active directory and when they match up
> the job goes ahead smoothly. My problem is that the GUID I get from the
> scripts does not work.
>
>
> I understand there are two ways to calculate the GUID - BIOS or MAC address.
> I've even tried modifying the script so I get the MAC address GUID and it
> looked closer but still not working.
>
>
>
> I followed scripts linked in this technet article:
> http://support.microsoft.com/default...b;en-us;829032
>
>
> Which is from Windows Server 2003 Deployment Kit: Automating and Customizing
> Installations
>
> http://www.microsoft.com/downloads/d...DisplayLang=en
>
>
> PC "Buidl4gx260" which is a DELL GX260 bios A07.
>
> The Intel Network Boot Agent - dos boot screen says press F12 to network
> boot and also says:
> GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
> MAC: 000874D1B8E2
>
>
>
> After going into the RIS Wizard and selecting Automatic The RIS Custome
> Installation Wizard screen says
>
> Computer Name: zzRIS1
> GUID: 000874D1B8E200000000000000000000
>
>
>
> If you do a search using AD Users & Computers for all RIS Clients it shows
> that account as having a GUID as previously displayed.
>
> GUID: 000874D1B8E200000000000000000000
>
> But if you look at the computer account properties on the RIS tab it says
> "Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"
>
> Where is it storing this and where is it calculated? This seems to be the
> important value as if you use this value it works. I used ADSI Edit and i
> couldn't find it. It does seem wierdly like an anagram of the MAC address!
>
>
>
> If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
> returns:
>
> Name: OptiPlex GX260
> UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A
>
>
> If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
> get:
>
> Parameters for DELL - 8:
> SMBIOS version: 2.3
> BIOS supports PCI network adapters: Yes
> BIOS supports selectable booting: Yes
> BIOS supports plug and play: Yes
> BIOS supports PC Card network adapter: No
> BIOS supports boot from PC Card: No
> BIOS is upgradeable (flash): Yes
>
> If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
> get:
>
>
> 15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing computer
> system. . .
> Success retrieving system UUID:
> 4C4C4544-0033-3110-8059-C3C04F4A304A
>
>
> I created a spreadsheet RIS.XLS as an input file to drive the next stage of
> the scripts. I used a different computer name but used the GUID which was
> retrieved.
>
>
>
>
> Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
> /Command:interactive
>
>
> 15:31:45: Success creating new computer accounts in Active Directory based
> on UUIDs !
>
>
>
> The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
> 8059 c3c04f4a304a which matches what was displayed by the Intel Boot Agent
> in the dos window at the top of post
>
>
>
> The properties of the account created: Computer's Unique ID:
> {4C4C4544-0033-3110-8059-C3C04F4A304A}
>
> Which matches what was discovered through the WMI query.
>
> As you can see the process is not working out the GUID correctly !
>
>
>
> The current work around is to go through the process of building up until
> the new computer account is created, and then copy and past the GUID in the
> zzRIS1 computer account to the computer account we are building and restart
> the build again after deleting zzRIS1.
>
>
> Any assistance would be greatly appreciated.
>
>
> I've seen this with all the models of DELL I've tried - new & old.
>
> Thanks
>
>
> Clive
>
>
>

Reply With Quote
  #4  
Old 10-01-2005
=?Utf-8?B?TWVudGFsIEZsb3Nz?=
 
Posts: n/a
RE: Prestaging RIS - produces wrong GUID

Clive,

I have seen this happen before. You may be entering the GUID in improper
format. Read this article:
http://www.microsoft.com/resources/d...Properties.asp

ore refer to this article for the step by step if you are using ADSI to
script your prestaging:
http://support.microsoft.com/kb/302467

-MentalFloss



"Clive" wrote:

> I need to prestage the computer accounts for each desktop so when we build
> them using RIS they re-use the existing computer name/account. Usually you
> put the GUID from the computer into Active directory and when they match up
> the job goes ahead smoothly. My problem is that the GUID I get from the
> scripts does not work.
>
>
> I understand there are two ways to calculate the GUID - BIOS or MAC address.
> I've even tried modifying the script so I get the MAC address GUID and it
> looked closer but still not working.
>
>
>
> I followed scripts linked in this technet article:
> http://support.microsoft.com/default...b;en-us;829032
>
>
> Which is from Windows Server 2003 Deployment Kit: Automating and Customizing
> Installations
>
> http://www.microsoft.com/downloads/d...DisplayLang=en
>
>
> PC "Buidl4gx260" which is a DELL GX260 bios A07.
>
> The Intel Network Boot Agent - dos boot screen says press F12 to network
> boot and also says:
> GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
> MAC: 000874D1B8E2
>
>
>
> After going into the RIS Wizard and selecting Automatic The RIS Custome
> Installation Wizard screen says
>
> Computer Name: zzRIS1
> GUID: 000874D1B8E200000000000000000000
>
>
>
> If you do a search using AD Users & Computers for all RIS Clients it shows
> that account as having a GUID as previously displayed.
>
> GUID: 000874D1B8E200000000000000000000
>
> But if you look at the computer account properties on the RIS tab it says
> "Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"
>
> Where is it storing this and where is it calculated? This seems to be the
> important value as if you use this value it works. I used ADSI Edit and i
> couldn't find it. It does seem wierdly like an anagram of the MAC address!
>
>
>
> If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
> returns:
>
> Name: OptiPlex GX260
> UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A
>
>
> If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
> get:
>
> Parameters for DELL - 8:
> SMBIOS version: 2.3
> BIOS supports PCI network adapters: Yes
> BIOS supports selectable booting: Yes
> BIOS supports plug and play: Yes
> BIOS supports PC Card network adapter: No
> BIOS supports boot from PC Card: No
> BIOS is upgradeable (flash): Yes
>
> If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
> get:
>
>
> 15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing computer
> system. . .
> Success retrieving system UUID:
> 4C4C4544-0033-3110-8059-C3C04F4A304A
>
>
> I created a spreadsheet RIS.XLS as an input file to drive the next stage of
> the scripts. I used a different computer name but used the GUID which was
> retrieved.
>
>
>
>
> Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
> /Command:interactive
>
>
> 15:31:45: Success creating new computer accounts in Active Directory based
> on UUIDs !
>
>
>
> The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
> 8059 c3c04f4a304a which matches what was displayed by the Intel Boot Agent
> in the dos window at the top of post
>
>
>
> The properties of the account created: Computer's Unique ID:
> {4C4C4544-0033-3110-8059-C3C04F4A304A}
>
> Which matches what was discovered through the WMI query.
>
> As you can see the process is not working out the GUID correctly !
>
>
>
> The current work around is to go through the process of building up until
> the new computer account is created, and then copy and past the GUID in the
> zzRIS1 computer account to the computer account we are building and restart
> the build again after deleting zzRIS1.
>
>
> Any assistance would be greatly appreciated.
>
>
> I've seen this with all the models of DELL I've tried - new & old.
>
> Thanks
>
>
> Clive
>
>
>

Reply With Quote
  #5  
Old 11-01-2005
Clive
 
Posts: n/a
Re: Prestaging RIS - produces wrong GUID

Hi


Thanks - I think I fixed it - that info didn't work directly but helped! I'd
seen it previously and used the code in an excel sheet vba as it's easier to
drive things sometimes that way. While running through the ADSI script that
retrieves the GUID it forced me to try pasting in the GUID - so I
purposefully did it wrong and I got a warning which said that it must be in
the format:


0123456789ABCDEFABCDEFABCD
or re-order in the following format
{67452301-AB89-EFCD-ABCD-EFABCDEFABCD}
So I have forced the read script to use the MAC address as the source
instead of the WMI, I then wrote a bit of code to write the line as the
reordered version and its working for me!

Here is my code: (I use the code from http://support.microsoft.com/kb/302467
inside an excel spreadsheet as the source with the below added in as
commented)

' REPLACE THIS LINE IN THE DETERMINE SCRIPT szUUID =
"00000000-0000-0000-0000-"&Replace(szMAC, ":", "")
szM = Replace(szMac, ":", "") & "00000000000000000000"
szUUID = "{" & Mid(szM, 7, 2) & Mid(szM, 5, 2) & Mid(szM, 3, 2) & Mid(szM,
1, 2) & "-" & Mid(szM, 11, 2) & Mid(szM, 9, 2) & "-" & Mid(szM, 15, 2) &
Mid(szM, 13, 2) & "-" & Mid(szM, 17, 4) & "-" & Mid(szM, 21, 12) & "}"


Clive



"Mental Floss" <MentalFloss@discussions.microsoft.com> wrote in message
news:40E7DB67-8254-4D31-9FE5-D8F499DC6E4D@microsoft.com...
> Clive,
>
> I have seen this happen before. You may be entering the GUID in improper
> format. Read this article:
> http://www.microsoft.com/resources/d...Properties.asp
>
> ore refer to this article for the step by step if you are using ADSI to
> script your prestaging:
> http://support.microsoft.com/kb/302467
>
> -MentalFloss
>
>
>
> "Clive" wrote:
>
>> I need to prestage the computer accounts for each desktop so when we
>> build
>> them using RIS they re-use the existing computer name/account. Usually
>> you
>> put the GUID from the computer into Active directory and when they match
>> up
>> the job goes ahead smoothly. My problem is that the GUID I get from the
>> scripts does not work.
>>
>>
>> I understand there are two ways to calculate the GUID - BIOS or MAC
>> address.
>> I've even tried modifying the script so I get the MAC address GUID and it
>> looked closer but still not working.
>>
>>
>>
>> I followed scripts linked in this technet article:
>> http://support.microsoft.com/default...b;en-us;829032
>>
>>
>> Which is from Windows Server 2003 Deployment Kit: Automating and
>> Customizing
>> Installations
>>
>> http://www.microsoft.com/downloads/d...DisplayLang=en
>>
>>
>> PC "Buidl4gx260" which is a DELL GX260 bios A07.
>>
>> The Intel Network Boot Agent - dos boot screen says press F12 to network
>> boot and also says:
>> GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
>> MAC: 000874D1B8E2
>>
>>
>>
>> After going into the RIS Wizard and selecting Automatic The RIS Custome
>> Installation Wizard screen says
>>
>> Computer Name: zzRIS1
>> GUID: 000874D1B8E200000000000000000000
>>
>>
>>
>> If you do a search using AD Users & Computers for all RIS Clients it
>> shows
>> that account as having a GUID as previously displayed.
>>
>> GUID: 000874D1B8E200000000000000000000
>>
>> But if you look at the computer account properties on the RIS tab it says
>> "Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"
>>
>> Where is it storing this and where is it calculated? This seems to be the
>> important value as if you use this value it works. I used ADSI Edit and i
>> couldn't find it. It does seem wierdly like an anagram of the MAC
>> address!
>>
>>
>>
>> If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
>> returns:
>>
>> Name: OptiPlex GX260
>> UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A
>>
>>
>> If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
>> get:
>>
>> Parameters for DELL - 8:
>> SMBIOS version: 2.3
>> BIOS supports PCI network adapters: Yes
>> BIOS supports selectable booting: Yes
>> BIOS supports plug and play: Yes
>> BIOS supports PC Card network adapter: No
>> BIOS supports boot from PC Card: No
>> BIOS is upgradeable (flash): Yes
>>
>> If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
>> get:
>>
>>
>> 15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing
>> computer
>> system. . .
>> Success retrieving system UUID:
>> 4C4C4544-0033-3110-8059-C3C04F4A304A
>>
>>
>> I created a spreadsheet RIS.XLS as an input file to drive the next stage
>> of
>> the scripts. I used a different computer name but used the GUID which was
>> retrieved.
>>
>>
>>
>>
>> Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
>> /Command:interactive
>>
>>
>> 15:31:45: Success creating new computer accounts in Active Directory
>> based
>> on UUIDs !
>>
>>
>>
>> The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
>> 8059 c3c04f4a304a which matches what was displayed by the Intel Boot
>> Agent
>> in the dos window at the top of post
>>
>>
>>
>> The properties of the account created: Computer's Unique ID:
>> {4C4C4544-0033-3110-8059-C3C04F4A304A}
>>
>> Which matches what was discovered through the WMI query.
>>
>> As you can see the process is not working out the GUID correctly !
>>
>>
>>
>> The current work around is to go through the process of building up until
>> the new computer account is created, and then copy and past the GUID in
>> the
>> zzRIS1 computer account to the computer account we are building and
>> restart
>> the build again after deleting zzRIS1.
>>
>>
>> Any assistance would be greatly appreciated.
>>
>>
>> I've seen this with all the models of DELL I've tried - new & old.
>>
>> Thanks
>>
>>
>> Clive
>>
>>
>>



Reply With Quote
  #6  
Old 11-01-2005
Clive
 
Posts: n/a
Re: Prestaging RIS - produces wrong GUID

Hi


Thanks - I think I fixed it - that info didn't work directly but helped! I'd
seen it previously and used the code in an excel sheet vba as it's easier to
drive things sometimes that way. While running through the ADSI script that
retrieves the GUID it forced me to try pasting in the GUID - so I
purposefully did it wrong and I got a warning which said that it must be in
the format:


0123456789ABCDEFABCDEFABCD
or re-order in the following format
{67452301-AB89-EFCD-ABCD-EFABCDEFABCD}
So I have forced the read script to use the MAC address as the source
instead of the WMI, I then wrote a bit of code to write the line as the
reordered version and its working for me!

Here is my code: (I use the code from http://support.microsoft.com/kb/302467
inside an excel spreadsheet as the source with the below added in as
commented)

' REPLACE THIS LINE IN THE DETERMINE SCRIPT szUUID =
"00000000-0000-0000-0000-"&Replace(szMAC, ":", "")
szM = Replace(szMac, ":", "") & "00000000000000000000"
szUUID = "{" & Mid(szM, 7, 2) & Mid(szM, 5, 2) & Mid(szM, 3, 2) & Mid(szM,
1, 2) & "-" & Mid(szM, 11, 2) & Mid(szM, 9, 2) & "-" & Mid(szM, 15, 2) &
Mid(szM, 13, 2) & "-" & Mid(szM, 17, 4) & "-" & Mid(szM, 21, 12) & "}"


Clive



"Mental Floss" <MentalFloss@discussions.microsoft.com> wrote in message
news:40E7DB67-8254-4D31-9FE5-D8F499DC6E4D@microsoft.com...
> Clive,
>
> I have seen this happen before. You may be entering the GUID in improper
> format. Read this article:
> http://www.microsoft.com/resources/d...Properties.asp
>
> ore refer to this article for the step by step if you are using ADSI to
> script your prestaging:
> http://support.microsoft.com/kb/302467
>
> -MentalFloss
>
>
>
> "Clive" wrote:
>
>> I need to prestage the computer accounts for each desktop so when we
>> build
>> them using RIS they re-use the existing computer name/account. Usually
>> you
>> put the GUID from the computer into Active directory and when they match
>> up
>> the job goes ahead smoothly. My problem is that the GUID I get from the
>> scripts does not work.
>>
>>
>> I understand there are two ways to calculate the GUID - BIOS or MAC
>> address.
>> I've even tried modifying the script so I get the MAC address GUID and it
>> looked closer but still not working.
>>
>>
>>
>> I followed scripts linked in this technet article:
>> http://support.microsoft.com/default...b;en-us;829032
>>
>>
>> Which is from Windows Server 2003 Deployment Kit: Automating and
>> Customizing
>> Installations
>>
>> http://www.microsoft.com/downloads/d...DisplayLang=en
>>
>>
>> PC "Buidl4gx260" which is a DELL GX260 bios A07.
>>
>> The Intel Network Boot Agent - dos boot screen says press F12 to network
>> boot and also says:
>> GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
>> MAC: 000874D1B8E2
>>
>>
>>
>> After going into the RIS Wizard and selecting Automatic The RIS Custome
>> Installation Wizard screen says
>>
>> Computer Name: zzRIS1
>> GUID: 000874D1B8E200000000000000000000
>>
>>
>>
>> If you do a search using AD Users & Computers for all RIS Clients it
>> shows
>> that account as having a GUID as previously displayed.
>>
>> GUID: 000874D1B8E200000000000000000000
>>
>> But if you look at the computer account properties on the RIS tab it says
>> "Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"
>>
>> Where is it storing this and where is it calculated? This seems to be the
>> important value as if you use this value it works. I used ADSI Edit and i
>> couldn't find it. It does seem wierdly like an anagram of the MAC
>> address!
>>
>>
>>
>> If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
>> returns:
>>
>> Name: OptiPlex GX260
>> UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A
>>
>>
>> If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
>> get:
>>
>> Parameters for DELL - 8:
>> SMBIOS version: 2.3
>> BIOS supports PCI network adapters: Yes
>> BIOS supports selectable booting: Yes
>> BIOS supports plug and play: Yes
>> BIOS supports PC Card network adapter: No
>> BIOS supports boot from PC Card: No
>> BIOS is upgradeable (flash): Yes
>>
>> If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
>> get:
>>
>>
>> 15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing
>> computer
>> system. . .
>> Success retrieving system UUID:
>> 4C4C4544-0033-3110-8059-C3C04F4A304A
>>
>>
>> I created a spreadsheet RIS.XLS as an input file to drive the next stage
>> of
>> the scripts. I used a different computer name but used the GUID which was
>> retrieved.
>>
>>
>>
>>
>> Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
>> /Command:interactive
>>
>>
>> 15:31:45: Success creating new computer accounts in Active Directory
>> based
>> on UUIDs !
>>
>>
>>
>> The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
>> 8059 c3c04f4a304a which matches what was displayed by the Intel Boot
>> Agent
>> in the dos window at the top of post
>>
>>
>>
>> The properties of the account created: Computer's Unique ID:
>> {4C4C4544-0033-3110-8059-C3C04F4A304A}
>>
>> Which matches what was discovered through the WMI query.
>>
>> As you can see the process is not working out the GUID correctly !
>>
>>
>>
>> The current work around is to go through the process of building up until
>> the new computer account is created, and then copy and past the GUID in
>> the
>> zzRIS1 computer account to the computer account we are building and
>> restart
>> the build again after deleting zzRIS1.
>>
>>
>> Any assistance would be greatly appreciated.
>>
>>
>> I've seen this with all the models of DELL I've tried - new & old.
>>
>> Thanks
>>
>>
>> Clive
>>
>>
>>



Reply With Quote
  #7  
Old 11-01-2005
Clive
 
Posts: n/a
Re: Prestaging RIS - produces wrong GUID

Hi


Thanks - I think I fixed it - that info didn't work directly but helped! I'd
seen it previously and used the code in an excel sheet vba as it's easier to
drive things sometimes that way. While running through the ADSI script that
retrieves the GUID it forced me to try pasting in the GUID - so I
purposefully did it wrong and I got a warning which said that it must be in
the format:


0123456789ABCDEFABCDEFABCD
or re-order in the following format
{67452301-AB89-EFCD-ABCD-EFABCDEFABCD}
So I have forced the read script to use the MAC address as the source
instead of the WMI, I then wrote a bit of code to write the line as the
reordered version and its working for me!

Here is my code: (I use the code from http://support.microsoft.com/kb/302467
inside an excel spreadsheet as the source with the below added in as
commented)

' REPLACE THIS LINE IN THE DETERMINE SCRIPT szUUID =
"00000000-0000-0000-0000-"&Replace(szMAC, ":", "")
szM = Replace(szMac, ":", "") & "00000000000000000000"
szUUID = "{" & Mid(szM, 7, 2) & Mid(szM, 5, 2) & Mid(szM, 3, 2) & Mid(szM,
1, 2) & "-" & Mid(szM, 11, 2) & Mid(szM, 9, 2) & "-" & Mid(szM, 15, 2) &
Mid(szM, 13, 2) & "-" & Mid(szM, 17, 4) & "-" & Mid(szM, 21, 12) & "}"


Clive



"Mental Floss" <MentalFloss@discussions.microsoft.com> wrote in message
news:40E7DB67-8254-4D31-9FE5-D8F499DC6E4D@microsoft.com...
> Clive,
>
> I have seen this happen before. You may be entering the GUID in improper
> format. Read this article:
> http://www.microsoft.com/resources/d...Properties.asp
>
> ore refer to this article for the step by step if you are using ADSI to
> script your prestaging:
> http://support.microsoft.com/kb/302467
>
> -MentalFloss
>
>
>
> "Clive" wrote:
>
>> I need to prestage the computer accounts for each desktop so when we
>> build
>> them using RIS they re-use the existing computer name/account. Usually
>> you
>> put the GUID from the computer into Active directory and when they match
>> up
>> the job goes ahead smoothly. My problem is that the GUID I get from the
>> scripts does not work.
>>
>>
>> I understand there are two ways to calculate the GUID - BIOS or MAC
>> address.
>> I've even tried modifying the script so I get the MAC address GUID and it
>> looked closer but still not working.
>>
>>
>>
>> I followed scripts linked in this technet article:
>> http://support.microsoft.com/default...b;en-us;829032
>>
>>
>> Which is from Windows Server 2003 Deployment Kit: Automating and
>> Customizing
>> Installations
>>
>> http://www.microsoft.com/downloads/d...DisplayLang=en
>>
>>
>> PC "Buidl4gx260" which is a DELL GX260 bios A07.
>>
>> The Intel Network Boot Agent - dos boot screen says press F12 to network
>> boot and also says:
>> GUID: 44454c4c 3300 1031 8059 c3c04f4a304a
>> MAC: 000874D1B8E2
>>
>>
>>
>> After going into the RIS Wizard and selecting Automatic The RIS Custome
>> Installation Wizard screen says
>>
>> Computer Name: zzRIS1
>> GUID: 000874D1B8E200000000000000000000
>>
>>
>>
>> If you do a search using AD Users & Computers for all RIS Clients it
>> shows
>> that account as having a GUID as previously displayed.
>>
>> GUID: 000874D1B8E200000000000000000000
>>
>> But if you look at the computer account properties on the RIS tab it says
>> "Computer's Unique ID: {D1740800-E2B8-0000-0000-000000000000}"
>>
>> Where is it storing this and where is it calculated? This seems to be the
>> important value as if you use this value it works. I used ADSI Edit and i
>> couldn't find it. It does seem wierdly like an anagram of the MAC
>> address!
>>
>>
>>
>> If I use WMI Scriptomatic and lookup "Win32_ComputerSystemProduct" it
>> returns:
>>
>> Name: OptiPlex GX260
>> UUID: 4C4C4544-0033-3110-8059-C3C04F4A304A
>>
>>
>> If I run cscript getrisbiosinfo.vbs /Command:getbios on the PC itself I
>> get:
>>
>> Parameters for DELL - 8:
>> SMBIOS version: 2.3
>> BIOS supports PCI network adapters: Yes
>> BIOS supports selectable booting: Yes
>> BIOS supports plug and play: Yes
>> BIOS supports PC Card network adapter: No
>> BIOS supports boot from PC Card: No
>> BIOS is upgradeable (flash): Yes
>>
>> If I run cscript getrisbiosinfo.vbs /Command:getuuid on the PC itself I
>> get:
>>
>>
>> 15:01:26: Connected with Winmgmts on "\\BUILD4GX260" and accessing
>> computer
>> system. . .
>> Success retrieving system UUID:
>> 4C4C4544-0033-3110-8059-C3C04F4A304A
>>
>>
>> I created a spreadsheet RIS.XLS as an input file to drive the next stage
>> of
>> the scripts. I used a different computer name but used the GUID which was
>> retrieved.
>>
>>
>>
>>
>> Ran cscript.exe PrestagRISClnt.vbs /InputFile:ris.xls /Server:RISSERVER01
>> /Command:interactive
>>
>>
>> 15:31:45: Success creating new computer accounts in Active Directory
>> based
>> on UUIDs !
>>
>>
>>
>> The find all ris client in AD U & C shows the GUID as 44454c4c 3300 1031
>> 8059 c3c04f4a304a which matches what was displayed by the Intel Boot
>> Agent
>> in the dos window at the top of post
>>
>>
>>
>> The properties of the account created: Computer's Unique ID:
>> {4C4C4544-0033-3110-8059-C3C04F4A304A}
>>
>> Which matches what was discovered through the WMI query.
>>
>> As you can see the process is not working out the GUID correctly !
>>
>>
>>
>> The current work around is to go through the process of building up until
>> the new computer account is created, and then copy and past the GUID in
>> the
>> zzRIS1 computer account to the computer account we are building and
>> restart
>> the build again after deleting zzRIS1.
>>
>>
>> Any assistance would be greatly appreciated.
>>
>>
>> I've seen this with all the models of DELL I've tried - new & old.
>>
>> Thanks
>>
>>
>> Clive
>>
>>
>>



Reply With Quote
  #8  
Old 27-10-2007
Member
 
Join Date: Oct 2007
Posts: 1
Clive can you plzzzzzzzzzzzzzzzz plzzzzzzzzzzzzzzzzzzzzzzzzzz give me the working script which u have fixed to prestage the clients in Active Directory.

My Mail Address is Chaudryirfan@hotmail.com


My second question is that how to get the GUID of the computers on the network using script. So that i via the script i can prestage them in the Active Directory. Plzzzzzzz help me out.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Prestaging RIS - produces wrong GUID"
Thread Thread Starter Forum Replies Last Post
Guid aka GPT 1cowboyone Hardware Peripherals 1 11-08-2011 01:44 PM
ldap query with guid Anonymous Active Directory 2 17-06-2009 08:34 PM
How To Convert a String Formatted GUID to that of the actual GUID datatype appropriate to be Form For Use When Querying the Active Directory ambujnema Active Directory 1 16-12-2008 04:34 PM
Prestaging Computer Accounts MCITP in Training Active Directory 2 15-10-2008 10:45 AM
DCDiag GUID Error Thom Paine Windows Server Help 28 08-02-2007 10:08 PM


All times are GMT +5.5. The time now is 05:40 PM.