Maybe your network is not setup correctly? you can try this: REM reg add "HKLM\System\CurrentControlSet\Control\Network\NetworkLocationWizard" /v HideWizard /t REG_DWORD /d 00000001 /f REM create automatically a networkdrive (works only if the share is not password-protected) PUSHD \\192.168.x.xxx\DEPLOY REM Start WPI and wait until it was closed Start "running WPI..." /Wait WPI\wpi.exe REM removes the networkdrive POPD Attention: If WPI restarts your PC the network-drive is lost. Al