Microsoft KB Archive/944007

= Unable to access shares via IPv6 address due to the &quot;:&quot; character =

Article ID: 944007

Article Last Modified on 10/19/2007

-

APPLIES TO


 * Windows Vista Business
 * Windows Vista Enterprise
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Ultimate
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

-



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
Accessing shares or mapping drives using IPv6 addresses will fail.

Examples of failing commands:

net use * \\2001:db8:0:1::9\c$

Or try to access the address through Start->Run.

\\2001:db8:0:1::9\c$

The error message is:

System error 67 has occurred. The network name cannot be found.



Cause
&quot;:&quot; is classified as an invalid machine name character in Win32. API’s that call to validate server names will fail.



Resolution
The best resolution for this is to ensure that there is a name that resolves the IPv6 address. If the name is provided in the request this should succeed.

If there is a need to use the IPv6 address directly then the IPv6 address must be converted to the &quot;ipv6-literal&quot; namespace format. The &quot;:&quot; symbol is converted to the &quot;-&quot; symbol and &quot;ipv6-literal.net&quot; is appended.

Example from IPv6 addr to &quot;ipv6-literal&quot; namespace format:

IPv6 addr: 2001:4898:2b:4:bdb1:1c0:a5d8:438e

Convert to: 2001-4898-2b-4-bdb1-1c0-a5d8-438e.ipv6-literal.net

Example of a mapped drive:

c:\>net use * \\2001-db8-0-1-0-0-0-40.ipv6-literal.net\c$

Drive Z: is now connected to \\2001-db8-0-1-0-0-0-40.ipv6-literal.net\c$.

The command successfully completed.



MoreInformation


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 KB944007

-

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

© Microsoft Corporation. All rights reserved.