Deployment Solution

 View Only

How to Securely Map a Drive in WinPE for Deployment Server 7.1 

Feb 02, 2012 01:42 PM

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

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Aug 13, 2014 12:38 AM

Can a domain account be added into the command?

For example: loginw.exe -g Domain\User:password -f adminst.pwl

Regards
MacDaddy
 

Jul 26, 2012 03:15 AM

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

Jul 23, 2012 02:36 PM

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?

Jun 15, 2012 10:23 AM

Was just trying to figure out how to do this... Thanks!

Related Entries and Links

No Related Resource entered.