Script to Remove NDPS Printers

J

Jeff

We are in the middle of moving our novell 6 network to
windows 2000. I was just wondering how I could somehow
through a logon scrip delete a novell network printer from
my windows 2000 clients so I can add a windows 2000
printer mapping for that same printer. I have tried using
the
WshNetwork.RemovePrinterConnection "\\server\printershare"
and it only works for windows printer connections.
Con2prt command does this as well. I don't know what else
to try and I don't want to go around to allt 250 work
stations and manually delete the novell printer and then
add the windows 2000 printer.
thanks
..
 
K

Keith Klenke

if you still have nwclient on the machines, why not just use the built in
ndps function to do that? You do know that you can have ndps printers remove
themselves using the agent object right?
If you dont have the nwclient on the machines anymore, why didnt you have
ndps remove the printer before hand? sounds like you are trying to make
yourself more work then you should have....
 
D

Dick Knowles

Jeff

Exact syntax is "rundll32 printui PrintUIEntry /h". This gives a help window
with all options and numerous examples. You should be able to everything you
need to do. Syntax suggests that you can even add/delete queues from remote
PCs.

Duck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top