• User profile cannot be loaded with event ID 1509, 1504

    This is a user profile issue.

    Some clients log on with temporary profile with error “User Profile Service failed the logon.  User profile cannot be loaded”. Event id 1509 can be found in the application event log. The detail of the event id 1509 is something like below:


    EventID 1509:
    Windows cannot copy file \\server\stuprofiles$\mandatory\usstudent.V2\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\1240I065\rerB_DjUStFFe16SFEk84lWs2Osh6fwMPJxC1rA8Qwo3EktjoDVd_D0iWDKfepWLE.u7QlPbk.LXlOspXArg7uJna_L8I4Pwi6RfmQLZSAeLvyy0aLgws4xxKwEDnFCvly9zCn9yGMH5Tmf1_yA2fnT[1].M- to location C:\Users\usstudent\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\1240I065\rerB_DjUStFFe16SFEk84lWs2Osh6fwMPJxC1rA8Qwo3EktjoDVd_D0iWDKfepWLE.u7QlPbk.LXlOspXArg7uJna_L8I4Pwi6RfmQLZSAeLvyy0aLgws4xxKwEDnFCvly9zCn9yGMH5Tmf1_yA2fnT[1].M-. This error may be caused by network problems or insufficient security rights.
    DETAIL - The filename or extension is too long.

     

     

     

    This can happen if the destination path of the users profile is on a server with a long server and sharename, e.g. \\servername\thisistheprofileshare As the file is stored locally on "c:\users\username" the filename for copying to the destination will increase when this prefix is changed to "\\servername\thisistheprofileshare\" leading to a pathname longaer than the supported 260 chars.

    We found several resolutions, choose one of them will fix this issue:

     


    1.    You can use the " Empty Temporary Internet Files folder when browser is closed " option in Internet Explorer to delete all cached Internet files when a user quits Internet Explorer. This option does not delete cookie information. Cookie information (which is usually small) is copied when the profile is saved. To use this option, follow these steps:

    In Internet Explorer, click Internet Options on the View (or Tools) menu.
    Click the Advanced tab.
    Under Security, click the "Delete saved pages when browser closed" or "Empty Temporary Internet Files folder when browser is closed" check box to select it.
    Click OK.
     

    2.    Create a script to delete the file under temporary files . Here is the script below

    strFolder = "C:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5"
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFolders = objFSO.GetFolder(strFolder)
    FRecurse objFolders
    DRecurse objFolders
    Sub FRecurse(ByRef objFolders)
        Set objSubFolders = objFolders.SubFolders
        Set objFiles = objFolders.Files
        For each File in objFiles
     If LCase(File.Name) = "index.dat" Then
     Else
             File.Delete
     End If
        Next
        For each Folder in objSubFolders
            FRecurse Folder
        Next
        Set objSubFolders = Nothing
        Set objFiles = Nothing
    End Sub
    Sub DRecurse(ByRef objFolders)
        Set objSubFolders = objFolders.SubFolders
        Set objFiles = objFolders.Files
        For each Folder in objSubFolders
            Folder.Delete
        Next
        Set objSubFolders = Nothing
        Set objFiles = Nothing
    End Sub
    You can also integrate this with task scheduler to run it regularly and ensure you web client cache is flushed regularly.
    3.    Enable GPO "Deleted cached copies of roaming profiles"

     

    3/7/2011,edit:

    Starting January, 2011, the customers reported some of users with roaming profiles having trouble logging onto their XP machines.  When a user tries to log in they get an error message stating:

    "Windows cannot copy file C:\Documents and Settings\username\Cookies\filename.txt to location \\servername\profiles$\username\Cookies\filename.txt.  Possible causes of this error include network problems or insufficient security rights.  If this problem persists, contact your network administrator.

    DETAIL - Access is denied"

    Windows then logs the user in with a temp local profile and the user's settings from the roaming profile does not get loaded.

    Analysis:
    =========
    Looks like this problem caused by Macfee according to the post https://community.mcafee.com/thread/31975
    Solution:
    =========
    First, please check if you have the latest 5.2.1 version of the McAfee software. As this issue is being resolved for a lot of Customers using the new version.
    If you are still facing the issue, please follow the below step.
    Disable the cookie scanning from the registry :
    HK_Local_machine\software\Mcafee\SystemCore\VSCore\On Acess Scanner\Mchield\Configuration . The Dword is “ScanCookies” , the default value is “ 1” , change it to “0”

    Reference:

    http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/c3049278-98de-4490-81b0-069cb9b511ea

    http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/1573a61c-935f-4ca8-bd64-802817c1a233

     

     

     

     

  • Print Management Console on remote machine shows no printers

    We found another printing issue from the forum. See details below:

    You have a Windows Server 2008 R2 as printer server. You use Windows 7 as a client to remote manage the printers. You opened Printer Management Snap-in and added the printer server. But you found the printers are not showing up, drivers, forms and ports are there but no printers.

    You even went ahead and turned the firewall off completely, but no luck.

     

    The possible cause is client system (the system running Printer Management Console) does not have a DNS A record (forward lookup).

    To resolve it, add a DNS A record for the system that running Printer Management Console.

     

    Edit: Kb2506505 was published, please refer to it for more details. http://support.microsoft.com/kb/2506505

  • Printer access problems after KB2347290 installed

    Here is a hot issue between one hotfix and web application.

    If you have a web application running on windows 2003 and windows 2008. and using AMYUNI PDF Converter (or other same kind)to convert documents to PDF. This has no any problem at all. After you installed KB2347290 you will unable to use that printing software. Now users (who access via web browser) hang when the web application tries to access the PDF printer.
    If you remove KB2347290, the web application will work fine again.


    Here is a workaround for now:

    1.       If your application is ASP.NET or WCF service running under IIS and your web.config has <identity impersonate="true"/>, commenting this line will resolve the problem.

    2.       If your application running as a CGI under IIS, set the following CGI impersonation option: cscript adsutil.vbs SET w3svc/CreateProcessAsUser false

     

     KB2347290 MS10-061: Vulnerability in Print Spooler Service could allow remote code execution.

    Reference:

    ===========

    http://social.technet.microsoft.com/Forums/en-US/winserversecurity/thread/bf8281df-0be9-4ca7-a7fa-3cefb02396cb

    http://social.answers.microsoft.com/Forums/en-GB/vistawu/thread/32022291-cf87-45ab-ae41-13882fea482b

    http://social.answers.microsoft.com/Forums/zh-TW/answerswuzhtw/thread/752b4781-b4e3-44af-b2e6-65530bc49353

     

    Edit: We have released a hotfix for it, please apply this hotfix if you encouter the same issue:

     http://support.microsoft.com/kb/2480118/

  • Media Player 12 auto-play behavior when inserting audio CD

    These days, we find a interesting problem from the technet forum.

    You are using Windows Media player 12 to play a video, then insert an audio CD, WMP will stop the video and begin playing the CD. Obviously it's annoying.

    Even tried changing the AutoPlay settings to “Take no action” under Control Panel to prevent audio CD from playing automatically. But still no go.

    If you are suffering this issue, here is an easy way to stop it in several simple steps.
    1.  Go to Control Panel, AutoPlay
    2.  Change the Audio CD to "? Ask me every time" and click save

    3. Open Media Player and insert a CD.
    4.  When the AutoPlay window appears, check the "Always do this for Audio CDs:" checkbox
    5.  Click on the blue link on the bottom: "View more Auto Play options in control panel"


    6.  Change the Audio CD selection back to "Take no action" and click save
    7.  Click the red X to close the AutoPlay window.
    Windows Media Player 12 now will no longer kick into AutoPlay


    Reference:
    ========
    http://social.technet.microsoft.com/Forums/en-US/w7itpromedia/Thread/3EDEBC4E-060A-4474-A5B3-114C74BF5A4D
    http://social.technet.microsoft.com/Forums/en/w7itpromedia/thread/7ec583ee-0308-4362-af43-3cfac909f3e2
    http://social.technet.microsoft.com/Forums/en/w7itpromedia/thread/33d03e71-80fb-4810-9d3b-c261db75c0cf
    http://social.answers.microsoft.com/Forums/en-US/w7pictures/thread/bbc92709-b101-4c65-b87f-d6d331528d5e

     

    Edit: KB2475116 was published, please refer it for more details. http://support.microsoft.com/kb/2475116

    
  • Windows 7 Upgrade Advisor tool failed to run with error message “Windows 7 Upgrade Advisor was unable to reach the Microsoft server for compatibility information. Check your internet connection and try again later.”

    This is an upgrade issue we want to share with you.
    When you run the Windows 7 Upgrade Advisor tool on a system that must use a proxy in order to access the internet you receive the error:

    "Windows 7 Upgrade Advisor was unable to reach the Microsoft server for compatibility information.  Check your internet connection and try again later.”

    In the error log (%temp%\WuaDiagnostics.log) you can see the update advisor tries to access:
    http://aeos.microsoft.com/compatibilityexchange/compatibilityexchange.svc and then receives the error like following:
    [7/23/2010 12:04:41 PM] Exception: The request failed with HTTP status 407: Proxy Authentication Required

    Currently, the Windows 7 Upgrade Advisor does not support proxy authentication.

    We should make some changes on the proxy, creating an anonymous access rule specific to the destinations FQDN's used by the Windows 7 Upgrade Advisor, for example, you may create the following rules:

    Action: Allow
    Protocols: HTTP, HTTPS
    From/Listener: Internal
    To: Domain Name Set
    aeos.microsoft.com
    aestats.microsoft.com
    crl.microsoft.com
    download.microsoft.com
    go.microsoft.com

    Reference:
    http://social.technet.microsoft.com/Forums/en-US/w7itprohardware/thread/d229910f-2360-470d-b0f9-9e67e17ae67e
    http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/f964885e-8ae2-4ea9-b7c3-5411acd12ccd
    http://social.answers.microsoft.com/Forums/en-IN/w7install/thread/a1c57313-0297-4dc4-8b51-80eb865a7150

     

    Update: a KB was published for it: http://support.microsoft.com/kb/2448270