Re: Power User Cannot Add Local Printer
- From: Geekgrrl71 <Geekgrrl71@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Apr 2009 10:46:03 -0700
Cari,
Thanks for the reply. I have already followed the steps outlined in the KB
article you referenced. The Add Printer icon in Printers and Faxes is enabled
for my test user and I can use the Add Printer Wizard to successfully add a
copy of the printer.
The same this fails when I try to do this programmatically using the Windows
API call AddPrinter. This is where I am confused. Why can I do it through
the UI, but fail with a security error through my program?
"Cari (MS-MVP)" wrote:
See:.
http://support.microsoft.com/default.aspx?scid=kb;en-us;297780
--
Cari (MS-MVP) Printing & Imaging
www.coribright.com/windows
"Geekgrrl71" <Geekgrrl71@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CA6FF1B6-C30B-4CF2-B522-06EE49D5DEF3@xxxxxxxxxxxxxxxx
Hello,
I have a small application that calls AddPrinter to create a copy of an
installed printer.
Everything works fine under the administrator account, or an account with
administrative privileges. When I try to copy a printer with this
application
under a user who is part of the Power User group, it fails with error 1307
(This security ID may not be assigned as the owner of this object. ) I
have
added Power Users to the Load/Unload device driver user rights and the
printer still fails to copy.
Strange to me though, I can successfully create a copy of the printer
using
the Add Printer Wizard.
Does anyone have any ideas what the add printer wizard is doing
differently?
Thanks.
- Follow-Ups:
- Re: Power User Cannot Add Local Printer
- From: Cari \(MS-MVP\)
- Re: Power User Cannot Add Local Printer
- References:
- Power User Cannot Add Local Printer
- From: Geekgrrl71
- Re: Power User Cannot Add Local Printer
- From: Cari \(MS-MVP\)
- Power User Cannot Add Local Printer
- Prev by Date: Re: Power User Cannot Add Local Printer
- Next by Date: Re: Print Mapping
- Previous by thread: Re: Power User Cannot Add Local Printer
- Next by thread: Re: Power User Cannot Add Local Printer
- Index(es):
Relevant Pages
|