AL wrote on 09-01-2009 :
Yes,the XP installation source is required to add this component.
Can anyone help me with the script , in case the i386 folder is not located
in the client machine.
Try the script between the dashed lines.
The value "new_src" must be changed to match your setup of the Windows
distribution share.
Also, depending on your setup, the value "src_key_val" could be
"SourcePath" instead of "ServicePackSourcePath". On my home computer
installed from a CD with SP3 slipstreamed, it only works with the
latter one.
The "rep_path" points to a network share where a text file based on the
computername is created with the LPDSVC status.
--------------------------------------------------------------------
@set new_src=\\fileserver\SWINST$\Windows\XPSP3
@set src_key_val=ServicePackSourcePath
@ser rep_path=\\fileserver\SWINST$\InstStat\LPDSVC
@set src_key="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup"
@for /f "tokens=2* skip=3" %%i in ('reg query %src_key% /v
%src_key_val%') do set old_src=%%j
@set inf_file="%TEMP%\lpdsvc.txt"
@reg add %src_key% /f /v %src_key_val% /d %new_src%
@echo [NetOptionalComponents] >%inf_file%
@echo LPDSVC = 1 >>%inf_file%
@sysocmgr.exe /i:%SYSTEMROOT%\inf\sysoc.inf /u:%inf_file%
@del %inf_file%
@reg add %src_key% /f /v %src_key_val% /d %old_src%
@sc query lpdsvc >%rep_path%\%computername%.txt