Close Menu
    Facebook X (Twitter) Instagram
    Tuesday, May 20
    X (Twitter) LinkedIn
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»CM2012»SCCM CMtrace tool corrupt error message The file either does not exist or could not be accessed.Do you want to continue anyway

    SCCM CMtrace tool corrupt error message The file either does not exist or could not be accessed.Do you want to continue anyway

    Eswar KonetiBy Eswar KonetiNovember 10, 11:07 am2 Mins Read CM2012 3,193 Views
    Share
    Facebook Twitter LinkedIn Reddit

     

    Few days ago,I had an issue while reading log files using Configmgr CMTrace tool.I tried opening the .log file to read the content but it failed to display the content and instead,it keep prompting me error message ‘The file either does not exist or could not be accessed.Do you want to continue anyway’.

    for other users who logged into the same computer,it works good. So I suspect,this could be user profile issue ? but I cannot recreate profile for this issue. It may requires some troubleshooting on this part.

    Below is what I get message after opening the log file.

    image

    If I click Yes,it displays nothing.

    image

    I tried deleting the cmtrace.exe from the existing location and copied CMTrace to different location but still, I get same error.I also tried opening the .log file with notepad and later change it back to cmtrace but still same issue.

    To read the logs,I always need to open CMtrace first and then go to file,open to select .log file,but cannot do this always as time consuming.

    what made the cmtrace corrupt and how to fix this issue ?

    The default application (cmtrace) settings are stored in the registry in HKCU. so in this case,the settings are stored in HKEY_CURRENT_USER\Software\Classes\Log.File\shell\open\command

    Registry settings to open log file using cmtrace as below:

    image

    Value data setting: "C:\windows\System32\CMTrace.exe" ""

    I looked this setting on working computer and it differs from above .The working machine has below setting:

    image

    Value data setting”": "C:\windows\cmtrace.exe" "%1"

    If you compare both(working and not working ) ,%1 is missing on the problem computer for the current user.

    To fix the problem, just need to add "%1" next to the cmtrace location on the problem computer ("C:\windows\System32\CMTrace.exe""%1").

    I could not able to trace ,what causes the setting made wrong in the value data setting but nice to know how to fix it.

    In the next post,I will show you,how to set cmtrace as the default log viewer instead of user look for cmtrace to open the logs.

    cmtrace corrupt cmtrace not open log file cmtrace.exe configmgr SCCM The file either does not exist or could not be accessed
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    3 Comments

    1. Terry on October 16, 2020 4:42 AM

      I ran the cmtrace as admin and it worked for me

      Reply
    2. Anthony on July 29, 2015 8:55 PM

      Very informative. Not faced this so far. But now this would help me if I come across this....

      Reply
    3. Nawaz kazi on March 10, 2015 12:09 PM

      Thanks for letting us know

      Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2024 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.