So here's the lines they use with the method using inventory scans to find the System Manufacturer and Model information. I ran into a few issues with this method.
REMEXEC411=drvmap.exe nitro\administrator 1039DFB6B73145D8AD54F627A3B S: \\%CUSTJOBHOSTIP%\ldlogon, STATUS FACILITY=3513 REMEXEC412=S:\ldiscn32.exe /L /NOUI /F- /SYNC /NO16 REMEXEC413=cmd /c xcopy "I:\drivers\%Computer - System - Manufacturer%\%Computer - System - Model%" c:\drivers /E /S /I REMEXEC414=reg load HKLM\Software1 C:\Windows\system32\config\software REMEXEC415=sdclient /f /o /dest="x:\ldclient\ldprep.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/ldprep.exe" REMEXEC416=x:\ldclient\ldprep /c /reg=Software1 /path=c:\drivers
1. Reading the xcopy options it seems that the C:\Drivers folder should be created. For me this was not happening so I added REMEXEC417 (mkdir).
2. The rest of the method worked perfectly for me on Devices that were already in LanDesk. I found that the inventory wasn't being processed before REMEXEC414 ran. I added REMEXEC418 (ldsleep) to pause 10 seconds before running the xcopy.
REMEXEC412=S:\ldiscn32.exe /L /NOUI /F- /SYNC REMEXEC417=cmd /c mkdir C:\drivers REMEXEC418=C:\ldsleep.exe 10 REMEXEC414=cmd /c xcopy "I:\drivers\%Computer - System - Manufacturer%\%Computer - System - Model%" c:\drivers /E /S /I
I also removed the /NO16 from REMEXEC412 since I am on 8.7SP4.
Another question I had was how does xcopy handle manufacturer names with a period at the end, since folder names cannot end with a period. I found when running xcopy through a cmd prompt it ignores a period at the end of a folder name. I haven't been able to test on one of my devices that the manufacturer ends with a period, but I suspect it will work without issues.