Deploy LPDSVC

Posted: 01-08-2009, 04:12 PM
Hello,
i need to deploy the Windows Component Print Services for Unix, LPDSVC to
300 computers of my company .
Can this be done through Active Directory and how ?

Any help would be appreciated.

Deploy LPDSVC


Responses to "Deploy LPDSVC"

Klaus Jorgensen
Guest
Posts: n/a
 
Re: Deploy LPDSVC
Posted: 01-08-2009, 05:35 PM
AL explained on 08-01-2009 :
> i need to deploy the Windows Component Print Services for Unix, LPDSVC to
> 300 computers of my company .
> Can this be done through Active Directory and how ?
You can use the sysocmgr.exe program to add/remove Windows components:
http://support.microsoft.com/kb/222444

Can't tell if the XP installation source (CD or a server share) is
required to add the LPDSVC component.

I'd put the command in a startup script for the computers in question,
and perhaps add a reporting feature to tell which computers have
actually added the component.

You are aware that the LPDSVC component is required only if you need to
receive print jobs. Sending LPR print jobs is a standard feature in XP.

--
/klaus


AL
Guest
Posts: n/a
 
Re: Deploy LPDSVC
Posted: 01-09-2009, 07:35 AM
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.

thanks

"Klaus Jorgensen" wrote:
> AL explained on 08-01-2009 :
> > i need to deploy the Windows Component Print Services for Unix, LPDSVC to
> > 300 computers of my company .
> > Can this be done through Active Directory and how ?
>
> You can use the sysocmgr.exe program to add/remove Windows components:
> http://support.microsoft.com/kb/222444
>
> Can't tell if the XP installation source (CD or a server share) is
> required to add the LPDSVC component.
>
> I'd put the command in a startup script for the computers in question,
> and perhaps add a reporting feature to tell which computers have
> actually added the component.
>
> You are aware that the LPDSVC component is required only if you need to
> receive print jobs. Sending LPR print jobs is a standard feature in XP.
>
> --
> /klaus
>
>
>
Klaus Jorgensen
Guest
Posts: n/a
 
Re: Deploy LPDSVC
Posted: 01-09-2009, 09:14 PM
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\CurrentVe rsion\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
--------------------------------------------------------------------

--
/klaus


AL
Guest
Posts: n/a
 
RE: Deploy LPDSVC
Posted: 01-13-2009, 07:53 AM

I will try your script.
Thanks.

"AL" wrote:
> Hello,
> i need to deploy the Windows Component Print Services for Unix, LPDSVC to
> 300 computers of my company .
> Can this be done through Active Directory and how ?
>
> Any help would be appreciated.
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer works fine until LPDSVC huerochingon@gmail.com Windows XP Printers / Scanners / Fax 0 06-29-2005 10:26 PM
Windows XP Deploy M.Sam Windows XP New Users 2 12-14-2004 01:47 PM
Need file "lpdsvc.dll" SO Windows XP Printers / Scanners / Fax 2 04-14-2004 08:40 PM
how to deploy sp1 stewart Windows XP Setup 1 11-20-2003 09:41 PM
deploy VB6 App Nicole Windows XP Security & Administration 0 07-31-2003 01:48 PM