Microsoft KB Archive/302737

= Services for Macintosh Does Not Handle Greek Lowercase &quot;pi&quot; Correctly in File Names =

Article ID: 302737

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q302737



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
If you create a file name that contains a lowercase &quot;pi&quot; character on a client computer, the &quot;pi&quot; character is not displayed correctly in the file name, but you can gain access to the file. The file name is displayed correctly on Macintosh computers.

If you create a file name that contains a lowercase &quot;pi&quot; character in Windows 2000, Macintosh clients can see the file name correctly. However, you cannot open the file from a Macintosh computer. When you try to open the file, you receive an error message that states that the file cannot be found.

These symptoms occur if you are using a Windows 2000-based server that is running Services for Macintosh (SFM). The default locale is set to Greek, and the server is servicing Greek Macintosh clients.



CAUSE
The Greek lowercase &quot;pi&quot; character uses ANSI code 0xF0. This code is used by the Apple character in the in the Symbol font. This code is mapped to a different UNICODE character for storage in the NTFS file name to avoid showing the Apple logo on Windows-based computers. This mapping occurs when file names are passed to or from Macintosh clients. However, the mapping does not occur when Windows 2000-based programs access the file.

This code is in use on all supported ANSI code pages, but the Greek code page contains the lowercase &quot;pi&quot; character at 0xF0. This code point is used in all ANSI code pages.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:   Date         Time   Version        Size     File name ---  31-Oct-2001  01:00  5.0.2195.4566    8,976  Renlogo.exe 31-Oct-2001 00:57  5.0.2195.4566  153,584  Sfmsrv.sys 15-Oct-2001 00:30  5.0.2195.4505   77,584  Sfmsvc.exe

NOTE: This fix was tested on Windows 2000 Service Pack 2 (SP2). Please contact Microsoft Product Support Services if you intend to run this fix on later service pack versions.

To Use the Hotfix
In addition to installing the fix, you must also run the server with the Greek system locale and set a registry value to enable the new conversion. You may also want to run a tool to convert existing file names so that they work with the fix.

To Add the Registry Value
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Start Registry Editor (Regedt32.exe). Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Macfile\Parameters

 On the Edit menu, click Add Value, and then add the following registry value:

Value name: GreekServer

Data type: REG_DWORD

Radix: Hexadecimal

Value data: 1

 Quit Registry Editor.

You must also restart the File Service for Macintosh service to use the new registry value. You can combine this operation with the file name conversion that is described in the next section.

To Convert the File Names
The hotfix package includes the Renlogo.exe tool. Run the hotfix package with the -x switch and specify the folder in which you want to extract the contents of the package. The Renlogo.exe tool has the following syntax:

renlogo -d  -l   -r


 * The -d switch specifies the start folder to be renamed. If you do not use this switch, the volume list in the registry is used.
 * the -l switch specifies the file name for the log file. The default is Fixfile.log.
 * The -r switch specifies Reverse mode. This renames the file back to the previous name from the log file.

If you run Renlogo.exe without parameters, the tool retrieves the list of Macintosh volumes from the registry and tries to rename all of the files whose name contains characters that were created by the original conversion to the correct value. The results of the rename operations are logged to a file.

The -d switch is useful if you want to convert individual volumes while other volumes are available. Remove the volume or share, and then run the tool against the root of the volume.

You can use the -r switch to rename all previously renamed files back to the original name from the original conversion (from the log file). This is useful if you must uninstall or disable the fix.

Microsoft recommends that you stop all file sharing services (including SMB/CIFS server, File Server for Macintosh, NFS servers, and File and Print Server for NetWare) so that remote clients do not interfere with the rename operations.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 Datacenter Program and Windows 2000 Datacenter Server Product

For additional information on how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Additional query words: ing

Keywords: kbbug kbfix kbqfe kbwin2000sp3fix kbenv kbnetwork kbhotfixserver KB302737

-

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

© Microsoft Corporation. All rights reserved.