For a drive mapping within WinPE you can use loginw.exe which is included in DS 7.1 SP1 WinPE.
For example you can create your own custom .pwl File within WINPE using the following command line:
loginw.exe -g YourUserName(withoutDomain):YourPassword -f YourCustomPWLFileName.pwl
Example: loginw.exe -g Administrator:password -f adminst.pwl
After you successfully created your *.pwl file copy the *.pwl File to: C:\Program Files\Altiris\Altiris Agent\Agents\Deployment\Task Handler\bootwiz\oem\DS\winpe2\x86\Base if this is your Directory where you installed DS 7.1.
Recreate your WINPE File and check to see if it is included in the WINPE after you boot a Computer (should be in the Root of your WINPE) normally X:
Create a Job with the following Script replace YourDomain with the appropriate value or see the example:
x:\loginw.exe -f x:\adminst.pwl -c %TASKSERVER% -d YourDomain -t 30 net use w: \\%TASKSERVER%\deployment
Example: x:\loginw.exe -f x:\adminst.pwl -c %TASKSERVER% -d ALTIRISTEST -t 30 net use w: \\%TASKSERVER%\deployment
You can also use the Token %NSSERVER% if you want to map a drive with the NSServer. For additional Options start loginw.exe /? , Your Username and Password is now encrypted like in Deployment Server 6.9
Can a domain account be added into the command?
For example: loginw.exe -g Domain\User:password -f adminst.pwl
Regards MacDaddy
Hi NoodleNT
The .pwl File will be on every site server if you follow the instructions above. There is no need to copy the file to the site Server before rebuilding the WINPE Images
Network23
Will this pwl file automatically sync to the site servers or do we have to copy it to them too before rebuilding the pe images?
Was just trying to figure out how to do this... Thanks!