The normal way to disable printers is to stop the spooler service. The disadvantage is that no user can print anymore, including the admins.
Or if a division just works an hour longer than another division. For this case you need “setacl” in /system32. ->Get here
Following code sets the permission “print” for the group “Consulting” on the printer “Prin1″ at the server “server” (you have to work with sharenames of the printers).Domainname: corp.com
1. Create an batchfile with the code:
setacl.exe -on “\\server\print1″ -ot prn -actn ace -ace “n:corp.com\Consulting;p:print”
For other permissions and more details visit http://setacl.sourceforge.net/
2. Now you need a batchfile which erases this permission:
setacl.exe -on “\\server\print1″ -ot prn -actn trustee -trst “n1:corp.com\Consulting;ta:remtrst;w:dacl”
3. Create jobs in the “Schedule Tasks” for each batchfile