Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Configurate security permission to all printers in windows 2008

Reply
Thread Tools Display Modes

Configurate security permission to all printers in windows 2008

 
 
mr555
Guest
Posts: n/a

 
      12-02-2009
Hi all

we have a windows 2008 64bit (not R2) print server
by default Everyone - allow print
Creator Owner - manage documents
Administrators can do all including manage the printers

Our print server holds 700 printers what is the easy way to assign a local
security group say "helpdesk" to all printers with manage documents right ?

each time we create a printer we want to include that helpdesk security
group by default

Thanks


 
Reply With Quote
 
 
 
 
Dusko Savatovic
Guest
Posts: n/a

 
      12-06-2009
Powershell?

PS C:\> get-help Set-Acl -examples

NAME
Set-Acl

SYNOPSIS
Changes the security descriptor of a specified resource, such as a file
or a registry key.

-------------------------- EXAMPLE 1 --------------------------

C:\PS>$DogACL = get-acl c:\dog.txt

C:\PS>set-acl -path C:\cat.txt -AclObject $DogACL


Description
-----------
These commands copy the values from the security descriptor of the
Dog.txt file to the security descriptor of the C
at.txt file. When the commands complete, the security descriptors of the
Dog.txt and Cat.txt files are identical.

The first command uses the Get-Acl cmdlet to get the security descriptor
of the Dog.txt file. The assignment operat
or (=) stores the security descriptor in the value of the $DogACL
variable.

The second command uses Set-Acl to change the values in the ACL of
Cat.txt to the values in $DogACL.

The value of the Path parameter is the path to the Cat.txt file. The
value of the AclObject parameter is the model
ACL, in this case, the ACL of Dog.txt as saved in the $DogACL variable.

"mr555" <> wrote in message
news:80A4173D-23BF-49E0-ABD1-...
> Hi all
>
> we have a windows 2008 64bit (not R2) print server
> by default Everyone - allow print
> Creator Owner - manage documents
> Administrators can do all including manage the printers
>
> Our print server holds 700 printers what is the easy way to assign a local
> security group say "helpdesk" to all printers with manage documents right
> ?
>
> each time we create a printer we want to include that helpdesk security
> group by default
>
> Thanks
>
>

 
Reply With Quote
 
DaveMills
Guest
Posts: n/a

 
      12-08-2009
Thanks, I have not played with Power Shell much yet.

I guess it would be possible to enumerate all printers and copy the ACL from one
to the rest then. Or even better add in an ACL to the existing ACL's for all
printer thus preserving the special cases (if any)


On Sun, 6 Dec 2009 01:47:59 +0100, "Dusko Savatovic"
<> wrote:

>Powershell?
>
>PS C:\> get-help Set-Acl -examples
>
>NAME
> Set-Acl
>
>SYNOPSIS
> Changes the security descriptor of a specified resource, such as a file
>or a registry key.
>
> -------------------------- EXAMPLE 1 --------------------------
>
> C:\PS>$DogACL = get-acl c:\dog.txt
>
> C:\PS>set-acl -path C:\cat.txt -AclObject $DogACL
>
>
> Description
> -----------
> These commands copy the values from the security descriptor of the
>Dog.txt file to the security descriptor of the C
> at.txt file. When the commands complete, the security descriptors of the
>Dog.txt and Cat.txt files are identical.
>
> The first command uses the Get-Acl cmdlet to get the security descriptor
>of the Dog.txt file. The assignment operat
> or (=) stores the security descriptor in the value of the $DogACL
>variable.
>
> The second command uses Set-Acl to change the values in the ACL of
>Cat.txt to the values in $DogACL.
>
> The value of the Path parameter is the path to the Cat.txt file. The
>value of the AclObject parameter is the model
> ACL, in this case, the ACL of Dog.txt as saved in the $DogACL variable.
>
>"mr555" <> wrote in message
>news:80A4173D-23BF-49E0-ABD1-...
>> Hi all
>>
>> we have a windows 2008 64bit (not R2) print server
>> by default Everyone - allow print
>> Creator Owner - manage documents
>> Administrators can do all including manage the printers
>>
>> Our print server holds 700 printers what is the easy way to assign a local
>> security group say "helpdesk" to all printers with manage documents right
>> ?
>>
>> each time we create a printer we want to include that helpdesk security
>> group by default
>>
>> Thanks
>>
>>

--
Dave Mills
There are 10 types of people, those that understand binary and those that don't.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is it Windows *7*? Charles Lavin Windows Vista General Discussion 46 01-07-2010 09:37 PM
ANS: "What's the deal with UAC (Windows Needs Your Permission screens)" and "...But I thought I was an administrator" Jimmy Brush Windows Vista Administration 199 12-31-2009 08:58 AM
ANS: "What's the deal with UAC (Windows Needs Your Permission screens)" and "...But I thought I was an administrator" Jimmy Brush Windows Vista File Management 198 12-31-2009 08:58 AM
Failed installations under Windows Update - what to do? cjd Windows Update 6 12-28-2009 01:24 AM
Getting Ready for Windows BETA 2 - QuickStarter Andre Da Costa [Extended64] Windows Vista Installation 2 06-07-2006 06:22 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59