Shaneuk20
2007-06-05 21:50:51 UTC
Hi
I'm guessing that this is not easy or commonly asked for as I have searched
high and low without success.
If anybody out there wants to prove they are a genius and make my day they
could write a script to add a security group to every printer on a pc.
I have seventy servers with about 2000 printers and I'm looking at manually
adding the user group one at a time. As you can imagine I have RSI just
thinking about it!
I'm guessing you would need to first enumerate all the printers on the
machine, then work out the SID for the user group and then finally marry the
two together without losing the existing permissions.
As I said I've found nothing on the user groups, in the script repository at
MS or in any of my reference books, nor have any of my scripting gurus been
able to help.
Please save my poor sore fingers!!!
Many thanks
Shane
I'm guessing that this is not easy or commonly asked for as I have searched
high and low without success.
If anybody out there wants to prove they are a genius and make my day they
could write a script to add a security group to every printer on a pc.
I have seventy servers with about 2000 printers and I'm looking at manually
adding the user group one at a time. As you can imagine I have RSI just
thinking about it!
I'm guessing you would need to first enumerate all the printers on the
machine, then work out the SID for the user group and then finally marry the
two together without losing the existing permissions.
As I said I've found nothing on the user groups, in the script repository at
MS or in any of my reference books, nor have any of my scripting gurus been
able to help.
Please save my poor sore fingers!!!
Many thanks
Shane