Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP WMI

Notices

Reply

Printer queue permissions

 

LinkBack Thread Tools Display Modes
Old 07-08-2005, 02:41 PM   #1 (permalink)
Default Printer queue permissions

Hi,

Is it possible to remove the everyone read default permission and replace it
with Authenticated Users read permission on a local print queue?

If it is possible could somebody please give me a hint or two on how to do
it ?

Thanks in advance.


Ray Collins
Guest
 
Posts: n/a
Reply With Quote  
Old 07-09-2005, 08:19 PM   #2 (permalink)
Default Re: Printer queue permissions

You will need the setprinter.exe utility from the Windows resource kit

level 3

set a printer with the security you want. View the security for that
printer, then apply the same security descriptor for a single printer or all
the printers on a system. This will work locally or targeting a remote
machine.

setprinter -examples 3

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

"Ray Collins" <ray.collins@nospambigpond.com> wrote in message
news:efUecs8gFHA.3692@TK2MSFTNGP09.phx.gbl...
Quote:
> Hi,
>
> Is it possible to remove the everyone read default permission and replace
it
Quote:
> with Authenticated Users read permission on a local print queue?
>
> If it is possible could somebody please give me a hint or two on how to do
> it ?
>
> Thanks in advance.
>
>

Alan Morris
Guest
 
Posts: n/a
Reply With Quote  
Old 07-10-2005, 01:22 PM   #3 (permalink)
Default Re: Printer queue permissions

Thank you.

"Alan Morris" <alanmo@online.microsoft.com> wrote in message
news:42d032eb$5@news.microsoft.com...
Quote:
> You will need the setprinter.exe utility from the Windows resource kit
>
> level 3
>
> set a printer with the security you want. View the security for that
> printer, then apply the same security descriptor for a single printer or
> all
> the printers on a system. This will work locally or targeting a remote
> machine.
>
> setprinter -examples 3
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>
> "Ray Collins" <ray.collins@nospambigpond.com> wrote in message
> news:efUecs8gFHA.3692@TK2MSFTNGP09.phx.gbl...
Quote:
>> Hi,
>>
>> Is it possible to remove the everyone read default permission and replace
> it
Quote:
>> with Authenticated Users read permission on a local print queue?
>>
>> If it is possible could somebody please give me a hint or two on how to
>> do
>> it ?
>>
>> Thanks in advance.
>>
>>
>
>

Ray Collins
Guest
 
Posts: n/a
Reply With Quote  
Old 09-06-2005, 09:25 AM   #4 (permalink)
Default RE: Printer queue permissions

do something like this:
PRINTER_DEFAULTS pd;
pd.DesiredAccess=READ_CONTROL|WRITE_OWNER|WRITE_DA C;
OpenPrinter(
GetPrinter(,3
do something with the returned pSecurityDescriptor in PRINTER_INFO_3
SetPrinter(,3

kj
kj
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Permissions BigNVista Windows Vista Security 15 07-01-2008 01:24 PM
Permissions Ian M. Walker Windows Vista Administration 35 03-19-2008 02:57 AM
Administrator Permissions a symms Windows Vista Administration 22 11-17-2007 05:42 PM
HP 2110 All in one - disapearing out the queue TJ Windows Vista Printers & Scanners 1 08-15-2006 07:48 PM
Print Job Showing Up in Queue and Deleteing But Never Arriving Robert Aldwinckle Windows Vista Printers & Scanners 0 08-14-2006 02:07 PM


All times are GMT. The time now is 08:09 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90