REM ************************************************************************************ REM * This is the new logon bat. Created 12-14-04. Initial testing proved to solve * REM * the issue of extremely long login times due to the removal of installed * REM * printers. (One machine was taking over an hour to process the logon.bat!) * REM * * REM * In the event that you need to point to the original logon.bat written by Kevin, * REM * you can find the file at: * REM * C:\WINNT\SYSVOL\sysvol\KWDUNWOODY.com\scripts\logon.bat-old (drop -old to use) * REM * * REM * Technical Contact: Scott Hardy shardy@kw.com 404-717-4389 * REM * insert bat @ C:\WINNT\SYSVOL\sysvol\KWDUNWOODY.com\scripts * REM ************************************************************************************ net use n: \\realestate\applications net use s: \\realestate\shared net use p: \\realestate\scan REM setup all shared printers REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\bw_workroom REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\confroom1 REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\confroom2 REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\front_copier REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\back_copier REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\workroom_color REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\hall_color REM rundll32 printui.dll,PrintUIEntry /in /n \\realestate\AgentHub REM delete old or renamed printers 10/02/05 - shardy rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\copier /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\color /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\workroom /q REM delete all shared printers rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\bw_workroom /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\confroom_atrium /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\confroom_lakeview /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\front_copier /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\back_copier /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\workroom_color /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\hall_color /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\hall_bw /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\agent_hub /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\confroom1 /q rundll32 printui.dll,PrintUIEntry /dn /n \\realestate\confroom2 /q REM setup all shared printers rundll32 printui.dll,PrintUIEntry /in /n \\realestate\bw_workroom rundll32 printui.dll,PrintUIEntry /in /n \\realestate\confroom_atrium rundll32 printui.dll,PrintUIEntry /in /n \\realestate\confroom_lakeview rundll32 printui.dll,PrintUIEntry /in /n \\realestate\front_copier rundll32 printui.dll,PrintUIEntry /in /n \\realestate\back_copier rundll32 printui.dll,PrintUIEntry /in /n \\realestate\workroom_color rundll32 printui.dll,PrintUIEntry /in /n \\realestate\hall_color rundll32 printui.dll,PrintUIEntry /in /n \\realestate\hall_color