FN-GM Posted October 29, 2012 Posted October 29, 2012 Hi, We need to set it so that people in a particular group can manage print jobs, delete them etc. We have allot of printers on the system. Does anyone have a script i can use. I looked on the net ans when testing one trashed the existing permissions and the others didn't work. Thanks
Steve21 Posted October 29, 2012 Posted October 29, 2012 Honestly if you're only going to be doing it once, then sticking with the groups you've made it'd be easier just to steal a premade tool like "SetACL" and use that. SetACL | Helge Klein | Home of SetACL All the scripting done, just tell it what you want and where and it does it for /f %i in (printers.txt) do @SetAcl -on "\\printsvr\%i" -ot prn -actn ace -ace "n:\domain\printMgmt;p:man_documents" -ace "n:domain\printMgmt;p:print" For all the printers in printers.txt (or if you want to change it to loop a directory), Give group "printMgmt" permissions to manage docs, and print etc. More examples at: Managing Printer, Service, WMI and Share Permissions with SetACL.exe | Helge Klein | Home of SetACL If you really want a script, you could just go miles through xcacls scripts, but seems a lot of work if it's a once only thing Steve
Cache Posted October 29, 2012 Posted October 29, 2012 Are all the printers on a single print server? If so, wouldn't the Print Operators group on the local machine do what your after or does it grant to many permissions?
FN-GM Posted October 30, 2012 Author Posted October 30, 2012 I am looking at SETACL how can i use a wildcard to do it on all printers on the server please?
Steve21 Posted November 13, 2012 Posted November 13, 2012 It wouldn't really be a wildcard, it would need to be as part of a script that loops through every printer on the server. Steve 1
FN-GM Posted November 13, 2012 Author Posted November 13, 2012 That will do, just saves me inputting all these printers! Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now