Re: Cannot install new printer drivers



You get the same access denied error just adding one of the drivers that
shipped with XP using the Add Driver Wizard rather than the Add Printer
Wizard, correct?

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

This posting is provided "AS IS" with no warranties, and confers no rights.

"Martin Brilliant" <MartinBrilliant@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:61B06A48-D80A-4873-B158-C00F7634100B@xxxxxxxxxxxxxxxx
Is that where the permissions are recorded, or is that what they apply to?
I
exported that key I don't see anything about permissions.

Anyway, I gave Users full control of that key, propagated to all subkeys,
and I still get "permission is denied" when I try to add a printer.

Am I seeing all the necessary subkeys? Environments has several subkeys
including Windows NT x86, which has subkeys Drivers and Print Processors.
Drivers has subkeys Version-2 and Version-3, and all the printer drivers
are
subkeys of Version-3. Print Processors has 4 subkeys: BRPPROC, BrPrint
(both
of which I guess are for the Brother laser printer, OneNotePrint2007
(which I
guess came with Office 2007 trial) and winprint (whatever that is). Do I
need
any more there?

Administrators and SYSTEM had and still have full control everywhere,
Users
did not but does now. CREATOR OWNER has neither allow nor deny. All OK?
(I'm
not worried about Users having full control because in there are no Users
who
are not also Administrators, and they both have passwords).

"Alan Morris [MSFT]" wrote:

the permissions are on the keys

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

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Martin Brilliant" <MartinBrilliant@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:9DD3C35D-2916-4E45-9434-F1F31E45DCC6@xxxxxxxxxxxxxxxx
OK, let me ask an interesting question. I can create and delete files
in
that
folder. I can also add entries in all the places in the Windows
registry
that
(a) I can see and (b) seem to be relevant to the printer driver.

But each key in the registry has permissions, including read
permissions.
Suppose that by some obscure accident the Administrators group was
denied
permission to read certain keys, and suppose those keys were important
for
printer installation. How would I know that I didn't have permission to
see
those keys? How could I get permission to read and write keys that I
don't
even know exist?

And where are those registry permissions kept, anyway?





.



Relevant Pages

  • Re: DllRegisterServer in regwizc.dll failed error
    ... pre-install checklist now that I know the pc is clean. ... > It was a permissions issue in exactly the two keys I mentioned above. ... > subkeys under those keys had not initially shown up. ...
    (microsoft.public.windowsxp.basics)
  • Re: PC Running Very Slow
    ... "Rick" wrote: ... > Check the LEGACY_XXXX drivers in HKLM\SYSTEM\ ... > permissions, before you can remove one or more of these). ... > know the keys, Thanks. ...
    (microsoft.public.win2000.general)
  • Re: Cleaning up a Win 98 that was upgraded to Win 2000
    ... But I doubt that this would remove the keys referring to the ... the Lexmark installation code is being deceived into believing ... > | Seems to have something to do with the bidirectional drivers. ... > | Model: Lexmark Optra E312 ...
    (microsoft.public.win2000.setup)
  • Re: Three Questions from a Linux Virgin
    ... I logged in as root and tried to change ... >permissions for all users to RWE, ... >I can't print to because Fedora doesn't have print drivers ... >and run two machines just so that I can print. ...
    (Fedora)
  • Re: Securing the registrys HKLMSystem hive
    ... I don't think that setting permissions would ... either before the drivers are loaded or after they've gone away during shut ... to go just before the file system terminates. ... Use Security and Auditing for this. ...
    (microsoft.public.development.device.drivers)