Hit and miss actually. It sometimes can't find the ServiceUI.exe on the thumb drive, which is odd. We found a all-in-one script that uses .NET calls to do what ServiceUI.exe is doing, and seems to work consistently from offline media. It may be something else we're doing wrong, so don't take this as criticism of the example you posted. It's very nice indeed! The script I'm referring to is at https://gallery.technet.microsoft.com/scriptcenter/Prompt-for-a-computername-6f99fa67