Sign in with
Sign up | Sign in
Your question

win32 error -2146762749

Tags:
  • Win32
  • Error Message
  • Printers
  • Windows XP
Last response: in Windows XP
Share
Anonymous
August 24, 2004 4:19:48 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Receiving win32 error message on printer install using prndrvr.vbs.
Using XP to instlla printers locally. Anyone have a clue on what this
message could be related to?

More about : win32 error 2146762749

Anonymous
August 24, 2004 6:27:26 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Is the driver digitally signed? WMI cannot be used for unsigned print
drivers.

--
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.

"desai" <kedardesai447@hotmail.com> wrote in message
news:2263708f.0408241119.5d2c5630@posting.google.com...
> Receiving win32 error message on printer install using prndrvr.vbs.
> Using XP to instlla printers locally. Anyone have a clue on what this
> message could be related to?
Anonymous
August 25, 2004 12:32:45 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Alan -

Thanx for the info. I've been struggling with this for two days now.
The driver is something we developed in-house so I do not think it's
digitally signed. Just so I understand, when using prndrvr.vbs via
WMI, there are no exceptions to printer installation unless they are
digitally signed?

Using rundll32 printui, prinuientry seems to work ok but I want it to
work with prndrvr/prnmngr.

thanx in advance -

kd
Related resources
Anonymous
August 25, 2004 2:24:05 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

It's not supported even if you set the driver signing warnings to ignore.
The setupapi.dll code knows the driver is not signed and even if you set the
policy to ignore driver signing warnings, you will still get UI which is
what blocks the ability of WMI to install the unsigned drivers since it must
be done without any user prompts.

prnadmin in the Server 2003 resource kit may work for you as well
here's the resource kit.
http://www.microsoft.com/downloads/details.aspx?FamilyI...

--
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.

"desai" <kedardesai447@hotmail.com> wrote in message
news:2263708f.0408250732.49349ee5@posting.google.com...
> Alan -
>
> Thanx for the info. I've been struggling with this for two days now.
> The driver is something we developed in-house so I do not think it's
> digitally signed. Just so I understand, when using prndrvr.vbs via
> WMI, there are no exceptions to printer installation unless they are
> digitally signed?
>
> Using rundll32 printui, prinuientry seems to work ok but I want it to
> work with prndrvr/prnmngr.
>
> thanx in advance -
>
> kd
Anonymous
August 26, 2004 12:06:25 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Alan -

thanx for the info, you've been a big help.

kd
Anonymous
August 26, 2004 10:43:26 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Another question that came up:

Can I use prndrvr.vbs to install the drivers that come with the OS?
Ex, I found prinupg,inf in the \\windows\inf directory but when I use
the
prndrvr.vbs command I get the win32 error 87....which points to a
paramter error. Can I do it this way, I'm assuming the drivers from
the OS are digitally signed.

thanx

kd
Anonymous
August 26, 2004 1:24:50 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

By default the WMI print provider queries windows\inf\ntprint.inf for driver
files. The default install point is windows\driver cache\i386\driver.cab.
Printupg.inf points to driver replacements for IHV faulting drivers and
identify IHV drivers that cause the system to crash so we do not allow their
installation.

-i must also include the inf filename, -h just need the location. The help
does not specify this in XP but does on Server 2003. If you have Server
2003 installed some place pickup the vbs files from that release. There are
several bug fixes and enhancements to the scripts.

If the driver is in the driver.cab file, I like prnmngr.vbs to install the
printer. The driver will get installed at the same time and the ICM color
profile will match accordingly. If you first install the driver then
install the printer, none of the scripting solutions match up the profiles
properly.

I am ALANMO@ you have my company name if you would like more info on this

--
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.

"desai" <kedardesai447@hotmail.com> wrote in message
news:2263708f.0408260543.6085a921@posting.google.com...
> Another question that came up:
>
> Can I use prndrvr.vbs to install the drivers that come with the OS?
> Ex, I found prinupg,inf in the \\windows\inf directory but when I use
> the
> prndrvr.vbs command I get the win32 error 87....which points to a
> paramter error. Can I do it this way, I'm assuming the drivers from
> the OS are digitally signed.
>
> thanx
>
> kd
!