Quantcast
Channel: Ivanti User Community : All Content - OS Deployment and Provisioning
Viewing all articles
Browse latest Browse all 1803

DVRMAP.exe never seems to work

$
0
0

We have never had success with DVRMAP.exe mapping a drive. We always replace the commands with net use and plain text the username and password.

 

So using LD 9.5 SP2 at the Interchange Boot camp I thought I would spin up another VM to act as a PXE rep and work through the process... its failing here to.

 

Here is the script I use:

 

[VALUES]

Task=7

ScriptName=Capture Windows 7 Image

ScriptDescription=Capture Windows 7 Image

FallBackNIC=

UseFallBackNIC=FALSE

ImageUserName=administrator

ImageDomain=local

ImagePassword=102F12858EEB77577E04F627A3B

ImageToolType=11

ImageUNC=\\LDCORE\OSDImages

ToolUNC=\\ldcore\ldmain\osd\imagew 2\imagew.exe

ImageToolCmd=H:\osd\IMAGEW~1\imagew.exe /b /uy /d:0 /rb:0 /f:"""i:\%Computer - Device Name%"""

[OWNER]

GUID=11fd0f9b-e0ec-4754-bfdf-adbdc9efc6e1

OSDPLUG=TRUE

DESCRIPTION=Capture Windows 7 Image

NAME=Capture Windows 7 Image

TYPE=WinPE

[JOBPARAM]

ABORT_ON_CMD_FAILURE=1

TASK_COMPLETION_ENABLED=FALSE

[MACHINES]

REMEXEC0=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootfile.exe" /disableclientqueue

REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr16.dll" /disableclientqueue

REMEXEC2=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr32.dll" /disableclientqueue

REMEXEC3=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/lddefrag.exe" /disableclientqueue

REMEXEC4=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/FlushBuffer.exe" /disableclientqueue

REMEXEC5=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cicfgmgr.vxd" /disableclientqueue

REMEXEC6=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cindis.vxd" /disableclientqueue

REMEXEC7=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/copyfile.exe" /disableclientqueue

REMEXEC8=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.img" /disableclientqueue

REMEXEC9=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/ChangeBCD.exe" /disableclientqueue

REMEXEC10=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="%LDMS_CLIENT_DIR%\BCD" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/BCD.dat" /disableclientqueue

REMEXEC11=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="%LDMS_CLIENT_DIR%\bootmgr" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootmgr.dat" /disableclientqueue

REMEXEC12=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/files/bcdedit.exe" /disableclientqueue

REMEXEC13=<qt/>%LDMS_CLIENT_DIR%\ChangeBCD<qt/> <qt/>%LDMS_CLIENT_DIR%\bcdedit.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/>

REMEXEC14=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="C:\boot.wim" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.wim" /disableclientqueue

REMEXEC15=<qt/>%LDMS_CLIENT_DIR%\copyfile.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/> \boot\BCD

REMEXEC16=<qt/>%LDMS_CLIENT_DIR%\copyfile.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/> <qt/>%LDMS_CLIENT_DIR%\bootmgr<qt/> \BOOTMGR

REMEXEC17=<qt/>%LDMS_CLIENT_DIR%\lddefrag.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/>, STATUS

REMEXEC18=<qt/>%LDMS_CLIENT_DIR%\FlushBuffer.exe<qt/>, STATUS

REMEXEC19=<qt/>%LDMS_CLIENT_DIR%\bootfile.exe<qt/> %LDMS_CLIENT_DIR%\boot.img /keep /bootunsafe, ASYNC

BEGINWINPE=TRUE

REMPING20=WINPE, TIMEOUT=1800

REMEXEC21=diskpart /s X:\LDClient\rmvol.txt

REMEXEC22=ldrun drvmap.exe local\administrator 102F12858EEB77577E04F627A3B I: """\\LDCore\OSDImages""", STATUS FACILITY=3513

REMEXEC23=ldrun drvmap.exe local\administrator 102F12858EEB77577E04F627A3B H: """\\LDCore\ldmain""", STATUS FACILITY=3513

REMEXEC24=ldrun sdclient /f /o /dest="X:\LDClient\assvol.txt" /p="http://%CUSTJOBHOSTIP%/landesk/files/assvol.txt" /disableclientqueue, STATUS

REMEXEC25=ldrun tokreplw X:\LDClient\assvol.txt partition=1

REMEXEC26=diskpart /s X:\LDClient\assvol.txt

REMEXEC27=cmd /c del /f /q C:\boot.wim

REMEXEC28=ldrun H:\osd\IMAGEW~1\imagew.exe /b /uy /d:0 /rb:0 /f:"""i:\%Computer - Device Name%"""

REMEXEC29=ldrun reboot, timeout=2

 

 

These comands fail:

REMEXEC22=ldrun drvmap.exe local\administrator 102F12858EEB77577E04F627A3B I: """\\LDCore\OSDImages""", STATUS FACILITY=3513

REMEXEC23=ldrun drvmap.exe local\administrator 102F12858EEB77577E04F627A3B H: """\\LDCore\ldmain""", STATUS FACILITY=3513

 

This is a simple VM test enviornment:

1 Core

1 Windows 7 PXE rep

1 target device

 

The local usernames and password are all the same across the images. NET USE DOES WORK, so please don't waste my time with DNS, etc... UNLESS there is a known issue with drvmap.exe that requires the UNC path to be something other than what I have set.


Viewing all articles
Browse latest Browse all 1803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>