Issue:
An OSIM job (share mode) fails during the WinPE phase and the following is displayed on the cmd window
CAnet: Error 64
The specified network name is no longer available.
Warning DSM agent package is not availabe on \Servername\sxpsetup-11
Error: OS image share \\Servername\imagename-11\is not available.
Press any key to continue
Cause:
During the WinPE phase the imagename.cmd is run and this needs to connect to the image shares on the boot server in order to download the OS Install files and the client automation agent install files.
net use z: /d > NUL
c:\ca-osim\canet use z: \\$BootServer$\sxpsetup-11 $LogonPasswd$ /USER:canonprv
if ERRORLEVEL 1 (
echo WARNING: DSM Agent package is not available on \\$BootServer$\sxpsetup-11.
goto noagent
)
md %TEMPDISK%\sdagent
if exist z:\agt12w32.caz copy z:\agt12w32.caz %TEMPDISK%\sdagent /Y
if not exist %TEMPDISK%\sdagent\agt12w32.caz copy z:\agentw32.caz %TEMPDISK%\sdagent /Y
if ERRORLEVEL 1 (
echo WARNING: DSM Agent package is not available in \\$BootServer$\sxpsetup-11.
)
net use z: /d > NUL
:noagent
net use s: /d > NUL
c:\ca-osim\canet use s: \\$BootServer$\win7sp1-11 $LogonPasswd$ /USER:canonprv
if ERRORLEVEL 1 (
echo ERROR: OS image share \\$BootServer$\win7sp1-11 is not available.
goto error
The error is seen when there is a problem with the shares on the Bootserver.
Resolution: