CustomSettings.ini文件参数设置加入域到指定OU,可能通过如下三种方法实现加入域到指定OU:
方法一:
[Settings]
Priority=MacAddress, Default
Properties=MyCustomProperty
OSDComputername=PC001
MachineObjectOU=OU=ComputersA,OU=Company,DC=viamonstra,DC=com
[Default]
OSinstall=Y
方法二:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSinstall=Y
DomainOUs1=OU=ComputersA,OU=Company,DC=viamonstra,DC=com
DomainOUs2=OU=ComputersB,OU=Company,DC=viamonstra,DC=com
方法三:
建立DomainOUList.xml文件,文件内容如下。完成后需要在CustomSettings.ini文件末尾加入如下参数:
MachineObjectOU=DomainOUlist
DomainOUlist.xml文件内容如下:(当公司内有大量OU需要选择时,则可以通过此方法快速选择加入到域中的指定OU)
<?xml version=”1.0? encoding=”utf-8??>
<DomainOUs>
<DomainOU>
OU=ComputersA,OU=Company,DC=viamonstra,DC=com
</DomainOU>
<DomainOU>
OU=ComputersB,OU=Company,DC=viamonstra,DC=com
</DomainOU>
</DomainOUs>
转载于:https://blog.51cto.com/gywxdn/1217952