Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Add a security group to  Permissions on 300+ Printers on Windows  2008 R2

Posted on 2011-05-11
2
Medium Priority
?
1,494 Views
Last Modified: 2012-05-11
I have a print server Windows 2008 R2. It has 300+ print queues. I need to add a security group to have Print, Manage Printers, Manage Documents, view server.

Is there a way I can do this in one go as opposed to the hard task of selecting each printer individally?

0
Comment
Question by:vourneenward
2 Comments
 
LVL 3

Accepted Solution

by:
yadaya earned 1000 total points
ID: 35745300
0
 
LVL 7

Assisted Solution

by:Dusan_Bajic
Dusan_Bajic earned 1000 total points
ID: 35747160
If you don't already have it, download an install Windows Resource Kit:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd

(you can install resource kit on your desktop and run script from there, assuming you have sufficient privileges)

create .bat file:

For /F "delims=: tokens=2" %%a IN ('setprinter -show \\PrintServer 6') DO (
      subinacl /printer "%%a" /grant="Domain\Group"=F
)

This will give full control to Domain\Group to all printers installed on PrintServer. I tested it and it runs fine, but please try on test machine first.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question