JSI Tip 0229 - How do I map an network drive during Unattended Setup?

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):

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).

John Savill's Hyper-V Master Class

Join John Savill for 12 hours of comprehensive Hyper-V training. This master-level online training course will explore all the key aspects of a Hyper-V based virtualization environment covering both current capabilities in Windows Server 2012 R2 and looking at the future with Windows Server vNext.