Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Shortcut targets in Win2K/Citrix interpreted as 8.3 - how to fix?

Posted on 2004-08-18
6
Medium Priority
?
467 Views
Last Modified: 2011-09-20
There are file shortcuts that have been created in a server-based directory, that point to files on another server, so these specific files can be accessed by limited-access users.  These shortcuts were created using WinXP Pro.  

The shortcuts work fine from any WinXP workstation, but when accessed from a Win2K Citrix Metaframe session, they do not work.  Looking at properties of the shortcuts show that the paths and filenames are "long" - more than 8 char. to directories in path, more than 3 char. file extensions.  When you look at the shortcut properties from a Win2K Citrix session - the exact same shortcuts in the exact same network folder - the paths and filenames have been converted to 8.3 format.

This is not an issue with the NTFS registry entry for creating 8.3 filenames. I can't find any policy settings that have anything to do with this.  It has to be some other issue, but I can't find any tech docs that address this.   Does anyone have any ideas for me?  I have no compunctions against registry editing - I've been doing it for years.

TIA.
0
Comment
Question by:ShineOn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 9

Expert Comment

by:BigC666
ID: 11833054
howdy,

be sure to backup your registry first

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem]
Value Name: Win31FileSystem
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = long file names, 1 = 8.3 filenames)

hope that this helps
0
 
LVL 35

Author Comment

by:ShineOn
ID: 11834647
Unless that makes Win2K interpret long file names not stored on NTFS as 8.3 without physically changing the link target to 8.3, while WinXP does not make that same interpretation using the same setting, that's not it.  That setting is the same on both the Win2K/Citrix server and on the WinXP workstations.  Besides, the docs for that value that I've seen say it only affects creation of new files in your NTFS filesystem, and if set to 1, long filenames aren't supported.  Nothing about changing how existing shortcut links are read.

These values for that reg key are identical in the WinXP systems and in the Win2K/Citrix system:

NtfsDisable8dot3NameCreation (set to 0, the default)
Win31FileSystem (Set to 0, the default)
Win95TruncatedExtensions  (set to 1, the default)

I have also made the registry hack that is supposed to stop automatic link updates, just in case it's reinterpreting the target because of that.  No go.

To illustrate the issue. this is a representative example of the problem:

The .lnk file's target field is: R:\DETAILS\4416\441628.SLDDRW
The .lnk file's target field is interpreted on Win2K/Citrix as: R:\DETAILS\4416\441628~1.SLD but is not actually changed to that.

Before anyone suggests it, according to what I've found, Win95TruncatedExtensions only affects command-line utilities like DEL and COPY, and only "truncates" the extension when doing wildcard actions, i.e. "DEL *.HTM" will get both 1.HTM and 2.HTML, and it's not supposed to affect things like Explorer.  This is showing an 8.3 name for the "long" filename 441628.SLDDRW.

The only thing that comes close, that I can see, is if you have Mac compatibility services running and you open something that was named by a Mac system, it should read the file name using 8.3 notation.  I don't have Mac compatibility enabled.  That doesn't mean it never has been - this is an inherited system with no change log.
0
 
LVL 35

Author Comment

by:ShineOn
ID: 11834685
This server is Win2K SP3, in case anyone asks.  I'm wondering if there's an obscure bug that gets fixed in SP4.  Hard to say, because even the fixes for bugs that aren't so obscure aren't easy to find documentation for...
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 10

Expert Comment

by:DSPoole
ID: 11835238
I'd get it up to SP4 before worrying about anything else.
0
 
LVL 35

Author Comment

by:ShineOn
ID: 11846369
Did some digging - it appears that it's a problem with WinXP that Microsoft hasn't addressed yet.  If you create a shortcut on a non-NTFS device that support s LONG names (like a NetWare server, for instance) using WinXP Pro, it appears to ALL Windows versions in 8.3 format EXCEPT on WinXP.  The shortcut looks and works fine on WinXP but not on Win2K.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11948764
PAQd with 500 points refunded - the asker posted their solution

GhostMod
CS Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question