Problem: prnport.vbs incorrect port listing for win2k clustered print server

  • Thread starter Thread starter Zak
  • Start date Start date
Z

Zak

I am inventorying a win2k clustered print server in preparation for a
hard/software migration. I am attempting to use prnport.vbs -l to give
a listing of the printer ports but it only shows the following:

Server name
Protocol RAW
SNMP Enabled

Number of ports enumerated 1


There should be about 180 printer ports on this machine. I have tried
running this RDP'ed into each physical node and from a remote machine.
Am I missing something? Does this script not work for clustered print
servers? If not, what can I use to obtain a list of the printer ports
on this clustered print server?
 
Solved. I was able to use the following registry key's sub-keys and
values instead of the prnport.vbs output:

HKEY_LOCAL_MACHINE\Cluster\Resources\%spoolerresourceguid%\Parameters\Monitors\Standard
TCP/IP Port\Ports

FYI: None of the utilities I was attempting to use to enumerate the
printer ports would work on this clustered 2K server. This is the only
way I have found to enumerate these clustered print server printer
ports.
 
Yes the WMI service points to the nodes rather than the Virtual machine.
Download the Windows Resource Kit and use prnadmin.dll and associated
scripts, they do not rely on WMI

--
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.
 
Back
Top