Logon Script to remove Novell Printers

  • Thread starter Thread starter Jeff
  • Start date Start date
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
 
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
 
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
.
 
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
.
 
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
 
Back
Top