PC Review


Reply
Thread Tools Rate Thread

Adding printer/port through command line automatically

 
 
=?Utf-8?B?QXJjaGkz?=
Guest
Posts: n/a
 
      9th Jul 2007
Hi - I am trying to install TCP/IP printers via command line on another XP
workstation in our domain using the following command I get this:

cscript prnport.vbs -a -r IP_10.23.x.x -s wgan-xw1.ourdomain.com -h 10.23.x.x
**Unable to connect to WMI service Error 0x800706BA The RPC Server is
unavailable.

Did I miss anything? Appreciate any questions and/or comments. - thanks

 
Reply With Quote
 
 
 
 
Alan Morris [MSFT]
Guest
Posts: n/a
 
      9th Jul 2007
Enable the firewall port for WMI.

Also there is a bug in the wmi provider which will cause the current script
to loop in the WMI service. You will need to specify the -o parameter. If
the raw tcp port number is 9100 it gets set to this so specify -n for any
port number other than 9100.


http://support.microsoft.com/kb/875605/en-us
How to troubleshoot WMI-related issues in Windows XP SP2

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"Archi3" <(E-Mail Removed)> wrote in message
news:A84124EA-D5BA-498F-BD0D-(E-Mail Removed)...
> Hi - I am trying to install TCP/IP printers via command line on another XP
> workstation in our domain using the following command I get this:
>
> cscript prnport.vbs -a -r IP_10.23.x.x -s wgan-xw1.ourdomain.com -h
> 10.23.x.x
> **Unable to connect to WMI service Error 0x800706BA The RPC Server is
> unavailable.
>
> Did I miss anything? Appreciate any questions and/or comments. - thanks
>



 
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
command line - add new local printer port Keith G Hicks Windows XP General 10 12th Mar 2010 09:00 PM
Problem adding printer from command line =?Utf-8?B?YnJ5YW4=?= Windows XP General 2 11th Nov 2004 06:19 PM
Adding/Deleting a local printer via the command line. =?Utf-8?B?SVROQVRF?= Microsoft Windows 2000 Printing 1 8th Jan 2004 01:59 AM
Re: Adding a TCP/IP port and printer via the command line (batch file) Walter Schulz Microsoft Windows 2000 Printing 0 14th Nov 2003 05:24 PM
Help Adding Printer Drivers via Command Line Yogi_Bear_79 Microsoft Windows 2000 CMD Promt 0 25th Jul 2003 01:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:10 AM.