Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding ports without stopping spooler

Status
Not open for further replies.

MarkMeerten

Programmer
Aug 20, 2003
37
BE
I managed to add printer ports to my print server via a script.
I tried it by adding them trough the registry and adding them using WMI.

With both methods I experience the same problem. The ports aren't recognized unless you restart the print spooler!

When i create a port using the wizard they're immediately recognized!

Is there a way to add ports by script so the print server recognizes them immediately without stopping the print spooler?

Thanx in advance!

Greetz,

MArk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top