Re: Power User Cannot Add Local Printer

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.


.



Relevant Pages

  • Re: Power User Cannot Add Local Printer
    ... Everything works fine under the administrator account, ... this application under a user who is part of the Power User group, ... device driver user rights and the printer still fails to copy. ... Does anyone have any ideas what the add printer wizard is doing ...
    (microsoft.public.windows.group_policy)
  • Re: Power User Cannot Add Local Printer
    ... Everything works fine under the administrator account, ... application under a user who is part of the Power User group, ... driver user rights and the printer still fails to copy. ... Does anyone have any ideas what the add printer wizard is doing ...
    (microsoft.public.windowsxp.security_admin)
  • Power User Cannot Add Local Printer
    ... Everything works fine under the administrator account, ... application under a user who is part of the Power User group, ... driver user rights and the printer still fails to copy. ... Does anyone have any ideas what the add printer wizard is doing ...
    (microsoft.public.windowsxp.security_admin)
  • Power User Cannot Add Local Printer
    ... Everything works fine under the administrator account, ... under a user who is part of the Power User group, ... printer still fails to copy. ... Does anyone have any ideas what the add printer wizard is doing differently? ...
    (microsoft.public.windowsxp.print_fax)
  • Power User Cannot Add Local Printer
    ... Everything works fine under the administrator account, ... under a user who is part of the Power User group, ... printer still fails to copy. ... Does anyone have any ideas what the add printer wizard is doing differently? ...
    (microsoft.public.windowsxp.print_fax)