The :prompt_waxtrace_asset picker block maps Y: to the enrollment share so select-waxtrace-asset.ps1 can read INDEX.csv. The later :skip_machinenum block also runs `net use Y: \\172.16.9.1\enrollment ...` to keep the share mounted through the rest of imaging, but Y: is already mapped at that point so the second net use throws "System error 85: The local device name is already in use". Harmless (script proceeds and "the command completed successfully" prints right after) but visible noise to the operator during PXE imaging. Gate the second net use behind `if exist Y:\` so we only map when Y: is not already mounted. Same end state, no error message. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 KiB
20 KiB