![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Replace OU text box with drop-down list
After doing some digging in the LiteTouch scripts, I've found a way to specify
the OU to place the new computer account in with a drop-down list, rather than typing out the ADSI path to the correct OU (I need all the help I can get to keep from fat-fingering the OU path.) Before continuing, keep in mind this is the result of my own experimentation. NO guarantees are implied, so hack at your own risk. The action takes place in the Distribution$\Scripts folder. First, backup the file DeployWiz_Definition_ENU.xml. This is the file you'll be modifying, so C-Y-A. Open the file DeployWiz_Definition.ENU in a text editor. Find the following statement (I've added line breaks for readability): <input type=text id=MachineObjectOU name=MachineObjectOU style="width: 75%;" language=vbscript onpropertychange=ValidateDomainMembership accesskey=O> This statement creates the text box. We want to replace it with a select list, but still retain the script functionality. <select id="MachineObjectOU" name="MachineObjectOU" style="width: 75%;" language=vbscript onpropertychange=ValidateDomainMembership accesskey=O> <option value="...">...</option> </select> Add the <option> statement(s) to reflect the desired OU's: <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer OU</option> etc... Additionally, since I'm always going to join machines to the same domain, I've added a 'value' attribute to the joindomain text box (this element appears above the select element we just created): <input type=text id=joindomain name=JoinDomain value="mydomain" size=37 language=vbscript onpropertychange=ValidateDomainMembership accesskey=a> Save the file, boot with LiteTouch and run the Deployment Wizard. If you haven't forgotten a closing bracket or created another HTML syntax error, you should get an easy drop-down list with your OU descriptions. -Scott PS: If you want a different option to be the default where radio buttons are used, I've found replacing the attribute 'checked' with 'checked=yes' seems to do the trick. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: Replace OU text box with drop-down list
On Feb 27, 6:14 am, Scott Fenstermacher <>
wrote: > After doing some digging in the LiteTouch scripts, I've found a way to specify > the OU to place the new computer account in with a drop-down list, rather > than typing out the ADSI path to the correct OU (I need all the help I can > get to keep from fat-fingering the OU path.) > > Before continuing, keep in mind this is the result of my own experimentation. > NO guarantees are implied, so hack at your own risk. > > The action takes place in the Distribution$\Scripts folder. > > First, backup the file DeployWiz_Definition_ENU.xml. This is the file you'll > be modifying, so C-Y-A. > > Open the file DeployWiz_Definition.ENU in a text editor. Find the following > statement (I've added line breaks for readability): > <input type=text id=MachineObjectOU name=MachineObjectOU style="width: > 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > > This statement creates the text box. We want to replace it with a select > list, but still retain the script functionality. > <select id="MachineObjectOU" name="MachineObjectOU" style="width: 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > <option value="...">...</option> > </select> > > Add the <option> statement(s) to reflect the desired OU's: > <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> > <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer OU</option> > etc... > > Additionally, since I'm always going to join machines to the same domain, > I've added a 'value' attribute to the joindomain text box (this element appears > above the select element we just created): > > <input type=text id=joindomain name=JoinDomain value="mydomain" size=37 > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=a> > > Save the file, boot with LiteTouch and run the Deployment Wizard. If you > haven't forgotten a closing bracket or created another HTML syntax error, > you should get an easy drop-down list with your OU descriptions. > > -Scott > > PS: If you want a different option to be the default where radio buttons > are used, I've found replacing the attribute 'checked' with 'checked=yes' > seems to do the trick. Editing the OU's this way works well, I do the same myself. I am a fan of using the methods provided by the tool when they are available and customising otherwise. As far as changing the XML file for the default domain I would do it a different way. Instead of editing the the XML file to specify the default domain why don't you simply skip this screen and specify the values via the customsettings.ini file? To do this you could add the follwing line to the customsettings.ini: SkipJoinDomain=Yes JoinDomain=Domain DomainAdmin=JoinAccount DomainAdminDomain=Domain DomainAdminPassword=reallystrongpassword If you wanted users to be provide different credentials you could simply specify the following and the domain would be prepopulated: JoinDomain=Domain Thanks, Ben Hunter Microsoft Consulting Services |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: Replace OU text box with drop-down list
On Feb 26, 4:07 pm, wrote:
> On Feb 27, 6:14 am, Scott Fenstermacher <> > wrote: > > > > > > > After doing some digging in the LiteTouch scripts, I've found a way to specify > > the OU to place the new computer account in with a drop-down list, rather > > than typing out the ADSI path to the correct OU (I need all the help I can > > get to keep from fat-fingering the OU path.) > > > Before continuing, keep in mind this is the result of my own experimentation. > > NO guarantees are implied, so hack at your own risk. > > > The action takes place in the Distribution$\Scripts folder. > > > First, backup the file DeployWiz_Definition_ENU.xml. This is the file you'll > > be modifying, so C-Y-A. > > > Open the file DeployWiz_Definition.ENU in a text editor. Find the following > > statement (I've added line breaks for readability): > > <input type=text id=MachineObjectOU name=MachineObjectOU style="width: > > 75%;" > > language=vbscript onpropertychange=ValidateDomainMembership > > accesskey=O> > > > This statement creates the text box. We want to replace it with a select > > list, but still retain the script functionality. > > <select id="MachineObjectOU" name="MachineObjectOU" style="width: 75%;" > > language=vbscript onpropertychange=ValidateDomainMembership > > accesskey=O> > > <option value="...">...</option> > > </select> > > > Add the <option> statement(s) to reflect the desired OU's: > > <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> > > <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer OU</option> > > etc... > > > Additionally, since I'm always going to join machines to the same domain, > > I've added a 'value' attribute to the joindomain text box (this element appears > > above the select element we just created): > > > <input type=text id=joindomain name=JoinDomain value="mydomain" size=37 > > language=vbscript onpropertychange=ValidateDomainMembership > > accesskey=a> > > > Save the file, boot with LiteTouch and run the Deployment Wizard. If you > > haven't forgotten a closing bracket or created another HTML syntax error, > > you should get an easy drop-down list with your OU descriptions. > > > -Scott > > > PS: If you want a different option to be the default where radio buttons > > are used, I've found replacing the attribute 'checked' with 'checked=yes' > > seems to do the trick. > > Editing the OU's this way works well, I do the same myself. > > I am a fan of using the methods provided by the tool when they are > available and customising otherwise. As far as changing the XML file > for the default domain I would do it a different way. > > Instead of editing the the XML file to specify the default domain why > don't you simply skip this screen and specify the values via the > customsettings.ini file? > > To do this you could add the follwing line to the customsettings.ini: > > SkipJoinDomain=Yes > JoinDomain=Domain > DomainAdmin=JoinAccount > DomainAdminDomain=Domain > DomainAdminPassword=reallystrongpassword > > If you wanted users to be provide different credentials you could > simply specify the following and the domain would be prepopulated: > > JoinDomain=Domain > > Thanks, > Ben Hunter > Microsoft Consulting Services- Hide quoted text - > > - Show quoted text - I agree with Ben, there is no modification necessary in this instance since the cs.ini supports these properties. As for the OU that could be handy, if you didn' talready want to specify it in the cs.ini as well. |
|
|
|
#4 |
|
Guest
Posts: n/a
|
RE: Replace OU text box with drop-down list
Also, deploywiz_initialization.vbs references a file called DomainOUList.xml.
I haven't figured it all out quite yet, but it appears that if this file exists, it MAY provide a selectable list as you're talking about. If anyone figures it out before me, please post your findings! C Shane Cribbs "Scott Fenstermacher" wrote: > After doing some digging in the LiteTouch scripts, I've found a way to specify > the OU to place the new computer account in with a drop-down list, rather > than typing out the ADSI path to the correct OU (I need all the help I can > get to keep from fat-fingering the OU path.) > > Before continuing, keep in mind this is the result of my own experimentation. > NO guarantees are implied, so hack at your own risk. > > The action takes place in the Distribution$\Scripts folder. > > First, backup the file DeployWiz_Definition_ENU.xml. This is the file you'll > be modifying, so C-Y-A. > > Open the file DeployWiz_Definition.ENU in a text editor. Find the following > statement (I've added line breaks for readability): > <input type=text id=MachineObjectOU name=MachineObjectOU style="width: > 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > > This statement creates the text box. We want to replace it with a select > list, but still retain the script functionality. > <select id="MachineObjectOU" name="MachineObjectOU" style="width: 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > <option value="...">...</option> > </select> > > Add the <option> statement(s) to reflect the desired OU's: > <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> > <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer OU</option> > etc... > > Additionally, since I'm always going to join machines to the same domain, > I've added a 'value' attribute to the joindomain text box (this element appears > above the select element we just created): > > <input type=text id=joindomain name=JoinDomain value="mydomain" size=37 > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=a> > > Save the file, boot with LiteTouch and run the Deployment Wizard. If you > haven't forgotten a closing bracket or created another HTML syntax error, > you should get an easy drop-down list with your OU descriptions. > > -Scott > > PS: If you want a different option to be the default where radio buttons > are used, I've found replacing the attribute 'checked' with 'checked=yes' > seems to do the trick. > > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Re: Replace OU text box with drop-down list
The Configuration Reference Guide - look up DomainOUs and it gives the
format of the file, to be created in the control directory. "Shane Cribbs" <> wrote in message news:... > Also, deploywiz_initialization.vbs references a file called > DomainOUList.xml. > I haven't figured it all out quite yet, but it appears that if this file > exists, it MAY provide a selectable list as you're talking about. If > anyone > figures it out before me, please post your findings! > > C Shane Cribbs > > "Scott Fenstermacher" wrote: > >> After doing some digging in the LiteTouch scripts, I've found a way to >> specify >> the OU to place the new computer account in with a drop-down list, rather >> than typing out the ADSI path to the correct OU (I need all the help I >> can >> get to keep from fat-fingering the OU path.) >> >> Before continuing, keep in mind this is the result of my own >> experimentation. >> NO guarantees are implied, so hack at your own risk. >> >> The action takes place in the Distribution$\Scripts folder. >> >> First, backup the file DeployWiz_Definition_ENU.xml. This is the file >> you'll >> be modifying, so C-Y-A. >> >> Open the file DeployWiz_Definition.ENU in a text editor. Find the >> following >> statement (I've added line breaks for readability): >> <input type=text id=MachineObjectOU name=MachineObjectOU >> style="width: >> 75%;" >> language=vbscript onpropertychange=ValidateDomainMembership >> accesskey=O> >> >> This statement creates the text box. We want to replace it with a select >> list, but still retain the script functionality. >> <select id="MachineObjectOU" name="MachineObjectOU" style="width: >> 75%;" >> language=vbscript >> onpropertychange=ValidateDomainMembership >> accesskey=O> >> <option value="...">...</option> >> </select> >> >> Add the <option> statement(s) to reflect the desired OU's: >> <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> >> <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer >> OU</option> >> etc... >> >> Additionally, since I'm always going to join machines to the same domain, >> I've added a 'value' attribute to the joindomain text box (this element >> appears >> above the select element we just created): >> >> <input type=text id=joindomain name=JoinDomain value="mydomain" >> size=37 >> language=vbscript onpropertychange=ValidateDomainMembership >> accesskey=a> >> >> Save the file, boot with LiteTouch and run the Deployment Wizard. If you >> haven't forgotten a closing bracket or created another HTML syntax error, >> you should get an easy drop-down list with your OU descriptions. >> >> -Scott >> >> PS: If you want a different option to be the default where radio buttons >> are used, I've found replacing the attribute 'checked' with 'checked=yes' >> seems to do the trick. >> >> >> |
|
|
|
#6 |
|
Guest
Posts: n/a
|
RE: Replace OU text box with drop-down list
Also, deploywiz_initialization.vbs references a file called DomainOUList.xml.
I haven't figured it all out quite yet, but it appears that if this file exists, it MAY provide a selectable list as you're talking about. If anyone figures it out before me, please post your findings! C Shane Cribbs "Scott Fenstermacher" wrote: > After doing some digging in the LiteTouch scripts, I've found a way to specify > the OU to place the new computer account in with a drop-down list, rather > than typing out the ADSI path to the correct OU (I need all the help I can > get to keep from fat-fingering the OU path.) > > Before continuing, keep in mind this is the result of my own experimentation. > NO guarantees are implied, so hack at your own risk. > > The action takes place in the Distribution$\Scripts folder. > > First, backup the file DeployWiz_Definition_ENU.xml. This is the file you'll > be modifying, so C-Y-A. > > Open the file DeployWiz_Definition.ENU in a text editor. Find the following > statement (I've added line breaks for readability): > <input type=text id=MachineObjectOU name=MachineObjectOU style="width: > 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > > This statement creates the text box. We want to replace it with a select > list, but still retain the script functionality. > <select id="MachineObjectOU" name="MachineObjectOU" style="width: 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > <option value="...">...</option> > </select> > > Add the <option> statement(s) to reflect the desired OU's: > <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> > <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer OU</option> > etc... > > Additionally, since I'm always going to join machines to the same domain, > I've added a 'value' attribute to the joindomain text box (this element appears > above the select element we just created): > > <input type=text id=joindomain name=JoinDomain value="mydomain" size=37 > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=a> > > Save the file, boot with LiteTouch and run the Deployment Wizard. If you > haven't forgotten a closing bracket or created another HTML syntax error, > you should get an easy drop-down list with your OU descriptions. > > -Scott > > PS: If you want a different option to be the default where radio buttons > are used, I've found replacing the attribute 'checked' with 'checked=yes' > seems to do the trick. > > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Re: Replace OU text box with drop-down list
The Configuration Reference Guide - look up DomainOUs and it gives the
format of the file, to be created in the control directory. "Shane Cribbs" <> wrote in message news:... > Also, deploywiz_initialization.vbs references a file called > DomainOUList.xml. > I haven't figured it all out quite yet, but it appears that if this file > exists, it MAY provide a selectable list as you're talking about. If > anyone > figures it out before me, please post your findings! > > C Shane Cribbs > > "Scott Fenstermacher" wrote: > >> After doing some digging in the LiteTouch scripts, I've found a way to >> specify >> the OU to place the new computer account in with a drop-down list, rather >> than typing out the ADSI path to the correct OU (I need all the help I >> can >> get to keep from fat-fingering the OU path.) >> >> Before continuing, keep in mind this is the result of my own >> experimentation. >> NO guarantees are implied, so hack at your own risk. >> >> The action takes place in the Distribution$\Scripts folder. >> >> First, backup the file DeployWiz_Definition_ENU.xml. This is the file >> you'll >> be modifying, so C-Y-A. >> >> Open the file DeployWiz_Definition.ENU in a text editor. Find the >> following >> statement (I've added line breaks for readability): >> <input type=text id=MachineObjectOU name=MachineObjectOU >> style="width: >> 75%;" >> language=vbscript onpropertychange=ValidateDomainMembership >> accesskey=O> >> >> This statement creates the text box. We want to replace it with a select >> list, but still retain the script functionality. >> <select id="MachineObjectOU" name="MachineObjectOU" style="width: >> 75%;" >> language=vbscript >> onpropertychange=ValidateDomainMembership >> accesskey=O> >> <option value="...">...</option> >> </select> >> >> Add the <option> statement(s) to reflect the desired OU's: >> <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> >> <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer >> OU</option> >> etc... >> >> Additionally, since I'm always going to join machines to the same domain, >> I've added a 'value' attribute to the joindomain text box (this element >> appears >> above the select element we just created): >> >> <input type=text id=joindomain name=JoinDomain value="mydomain" >> size=37 >> language=vbscript onpropertychange=ValidateDomainMembership >> accesskey=a> >> >> Save the file, boot with LiteTouch and run the Deployment Wizard. If you >> haven't forgotten a closing bracket or created another HTML syntax error, >> you should get an easy drop-down list with your OU descriptions. >> >> -Scott >> >> PS: If you want a different option to be the default where radio buttons >> are used, I've found replacing the attribute 'checked' with 'checked=yes' >> seems to do the trick. >> >> >> |
|
|
|
#8 |
|
Guest
Posts: n/a
|
RE: Replace OU text box with drop-down list
Also, deploywiz_initialization.vbs references a file called DomainOUList.xml.
I haven't figured it all out quite yet, but it appears that if this file exists, it MAY provide a selectable list as you're talking about. If anyone figures it out before me, please post your findings! C Shane Cribbs "Scott Fenstermacher" wrote: > After doing some digging in the LiteTouch scripts, I've found a way to specify > the OU to place the new computer account in with a drop-down list, rather > than typing out the ADSI path to the correct OU (I need all the help I can > get to keep from fat-fingering the OU path.) > > Before continuing, keep in mind this is the result of my own experimentation. > NO guarantees are implied, so hack at your own risk. > > The action takes place in the Distribution$\Scripts folder. > > First, backup the file DeployWiz_Definition_ENU.xml. This is the file you'll > be modifying, so C-Y-A. > > Open the file DeployWiz_Definition.ENU in a text editor. Find the following > statement (I've added line breaks for readability): > <input type=text id=MachineObjectOU name=MachineObjectOU style="width: > 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > > This statement creates the text box. We want to replace it with a select > list, but still retain the script functionality. > <select id="MachineObjectOU" name="MachineObjectOU" style="width: 75%;" > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=O> > <option value="...">...</option> > </select> > > Add the <option> statement(s) to reflect the desired OU's: > <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> > <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer OU</option> > etc... > > Additionally, since I'm always going to join machines to the same domain, > I've added a 'value' attribute to the joindomain text box (this element appears > above the select element we just created): > > <input type=text id=joindomain name=JoinDomain value="mydomain" size=37 > language=vbscript onpropertychange=ValidateDomainMembership > accesskey=a> > > Save the file, boot with LiteTouch and run the Deployment Wizard. If you > haven't forgotten a closing bracket or created another HTML syntax error, > you should get an easy drop-down list with your OU descriptions. > > -Scott > > PS: If you want a different option to be the default where radio buttons > are used, I've found replacing the attribute 'checked' with 'checked=yes' > seems to do the trick. > > > |
|
|
|
#9 |
|
Guest
Posts: n/a
|
Re: Replace OU text box with drop-down list
The Configuration Reference Guide - look up DomainOUs and it gives the
format of the file, to be created in the control directory. "Shane Cribbs" <> wrote in message news:... > Also, deploywiz_initialization.vbs references a file called > DomainOUList.xml. > I haven't figured it all out quite yet, but it appears that if this file > exists, it MAY provide a selectable list as you're talking about. If > anyone > figures it out before me, please post your findings! > > C Shane Cribbs > > "Scott Fenstermacher" wrote: > >> After doing some digging in the LiteTouch scripts, I've found a way to >> specify >> the OU to place the new computer account in with a drop-down list, rather >> than typing out the ADSI path to the correct OU (I need all the help I >> can >> get to keep from fat-fingering the OU path.) >> >> Before continuing, keep in mind this is the result of my own >> experimentation. >> NO guarantees are implied, so hack at your own risk. >> >> The action takes place in the Distribution$\Scripts folder. >> >> First, backup the file DeployWiz_Definition_ENU.xml. This is the file >> you'll >> be modifying, so C-Y-A. >> >> Open the file DeployWiz_Definition.ENU in a text editor. Find the >> following >> statement (I've added line breaks for readability): >> <input type=text id=MachineObjectOU name=MachineObjectOU >> style="width: >> 75%;" >> language=vbscript onpropertychange=ValidateDomainMembership >> accesskey=O> >> >> This statement creates the text box. We want to replace it with a select >> list, but still retain the script functionality. >> <select id="MachineObjectOU" name="MachineObjectOU" style="width: >> 75%;" >> language=vbscript >> onpropertychange=ValidateDomainMembership >> accesskey=O> >> <option value="...">...</option> >> </select> >> >> Add the <option> statement(s) to reflect the desired OU's: >> <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> >> <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer >> OU</option> >> etc... >> >> Additionally, since I'm always going to join machines to the same domain, >> I've added a 'value' attribute to the joindomain text box (this element >> appears >> above the select element we just created): >> >> <input type=text id=joindomain name=JoinDomain value="mydomain" >> size=37 >> language=vbscript onpropertychange=ValidateDomainMembership >> accesskey=a> >> >> Save the file, boot with LiteTouch and run the Deployment Wizard. If you >> haven't forgotten a closing bracket or created another HTML syntax error, >> you should get an easy drop-down list with your OU descriptions. >> >> -Scott >> >> PS: If you want a different option to be the default where radio buttons >> are used, I've found replacing the attribute 'checked' with 'checked=yes' >> seems to do the trick. >> >> >> |
|
|
|
#10 |
|
Guest
Posts: n/a
|
Re: Replace OU text box with drop-down list
Mike,
The documentation, Configuration Reference Guide has some incorrect info. The doc calls for DomainOUS.XML and it should be DomainOUList.xml. I have used the DomainOUList.xml and it works fine in creating the dropdown list. I am using the XML file format as specified in the documentation, <?xml version="1.0" encoding="utf-8"?> <DomainOUs> <DomainOU>OU=\WOODGROVEBANK\NYC\Tellers\Computer s </DomainOU> <DomainOU>OU=\WOODGROVEBANK\NYC\Managers\Compute rs </DomainOU> </DomainOUs> Is the fomat correct? This value gets added as is into the sysprep.inf and the sysprep documentation requires the 'OU=Computers,OU=Tellers' format. "Mike Lewis (MS)" wrote: > The Configuration Reference Guide - look up DomainOUs and it gives the > format of the file, to be created in the control directory. > > "Shane Cribbs" <> wrote in message > news:... > > Also, deploywiz_initialization.vbs references a file called > > DomainOUList.xml. > > I haven't figured it all out quite yet, but it appears that if this file > > exists, it MAY provide a selectable list as you're talking about. If > > anyone > > figures it out before me, please post your findings! > > > > C Shane Cribbs > > > > "Scott Fenstermacher" wrote: > > > >> After doing some digging in the LiteTouch scripts, I've found a way to > >> specify > >> the OU to place the new computer account in with a drop-down list, rather > >> than typing out the ADSI path to the correct OU (I need all the help I > >> can > >> get to keep from fat-fingering the OU path.) > >> > >> Before continuing, keep in mind this is the result of my own > >> experimentation. > >> NO guarantees are implied, so hack at your own risk. > >> > >> The action takes place in the Distribution$\Scripts folder. > >> > >> First, backup the file DeployWiz_Definition_ENU.xml. This is the file > >> you'll > >> be modifying, so C-Y-A. > >> > >> Open the file DeployWiz_Definition.ENU in a text editor. Find the > >> following > >> statement (I've added line breaks for readability): > >> <input type=text id=MachineObjectOU name=MachineObjectOU > >> style="width: > >> 75%;" > >> language=vbscript onpropertychange=ValidateDomainMembership > >> accesskey=O> > >> > >> This statement creates the text box. We want to replace it with a select > >> list, but still retain the script functionality. > >> <select id="MachineObjectOU" name="MachineObjectOU" style="width: > >> 75%;" > >> language=vbscript > >> onpropertychange=ValidateDomainMembership > >> accesskey=O> > >> <option value="...">...</option> > >> </select> > >> > >> Add the <option> statement(s) to reflect the desired OU's: > >> <option value="OU=Vista,DC=mydomain,DC=org">Vista OU</option> > >> <option value="OU=Computers,OU=Offices,DC=mydomain,DC=org" >Computer > >> OU</option> > >> etc... > >> > >> Additionally, since I'm always going to join machines to the same domain, > >> I've added a 'value' attribute to the joindomain text box (this element > >> appears > >> above the select element we just created): > >> > >> <input type=text id=joindomain name=JoinDomain value="mydomain" > >> size=37 > >> language=vbscript onpropertychange=ValidateDomainMembership > >> accesskey=a> > >> > >> Save the file, boot with LiteTouch and run the Deployment Wizard. If you > >> haven't forgotten a closing bracket or created another HTML syntax error, > >> you should get an easy drop-down list with your OU descriptions. > >> > >> -Scott > >> > >> PS: If you want a different option to be the default where radio buttons > >> are used, I've found replacing the attribute 'checked' with 'checked=yes' > >> seems to do the trick. > >> > >> > >> > > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |