|
| |||||||||
| Tags: guid, prestaging, produces, ris |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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 > > > |
|
#3
| |||
| |||
| 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 > > > |
|
#4
| |||
| |||
| 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 > > > |
|
#5
| |||
| |||
| 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 >> >> >> |
|
#6
| |||
| |||
| 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 >> >> >> |
|
#7
| |||
| |||
| 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 >> >> >> |
|
#8
| |||
| |||
|
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. |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 |