@echo off REM This is a script for removing a BISS-supported printers on a system REM used by multiple users. Running the rundll32 command will remove the REM printer for all users without the user having to go through the REM removal process themselves. REM REM Version 1.0 REM Written by: Daniel E. Weber 28 February 2005 REM REM REM Change this to reflect the path to printhost via samba set printhost=\\bi-printhost if exist C:\WINDOWS\system32\rundll32.exe ( echo Removing printer under Windows XP set dll=C:\WINDOWS\system32\rundll32 ) else ( echo Removing printer under Windows 2000 set dll=C:\WINNT\system32\rundll32 ) %dll% printui.dll,PrintUIEntry /gd /n %printhost%\%1