PC Review


Reply
Thread Tools Rate Thread

Deploy LPDSVC

 
 
AL
Guest
Posts: n/a
 
      8th Jan 2009
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.
 
Reply With Quote
 
 
 
 
Klaus Jorgensen
Guest
Posts: n/a
 
      8th Jan 2009
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


 
Reply With Quote
 
AL
Guest
Posts: n/a
 
      9th Jan 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.

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
>
>
>

 
Reply With Quote
 
Klaus Jorgensen
Guest
Posts: n/a
 
      9th Jan 2009
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
--------------------------------------------------------------------

--
/klaus


 
Reply With Quote
 
AL
Guest
Posts: n/a
 
      13th Jan 2009

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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LPDSVC warning AL Windows XP Print / Fax 1 9th Jan 2009 07:26 PM
error 4010 lpdsvc =?Utf-8?B?ZGFycmVsbCBtaWxhbQ==?= Windows XP Networking 1 12th Dec 2007 03:13 PM
LPDSVC =?Utf-8?B?QWxiZXJ0IENvc3Rh?= Microsoft Windows 2000 Printing 1 3rd Jan 2006 08:39 PM
Printer works fine until LPDSVC huerochingon@gmail.com Windows XP Print / Fax 0 29th Jun 2005 11:26 PM
lpdsvc - any way to monitor? just stops woof Microsoft Windows 2000 Printing 2 5th Mar 2004 05:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:28 PM.