Solved

Error 1325. <username> is not a valid short file name

Posted on 2010-11-12
10
8,518 Views
Last Modified: 2012-05-10
Hi,

I have a strange problem here in the organization.
- We are running Active Directory and user's home folders (P: Drive) were moved from a windows 2003 server to a windows 2008 server.
- On clients (Windows XP), Favorites are redirected to their home folders in the registry:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
Both Values to "\\SERVER\Share$\username\Favorites"

Since this move, when installing/updating softwares in MSI format, this kind of error appears:

Error 1325. <username> is not a valid short file name.

Sometimes, the error number is not there.

Example of softwares getting the error:
- Adobe Acrobat Standard and Reader
- VMWare Workstation and Player
- Others that I cannot remember

I have managed to fix the error by setting the drive letter instead of the UNC in the registry: "P:\Favorites".

1. What does the Favorites path has to do with msi installations?
2. Is there something different with Windows Server 2008 that can cause this error because we did not get this error before?

Thanks for your help.
0
Comment
Question by:Bidonet
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 24

Assisted Solution

by:Awinish
Awinish earned 250 total points
ID: 34126319
The reason could be incorrect registry value as XP uses profile path as

c:\documents and settings\username & Win7/2008 uses C:\Users\username

So the registry path is not correctly modified mapped in windows 7.
Below link might solve your problem.

http://help.wugnet.com/vista/Unable-install-msi-packages-error-1325-ftopict130110.html
http://forums.techarena.in/active-directory/1110526.htm
http://www.eggheadcafe.com/software/aspnet/30523812/error-1325username-is-not-a-valid-short-file-name.aspx
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 34126351
Username should be %username%...

The way you have it is expecting to find a folder called "username". Should be able to change that in the policy and have it propagate down
0
 
LVL 66

Assisted Solution

by:johnb6767
johnb6767 earned 250 total points
ID: 34126355
Oh, and to answer the other part....

MSI packages enumerate the currently logged in user's Shell folders, User shell folders and the local machine Shell/User shell folders to make surE it can resolve the paths.. Standard behavior...
0
 
LVL 5

Accepted Solution

by:
Bidonet earned 0 total points
ID: 34136698
Thanks for your replies.

I finally found the source of the problem.

This has nothing to do with the move from server 2003 to 2008.

The only change is that before, the homeshare was
- \\ServerName\Username$
Now it is:
- \\ServerName\Share$\Division\Username

- The permissions on "Username" is full acces for the user but the permission on "Share$" has no read access.  Even if the user can successuflly access the full UNC, MSI install files need "read" access on "Share$".
- It also appears that if the username is no longer than 8 characters, it is working fine even if user has no "read" access on "Share$"

So the fix would be to:
- Give READ access on "Share$" to the users or everyone
OR
- Conform user account to an 8 charaters or less format.

0
 
LVL 24

Expert Comment

by:Awinish
ID: 34136728
Great Gesture Bidonet:
0
Make managing Office 365 email signatures a breeze

Are you using Office 365? Having trouble trying to set up email signatures for your users? Getting stressed out managing multiple signatures? Need an easier way to manage? We have a solution for you, try the most-user friendly and powerful signature management tool on the market.

 
LVL 5

Author Comment

by:Bidonet
ID: 34136786
For my part, I have given "read" access to the "Share$" to everyone so my problem is fixed bu I would be interested to know why this only affects user accounts longer than 8 characters.

Should I start another question or this could be answered in this one?
0
 
LVL 24

Expert Comment

by:Awinish
ID: 34136843
Let this question be like & this & you can ask for additional help by clicking on top right corner by Request Attention.
0
 
LVL 5

Author Closing Comment

by:Bidonet
ID: 34179144
I found the solution myself "googling" with hints from your comments.
0
 
LVL 4

Expert Comment

by:mcsallad
ID: 34851488
Ive solved this issue like bidonet did. My customer had a unc path for folder redirections to \\ServerName\Share\Division\Username. But no read on "Share" but fullaccess on rest, so i just added the read and everything was OK!

Thx for the solution!
0
 
LVL 24

Expert Comment

by:Awinish
ID: 34851504
Nice to see, people are getting benefited..Kudos to Bidonet.
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Question has a verified solution.

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

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now