How do I use long path names ("\\?\UNC\...") with Server 2008 roaming profiles?

Hey folks!
I administrate a Windows Server 2008 R2 SP1 Domain with about 40 users on
Windows 7 SP1 clients. Because the users often switch between the many PCs, I am using Roaming Profiles which tend to produce errors with different application-specific paths and files inside the users profiles.
As one of many example, our standard mail application Thunderbird produces paths and files according to folders/subfolders and mails in a user's mailbox. Another one is Microsoft Office's Auto Recovery files which reside in a user's profile and can
get very long.
These paths and filenames often extend the allowed max. path of about 256 characters, when (on log on or off) the synchronization process between the client and the server takes place, leading to errors in the event log and a notification to the user about
the conflict:
"Event ID 1509 - Windows cannot copy file \\server\share\users\user123.v2\AppData\Roaming\looooong to location C:\Users\user123\AppData\Roaming\looooong. DETAIL - The filename or extension is too long."
In the long run this leads to different file versions on different clients which - in the case of Thunderbird - leads to missing mails.
After extensive searches and lectures of forums - including this - I haven't found a solution for this problem.
So my question is if there's a way to use the extended max path with roaming profiles and if so how do I get it to work?
I tried changing the profile path of a test user in the Active Directory user preferences from "\\server\share\profiles\test_user" to something like "\\?\UNC\server\share\profiles\test_user" without any changes in the system's behavior.
Also I think that because this is such a fundamental problem somebody must have come up with a solution for it...
Thanks in advance,
Nico

Hi,
Thanks for your posting.
The Event 1509 can happen if the destination path of the users profile is on a server with a long name and share folder name. For detail information, please refer to:
User profile cannot be loaded with Event ID 1509, DETAIL - The filename or extension is too long
http://blogs.technet.com/b/win7/archive/2011/02/15/user-profile-cannot-be-loaded-with-event-id-1509-detail-the-filename-or-extension-is-too-long.aspx
User profile cannot be loaded with Event ID 1509, DETAIL - The filename or extension is too long
http://support.microsoft.com/kb/2536571
Hope this helps.
Regards.
Vivian Wang
TechNet Community Support

Similar Messages

  • Files with "alien" names in directories with very long path names

    Hi all,
    first of all - I dont know if this is the right forum for my Question,
    but I could not find any better ;-)
    I have a problem with some files with "alien" names with MIXED characters from different foreign countries
    (e.g. "Φέτα (τυρί) 只有沙盒或您的用户页可以用作測試ורת המבחנים בחינוך פור.txt").
    Sometimes - whenn those files are exists in a directory with a very long path name,
    then the windows api fails to handle these files.
    For example GetFileAttributesW() returns error 2
    and ntQueryDirectoryFile does not return this file in the list (etc. pp.)
    I have this behaviour not with other files in those directories (e.g. "abc.txt")
    and also not when those names are a little bit shorter
    or the directorys name is not too long.
    So I guess, there is a bug either in the API or in the file system...?!
    I know that such a file name is a generic one,
    but I have a situation where I have to handle any file with any name -
    even in directories with very long path names...
    So please no suggestions like "use shorter paths" or "convert it to a short name"....
    thx in advance and Best regards,
    dp.

    No need to call, your MSDN subscription has few free support incidents.
    Chat with the rep to submit an incident.
    Or find their phone number
    here.
    Good luck,
    -- pa

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ?

    Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ? Please help me as its urgent.THanks for your help in advance.

    Hi Jay,
    SSIS can only recognize the absolute path of a XML Configuration file, the relative path is not supported. Furthermore, if the XML Configuration file is already generated, we can use the Environment variable package configuration type instead so that
    SSIS runtime automatically looks for the configuration file from the path defined in the environment variable. This is convenient when we need to deploy a package to different environment. We only need to define the environment variable for package configurations
    once on each server, and then the variable can be used by all the packages on this server.
    Regards,
    Mike Yin
    TechNet Community Support

  • How do I use a path as an argument without breaking the -classpath option?

    How do I use a path as an argument without breaking the -classpath option?
    I have the following Korn Shell Script:
    #!/bin/ksh
        CSVFILE=/EAIStorageNumbers/v1/0001/weekly05222006.csv
        OUTPUTFILE=/EAIStorageNumbers/v1/0001/08000000.txt
        PAGEMBR=0800F341
        cd /EAIStorageNumbers/v1/bin/
        java -classpath com.dtn.refinedfuels.EAIStorageNumbers $CSVFILE $OUTPUTFILE $PAGEMBRWhen I run the shell script, I return the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: /EAIStorageNumbers/v1/0001/weekly05222006/csv
    Thus, the -classpath option sees the first argument as a classpath. When I remove the -classpath option, I get a different error, which is another issue:
    Exception in thread "main" java.lang.NoClassDefFoundError: au/com/bytecode/opencsv/CSVReader
    at com.dtn.refinedfuels.EAIStorageNumbers.main(Unknown Source)
    Thoughts or suggestions on how I can get the -classpath option to work with the defined Korn Shell Script variables would be greatly appreciated.

    I think you're misunderstanding the classpath argument. This tells java where to look to find your classes. The argument you're supplying looks like the class that you want java to run. Run something like this: java -classpath $MY_CLASS_DIR my.package.MyClass arg1 arg2 arg3.

  • How do I use my late 2011 iMac ( with thunderbolt) as external monitor for laptop/Xbox or other device with hdmi as output.

    May be this question has been asked thousand times. how do I use my mid 2011 iMac ( with thunderbolt) as external monitor for laptop/Xbox or other device with hdmi as output. if apple hasn't removed that feature and has just moved that functinoality to thunderbolt then how can I use it. currently there is no laptop available with thunderbolt output. no 3rd party converter available. whats the use of having feature on latest functionality if we cant use it. I wish they would have made one port has mini-dvi and other thunderbolt for backward compatibility untill some vendor comes up with converter.

    It Says :
    Mac (21.5-inch, Mid 2011) and iMac (27-inch, Mid 2011) and later computers support Target Display Mode via Thunderbolt to Thunderbolt cable (2 m) when the source is another Thunderbolt-equipped computer.
    Name one computer model/vendor which has thunderbolt as output for display + audio. this is so stupid to move to new technology without availbility of its compatible devices.

  • HT1515 How can I use Airport Express (1st generation) with OS X Mavricks?

    How can I use Airport Express (1st Generation) with OS X Mavericks?

    1st Generation AirPort Express will work fine with Mavericks.
    Are you sure that you have a 1st Gen Express?
    Check the model number on the side of the Express. 1st Gen is A1264.
    If you see A1084 or A1088, these are much older versions of the Express that were sold long before Apple began to use the Generation naming with "n" wireless devices in 2007.
    Mavericks will not support the A1084 or A1088. Use another Mac running Leopard, Snow Leopard, or a PC if you need to administer the older Express.

  • Weblogic 12.1.1 SSL error --No identity key/certificate entry was found under alias server_name in keystore path\ name .jks on server AdminServer

    Hi guys,
    I installed  webloigic 12.1.1 on windows 2003(32-bit);
    I was requested add SSL Configuration to console;
    I'm using keytool; It is not first time I setup SSL on weblogic console, only version is different;
    before I did susssessfully on weblogic 11g(10.3.2-10.3.5) using the same scenario;
    My steps:
    1.generate key;
    keytool -keyalg RSA -genkey -v -alias <server_name> -keysize 2048 -storepass <pwd> -validity 762 -keystore <name>.jks
    2. create cert
    keytool -certreq -alias <server_name> -file file_name.csr -keystore <name>.jks
    after send and return certificate 3 layers;
    imported back;
    --root--
    keytool -importcert -v -noprompt  -alias rootca.kbr.com -file root0.cer -keystore <name>.jks -trustcacerts
    Enter keystore password:
    Certificate was added to keystore
    [Storing <name>.jks]
    keytool -importcert -v -noprompt  -alias rootca1.kbr.com -file root1.cer -keystore <name>.jks -trustcacerts
    Enter keystore password:
    Certificate was added to keystore
    [Storing <name>.jks]
    keytool -importcert -v -noprompt  -alias <server_name> -file root2.cer -keystore <name>.jks -trustcacerts
    Enter keystore password:
    Certificate reply was installed in keystore
    [Storing <name>.jks]
    confufigured weblogic using conosole;
    it looks like this in config.xml file
    <ssl>
          <enabled>true</enabled>
          <listen-port>7002</listen-port>
          <server-private-key-alias><server_name></server-private-key-alias>
          <server-private-key-pass-phrase-encrypted>{AES}TIRM5RT26K8IZDevCNMexlWp3BuhZaFpi8HEgPaOCrU=</server-private-key-pass-phrase-encrypted>
        </ssl>
        <listen-address>34.64.3.9</listen-address>
        <key-stores>CustomIdentityAndCustomTrust</key-stores>
        <custom-identity-key-store-file-name>path<name>.jks</custom-identity-key-store-file-name>
        <custom-identity-key-store-type>JKS</custom-identity-key-store-type>
        <custom-identity-key-store-pass-phrase-encrypted>{AES}hiemEGOTrjIRvEOnn0+ODuNpWehBbrgb8fydImfyXV4=</custom-identity-key-store-pass-phrase-encrypted>
        <custom-trust-key-store-file-name>path<name>.jks</custom-trust-key-store-file-name>
        <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
        <custom-trust-key-store-pass-phrase-encrypted>{AES}xzP2kU98nkVMNLdzMv7VRoRjoBQUTu5jjtlMLm87PHc=</custom-trust-key-store-pass-phrase-encrypted>
      </server>
    When I restart SSL , I see error in log file
    Er<AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1381506732875>
    <BEA-000297> <Inconsistent security configuration, weblogic.management.configuration.ConfigurationException: No identity key/certificate entry was found under alias <SERVER_NAME> in keystore path<name>.jks on server AdminServer>
    Please help
    I thought before if import certification get status Certificate reply was installed in keystore
    it shouldn't be problem for weblogic use thsi certificate;

    Compare your steps with the following
    http://weblogic-wonders.com/weblogic/2011/05/25/ssl-configuration-for-weblogic-server/

  • How do i use air sync to sync with my iTunes on my computer

    How do i use air sync to sync with my iTunes on my computer

    You cannot use ActiveSync for that, but there are SharePoint clients for the iPhone. Windows Mobile 7 natively supports SharePoint with SharePoint Workspace Mobile, part of Microsoft Office Mobile. Android and BlackBerry might also have some apps.
    Use Microsoft SharePoint Workspace Mobile
    http://www.microsoft.com/windowsphone/en-us/howto/wp7/office/use-office-sharepoint-workspace-mobile.aspx
    iPhone SharePoint Apps Shootout
    http://www.codeproject.com/KB/iPhone/iPhoneSharePointApps.aspx 
    Comparing SharePoint iPhone Apps
    http://blog.praecipio.com/2010/11/02/comparing-sharepoint-iphone-apps/
    MCTS: Messaging | MCSE: S+M

  • In my Apple Macbook Air, most of the USB Flash/Thumb Drives are not shown in the Finder Window. Only a few Brands of USB /Flash Thumb Drives are shown or compatible or shown in the Finder. How do I use any Flash/Thumb Drive with my Apple MacAir?

    In my Apple Macbook Air, most of the USB Flash/Thumb Drives are not shown in the Finder Window. Only a few Brands of USB /Flash Thumb Drives are shown or compatible or shown in the Finder. How do I use any Flash/Thumb Drive with my Apple MacAir?

    Yes, junker thumb drives pour like rain in the market.  
    Which makes are working on your Air, and which arent?
    Stick to Sandisk and a couple of other reliable mfg. of memory sticks

  • How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?

    How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?

    iPod touch User Guide (For iOS 4.3 Software)

  • I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???

    I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???

    If your iPhone is locked to a wireless provider, only that wireless provider
    can unlock it. Contact the wireless provider in Hong Kong to see if they
    offer unlocking and if you qualify.
    If your iPhone is locked to an AppleID that you do not know, return it for
    a refund as it is useless. Only the person whose AppleID was used for
    activation can remove the lock. There is no workaround for Activation Lock.
    If neither of the above is what you are facing, provide more detail so someone
    may offer a solution.

  • I HAVE AN OLD 3G IPHONE , HOW DO I USE IT IN ANOTHER COUNTRY WITH A NEW SIM CARD

    I  HAVE AN OLD 3G IPHONE , HOW DO I USE IT IN ANOTHER COUNTRY WITH A NEW SIM CARD ?

    it has to be unlocked by your carrier. give them a call

  • I have an old external drive with a firewall connection-How do I use this on my Mac with it's USB3 ports?

    I have an old external drive with a firewall connection-How do I use this on my Mac with it's USB3 ports?

    Does your Mac have ThunderBolt ports?
    There are ThunderBolt to FireWire adapters.
    As far as I know there are no FireWire to USB 3 adapters.
    Allan

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

Maybe you are looking for

  • Asset purchase

    Dear all While creating asset po it given following error pls help G/L account 200020010 cannot be used (please correct) Message no. ME045 Diagnosis Comparison of the field selection strings from the G/L account 200020010 and the account assignment c

  • How to create SQL server documentation

    Hi, for our databases, we use schemaspy to create simple documentation. Is there a tool, maybe opensource/freeware, to create a documention for SQL server? I'd like to have something like this: - Version - RAM - Settings like maxmemory - OS version -

  • Syncing a specific directory with Mac

    Hi, I don't own an ipad, but I would like to get one to use as an e-reader for the many .pdf documents I need to read.    I have these documents stored in a  directory that is synched between my Mac and my linux computers, and wonder if I can in-turn

  • Tax entered incorrect

    hi, in FB50, if i click calculate tax button without check calculate taxes on net amount in editing options, dr 100 cr 100 with tax code then it is dr 100 cr   95 with tax code cr    5 this is automatically giving by system as input tax account but i

  • Cfchart 2 y-axis

    Hi, I have set up a chart in coldfusion 9 which contains 2 line graphs and 2 bar graphs, and also added xml so the chart has 2 y-axis. I have noticed that one of the chartseries is assigned to one of the axis and the other three are assigned to the o