Since the cmdlines.txt is run after MachineName is posted and the Network is started, we can add our code following the \[Commands\] statement to perform load balancing (distribution share on one server, application or Service Pack share on another):
\[Commands\]
".\net use s: \\server\share /user:Domainname\Username password /persistent:no"
Note: The /persistent parameter is used to ensure that the drive letter is not automatically reconnected when logging on.
Note: If you are concerned that the new MachineName may not be validated by your PDC, use the Guest Account (/user:Domainname\Guest).
0 comments
Hide comments