I was attempting to connect a new hp desktop ( Z400 Workstation ) to a MDT share hosted on a Server 2k3 machine.
When booting the target machine into Windows PE to connect to the share, it consistently threw up the following error:
System error 1326 has occurred.
Logon failure: unknown user name or bad password
The issue ended up being the Authentication Method needed to connect to (Server 2k3 / XP) shares; is not supported by default in Windows PE 3.0
The following registry entry needs to be created in the Windows PE OS:
Path: HKLM\System\CurrentControlSet\Control\Lsa\
Type: DWORD
Name: LmCompatibilityLevel
Value: 1
http://technet.microsoft.com/en-us/library/cc960646.aspx
It is best to apply this “fix” via the Unattend_PE_x86.xml file; using the following method (File: C:\Program Files\Microsoft Deployment Toolkit\Templates\Unattend_PE_x86.xml) :
Note: You MUST do this on every machine you create/update your boot media from!!!!
Below is a before and after of the section of the xml file that you will need to edit.
BEFORE:
Lite Touch PE
1
wscript.exe X:\Deploy\Scripts\LiteTouch.wsf
AFTER:
Change Share Auth Support
1
REG ADD “HKLM\System\CurrentControlSet\Control\Lsa” /v “LMCompatibilityLevel” /t REG_DWORD /d “1” /f
Lite Touch PE
2
wscript.exe X:\Deploy\Scripts\LiteTouch.wsf