Prestaging RIS - produces wrong GUID
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Prestaging RIS - produces wrong GUID

 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory
Author Message
Clive
Guest





Posted: Mon Jan 10, 2005 10:18 pm    Post subject: Prestaging RIS - produces wrong GUID Reply with quote

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.aspx?scid=kb;en-us;829032


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

http://www.microsoft.com/downloads/details.aspx?FamilyID=aaf0a7a4-71c1-4ee9-b974-66214651a23b&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
Back to top
Mental Floss
Guest





Posted: Mon Jan 10, 2005 10:29 pm    Post subject: RE: Prestaging RIS - produces wrong GUID Reply with quote

Clive,

I have seen this happen before. You may be entering the GUID in improper
format. Read this article:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sag_RIS_ManageClients_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:

Quote:
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.aspx?scid=kb;en-us;829032


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

http://www.microsoft.com/downloads/details.aspx?FamilyID=aaf0a7a4-71c1-4ee9-b974-66214651a23b&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


Back to top
Clive
Guest





Posted: Tue Jan 11, 2005 6:06 am    Post subject: Re: Prestaging RIS - produces wrong GUID Reply with quote

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...
Quote:
Clive,

I have seen this happen before. You may be entering the GUID in improper
format. Read this article:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sag_RIS_ManageClients_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.aspx?scid=kb;en-us;829032


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

http://www.microsoft.com/downloads/details.aspx?FamilyID=aaf0a7a4-71c1-4ee9-b974-66214651a23b&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


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB