Logon Script to remove Novell 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
 
W

Walter Schulz

We are in the middle of moving our novell 6 network to
windows 2000.

Are those printers managed by NDPS? Is the NDS still available and
Novell client installed?

Ciao, Walter
 
J

jeff

No, The Novell client and NDPS are both removed.

-----Original Message-----


Are those printers managed by NDPS? Is the NDS still available and
Novell client installed?

Ciao, Walter
.
 
J

Jeff

And Yes they managed by NDPS

-----Original Message-----


Are those printers managed by NDPS? Is the NDS still available and
Novell client installed?

Ciao, Walter
.
 
W

Walter Schulz

And Yes they managed by NDPS

REM ==REMOVE_ALL_NDPS_PRINTERS.CMD=== single line follows. No CR/LF
for /f "tokens=2,3 delims=," %%a in ('reg query
HKLM\System\Currentcontrolset\control\print\printers^|find /i ",,"')
do rundll32 printui.dll,PrintUIEntry /dl /n "%%a\%%b"

The command above begins with FOR and ends with %%b" and doesn't
contain any CR/LF.

You have to run this command on each machine.
See tip 4195 in www.jsiinc.com\reghack.htm.
REG.EXE will be found in SUPPORT.CAB in your w2k CD.

HTH
Caio, Walter
 

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