Microsoft KB Archive/944008

= Explorer terminates when launching the Add Printer wizard =

Article ID: 944008

Article Last Modified on 10/19/2007

-

APPLIES TO


 * Windows Vista Ultimate
 * Windows Vista Enterprise
 * Windows Vista Business

-



Source: Microsoft Support



RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.



Action


Result
Explorer crashes when you try to use the “Add Printer” wizard from Control Panel\Printers to add a Network printer.

This happens on a Windows Vista computer that is joined in the domain, if the local account used has the same name and password as a valid Domain user account.



Cause
This is a problem of Windows Vista.



Resolution
You may use the methods below to work around this issue:

Method 1:

In Explorer, Directly access the UNC path of the shared printer.

Method 2:

Use the command line to add the printer. A sample command is as follows:

rundll32 printui.dll,PrintUIEntry /in /n\\printserver\printername

For more information about the commands, please run the command below for the help information.

rundll32 printui.dll,PrintUIEntry /?



MoreInformation
Repro Steps

=
================

1. On the Vista computer that is joined to the domain, create a local account with the same username and password as a Domain User Account

2. Logon as this local account.

3. In the Control panel, open Printers.

4. Click &quot;Add a printer&quot;, and then click &quot;Add a network, wireless or Bluetooth printer&quot;.

Now you may see Explorer crashes.

Here is the sample call Stack:

0:032> kv

ChildEBP RetAddr Args to Child

0313f80c 76f6f19c 0313cd71 7ffd3ffc 00500000 ntdll!DbgBreakPoint (FPO: [Non-Fpo])

0313f88c 76f6fcef c0000374 76f8cf50 0313f8d0 ntdll!RtlReportCriticalFailure+0x2e (FPO: [Non-Fpo])

0313f89c 76f6fddd 00000002 0313cd2d 025380e0 ntdll!RtlpReportHeapFailure+0x21 (FPO: [Non-Fpo])

0313f8d0 76f3cae7 00000009 00500000 7ffd3ffc ntdll!RtlpLogHeapFailure+0xa1 (FPO: [Non-Fpo])

0313f8f8 765f0206 00500000 00000000 7ffd3ffc ntdll!RtlSizeHeap+0x69 (FPO: [Non-Fpo])

0313f90c 77073ef0 766be6fc 7ffd3ffc 025380e0 ole32!CRetailMalloc_GetSize+0x21 (FPO: [Non-Fpo])

0313f930 77073df5 7ffd3ffc 00000010 0313fa48 oleaut32!APP_DATA::FreeCachedMem+0x30 (FPO: [Non-Fpo])

0313f94c 6fbbd8e6 7ffd4000 7ffd4000 01567f80 oleaut32!SysFreeString+0x6b (FPO: [Non-Fpo])

0313f9a0 6fbbdc4f 0313fa48 7ffd4000 02502a28 printui!TADSearch::GetSearchInterface+0x90 (FPO: [Non-Fpo])

0313fa5c 76effe6d 01567f80 0313cf3d 00587248 printui!TADSearch::FindADPrinters+0x85 (FPO: [Non-Fpo])

0313fac0 76f2a2b8 01567f80 02502a28 0313ce15 ntdll!RtlpTpWorkCallback+0xbf (FPO: [Non-Fpo])

0313fbe8 76943833 00587240 0313fc34 76efa9bd ntdll!TppWorkerThread+0x522 (FPO: [Non-Fpo])

0313fbf4 76efa9bd 00587240 0313c9c9 00000000 kernel32!BaseThreadInitThunk+0xe (FPO: [Non-Fpo])

0313fc34 00000000 76f2a044 00587240 00000000 ntdll!_RtlUserThreadStart+0x23 (FPO: [Non-Fpo])



DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

Keywords: kbnomt kbrapidpub KB944008

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.