UAA HD Devices in WinXP SP3



UAA HD AUDIO DEVICE SUPPORT IN WINDOWS XP SP3
This is another MS nasty for all the deployment folks pushing XP SP3 to computers with UAA HD Audio devices. Yes SP3 will support the devices and the drivers are included however,, the patch IS NOT included! The update to KB835221, KB888111 doesn't link to the download but instructs you to call MS Support to get the patch which doesn't work on SP3.

This patch is required before any of the HD device drivers are installed and should included in the reference PC image therefore, apply this before sysprep and capture.

1. On the reference PC change the CSDVersion registry key to reflect XP SP2:
a. HKLM\SYSTEM\CurrentControlSet\Control\Windows\CSDVersion value=200 (use 512 when scripting)

2. Restart the PC

3. Install KB888111xpsp2.exe (follow the link below and rename KB888111XPSP2.txt to .exe)

4. Change the CSDVersion key back to reflect XP SP3 again:
a. HKLM\SYSTEM\CurrentControlSet\Control\Windows\CSDVersion value=300 (use 768 when scripting)

5. Restart the PC, finalize configuration of the reference PC, sysprep and capture.

You'll need to obtain the KB888111 patch, Code for 2 SMS installer IPF files is below for those that want to compile and automate the above process.

notice "UAAFix_Inst.EXE" is compiled and installed into "XPSP3_UAAFix.EXE". Just update the autologon information in the IPFs before compiling.

======================================================================
UAAFix_Inst.ipf
======================================================================
Document Type: IPF
item: Global
Version=6.0
Title English=XP SP3 UAA Fix Install
Flags=00000100
Languages=0 0 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LanguagesList=English
Default Language=2
Copy Default=1
Japanese Font Name=MS Gothic
Japanese Font Size=9
Start Gradient=0 0 255
End Gradient=0 0 0
Windows Flags=00010100000000000010110001011010
Message Font=MS Sans Serif
Font Size=8
Disk Filename=SETUP
Patch Flags=0000000000000001
Patch Threshold=85
Patch Memory=4000
FTP Cluster Size=20
Variable Name1=_SYS_
Variable Default1=C:\WINDOWS\system32
Variable Flags1=00001000
Variable Name2=_SMSINSTL_
Variable Default2=D:\Microsoft SMS Installer
Variable Flags2=00001000
end
item: Remark
Text=*******************************
end
item: Remark
Text=Author - Erik Chapple
end
item: Remark
Text=Original Script Date - 05-20-2008
end
item: Remark
Text=Current Script Date - 05-20-2008
end
item: Remark
Text=Descripton - Installs the UAA HD Audio Fix to WinXP SP3
end
item: Remark
Text=This fix must be in place and the PC restarted before installing any drivers.
end
item: Remark
Text=*******************************
end
item: Remark
Text=Standard Variables and Logs
end
item: Get System Information
Variable=USERNAME
Flags=00010001
end
item: Get Environment Variable
Variable=WINDIR
Environment=WINDIR
end
item: Get Environment Variable
Variable=SYS32
Environment=SYS32
end
item: Set Variable
Variable=PROGRAMFILES
Value=C:\PROGRAM FILES
end
item: Set Variable
Variable=TEMP
Value=c:\windows\temp
end
item: Set Variable
Variable=APPTITLE
Value=XP SP3 UAA Fix Install
end
item: Remark
Text=*******************************
end
item: Install File
Source=F:\HDA Fix\kb888111xpsp2.exe
Destination=%TEMP%\kb888111xpsp2.exe
Flags=0000000000000010
end
item: Execute Program
Pathname=%TEMP%\kb888111xpsp2.exe
Command Line=/passive /norestart /log:"%TEMP%\KB888111.log"
Flags=00000010
end
item: Sleep
Sleep=3000
end
item: Remark
Text=Set the CSD to SP3
end
item: Edit Registry
Total Keys=1
Key=SYSTEM\CurrentControlSet\Control\Windows
New Value=768
Value Name=CSDVersion
Root=2
Data Type=3
end
item: Sleep
Sleep=3000
end
item: Delete File
Pathname=%TEMP%\kb888111xpsp2.exe
end
item: Remark
Text=Remove AutoLogon - You MUST set the DefaultDomain value
end
item: Edit Registry
Total Keys=4
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
New Value=0
Value Name=AutoAdminLogon
Root=2
end
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
New Value=DomainName
Value Name=DefaultDomainName
Root=2
end
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Value Name=DefaultPassword
Root=2
end
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Value Name=DefaultUserName
Root=2
end
end
item: Execute Program
Pathname=c:\windows\system32\shutdown.exe
Command Line=-r -t 0
End
======================================================================
XPSP3_UAAFix.ipf
========================================================================
Document Type: IPF
item: Global
Version=6.0
Title English=XP SP3 UAA Fix
Flags=00000100
Languages=0 0 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LanguagesList=English
Default Language=2
Copy Default=1
Japanese Font Name=MS Gothic
Japanese Font Size=9
Start Gradient=0 0 255
End Gradient=0 0 0
Windows Flags=00010100000000000010110001011010
Message Font=MS Sans Serif
Font Size=8
Disk Filename=SETUP
Patch Flags=0000000000000001
Patch Threshold=85
Patch Memory=4000
FTP Cluster Size=20
Variable Name1=_SYS_
Variable Default1=C:\WINDOWS\system32
Variable Flags1=00001000
Variable Name2=_SMSINSTL_
Variable Default2=D:\Microsoft SMS Installer
Variable Flags2=00001000
end
item: Remark
Text=*******************************
end
item: Remark
Text=Author - Erik Chapple
end
item: Remark
Text=Original Script Date - 05-20-2008
end
item: Remark
Text=Current Script Date - 05-20-2008
end
item: Remark
Text=Descripton - Installs the UAA HD Audio Fix to WinXP SP3
end
item: Remark
Text=*******************************
end
item: Remark
Text=Standard Variables and Logs
end
item: Get System Information
Variable=USERNAME
Flags=00010001
end
item: Get Environment Variable
Variable=WINDIR
Environment=WINDIR
end
item: Get Environment Variable
Variable=SYS32
Environment=SYS32
end
item: Set Variable
Variable=TEMP
Value=c:\windows\temp
end
item: Set Variable
Variable=PROGRAMFILES
Value=C:\PROGRAM FILES
end
item: Set Variable
Variable=APPTITLE
Value=XP SP3 UAA Fix
end
item: Remark
Text=*******************************
end
item: Remark
Text=Validate that the OS is XP SP3
end
item: Get Registry Key Value
Variable=OS
Key=SYSTEM\CurrentControlSet\Control\Windows
Value Name=CSDVersion
Flags=00000100
end
item: If/While Statement
Variable=OS
Value=768
Flags=00000100
end
item: Install File
Source=F:\HDA Fix\StandAlone Fix\UAAFix_Inst.EXE
Destination=%TEMP%\UAAFix_Inst.EXE
Flags=0000000000000010
end
item: Remark
Text=Set CSD to SP2 and add UAAFix_Inst.exe to RunOnce
end
item: Edit Registry
Total Keys=2
item: Key
Key=SYSTEM\CurrentControlSet\Control\Windows
New Value=512
Value Name=CSDVersion
Root=2
Data Type=3
end
item: Key
Key=SOFTWARE\Microsoft\Windwos\CurrentVersion\RunOnce
New Value=c:\windows\temp\UAAFix_Inst.EXE
Value Name=SP3 UAA Audio Fix
Root=2
end
end
item: Remark
Text=Configure AutoLogon - you MUST edit the key values for your environment!!
end
item: Edit Registry
Total Keys=4
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
New Value=1
Value Name=AutoAdminLogon
Root=2
end
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
New Value=PASSWORD
Value Name=DefaultPassword
Root=2
end
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
New Value=DomainName
Value Name=DefaultDomainName
Root=2
end
item: Key
Key=Software\Microsoft\Windows NT\CurrentVersion\Winlogon
New Value=AdminUser
Value Name=DefaultUserName
Root=2
end
end
item: Execute Program
Pathname=c:\windows\system32\shutdown.exe
Command Line=-r -t 0
Flags=00001000
end
item: Else Statement
end
item: Display Message
Title English=CSD Version
Text English=Incorrect Service Pack level detected, This install requires Windows XP SP3 to run correctly.
Flags=00001000
end
item: Exit Installation
Variable=0
Flags=0
end
item: End Block
end



--
Erik Chapple
EMC Microsoft Practice
Denver, CO


.