"Windows cannot find '*.exe'. Make sure you typed the name correctly"

Page 2 of 2 FirstFirst 12

  1. Posts : 16,155
    7 X64
       #11

    It is available as a download and it receives updates, they are sha2 signed

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-mse.jpg

    Your problem is something else, but I don't know what.

    Do you have any backup images, or is there a shadow copy from before the problem started ?

    you can borrow my boot media from which you can run various tools ( including mse ) and shadowcopyview to check irf there is a useful shadowcopy

    17514x64v30.iso

    if you have a useful shadowcopy, it is possible to create a wim image of it which can then be restored
      My Computers


  2. Posts : 247
    Windows 7 Home Premium 64-bit (OEM)
    Thread Starter
       #12

    SIW2 said:
    It is available as a download and it receives updates, they are sha2 signed

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-mse.jpg

    Your problem is something else, but I don't know what.

    Do you have any backup images, or is there a shadow copy from before the problem started ?

    you can borrow my boot media from which you can run various tools ( including mse ) and shadowcopyview to check irf there is a useful shadowcopy

    17514x64v30.iso

    if you have a useful shadowcopy, it is possible to create a wim image of it which can then be restored
    Microsoft Security Essentials now works again !

    I made some fresh tests in Safe Mode. Maybe this can suggest solutions. See below for details...

    What about that registry key you mentioned ? What is it for ? Would changing the value be of any use ?

    Thank you for your boot medium. Yes, I have daily images of my whole computer through Macrium Reflect. I will try this in last resort, because I'm annoyed I can't get to the bottom of this.

    In case I do try to restore from my images, I have a question. I have separate, daily images of my C (system) and D (data) disk. The way I would like to do it is restore an image from C previous to the incident (and to another, unrelated one), but leave D untouched (or restore D from a more recent date). The logic being, I would not want to lose any recent documents (or settings).

    However, my install is an unusual one. User folders are not where they are supposed to be by default. A lot of things which are usually on C are on D in my setup. I followed the recommendations in this 7 Forums tutorial :

    System Preparation Tool - Use to Customize Windows

    Could this work ?

    F22 Simpilot said:
    I have a funny feeling it's Visual C++
    You may want to try and uninstall the versions you have from add/remove and run this. Latest Visual C++ Redistributable Runtimes All-in-One Feb 2023 Download | TechPowerUp
    I this still valid advice, or shall we consider it obsolete ?

    F22 Simpilot said:
    Check the ComSpec and make sure .CMD is in the path. See attached images...
    I have now been able to log into my admin account in Safe Mode, and do several actions I was unable to do before with admin rights, including using cmd.exe.

    I was able to display the Environment Variables box. I believe they are correct. Could you please confirm this ? (See screenshots below.) Note that it was not only cmd.exe being able to clear the UAC from my non-admin account.

    New actions with my admin account in Safe Mode

    • Restart in Safe Mode.
    • Admin account has lost its avatar and user name, appears only as Other User.
    • Entered correct identifiers this time, logged into admin account.
    • Error message :

    C:\Windows\system32\config\systemprofile\Desktop refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet or your network, and then try again. It is still cannot be located, the information might have been moved to a different location.
    • Word 2003 launches, however it appears as not activated. Some documents can be opened, but they appear as "locked for editing by another user". Can be opened as read-only.
    • Mini Tool Partition Wizard Free now opens (I could not open it from my non-admin account, because it requires admin rights).
    • Same thing for Hard Disk Sentinel Pro, Macrium Reflect, Chrome and Vivaldi (the latter was able to run, but did not show).
    • The Windows tools which could not be escalated to admin rights from my non-admin account now launch normally : cmd.exe, Disk Management, Power Shell...
    • Restart in normal mode.
    • Now, it's my non-admin, default account which has lost its avatar and user name, and appears as Other User.
    • Log into my non-admin account.
    • Behaviour is same as before, except that Vivaldi now launches and displays normally.
    • Programs requiring elevation to admin rights from within my non-admin account still trigger the "Windows cannot find *.exe" error message.


    Any ideas ?
    Attached Thumbnails Attached Thumbnails "Windows cannot find '*.exe'. Make sure you typed the name correctly"-comspec-screenshot-2-18-mai-23.png   "Windows cannot find '*.exe'. Make sure you typed the name correctly"-comspec-screenshot-4-18-mai-23.png  
      My Computer


  3. Posts : 16,155
    7 X64
       #13

    C:\Windows\system32\config\systemprofile\Desktop refers to a location that is unavailable.
    that suggests the userprofile is set like this:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-profile-list.jpg

    should be pointing at Users\yourusername like this:

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-profile-list2.jpg
      My Computers


  4. Posts : 247
    Windows 7 Home Premium 64-bit (OEM)
    Thread Starter
       #14

    SIW2 said:
    that suggests the userprofile is set like this:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-profile-list.jpg

    should be pointing at Users\yourusername like this:

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-profile-list2.jpg
    Screenshots below. I probably made too many, but that's just in case. They look similar to yours. Except for that .bak termination on the left panel. Is that normal ?

    - - - Updated - - -

    All right, I restored from an old Macrium Reflect image, and the problem disappeared. I can now escalate to admin rights normally, and my two user accounts are normally visible again.

    I only restored the C: disk (system partition + Windows reserved partition). The D: disk I left untouched. It has my documents, plus the User folders as per Kari's tutorial for unorthodox install here : Windows 7 Image - Customize in Audit Mode with Sysprep

    Everything I've checked up to now works correctly, except my Cinta Notes database, which has gone back to the date of the image I have restored from. I have multiple backups, so I'm not worried about this.

    For the sake of auditing the problem, it seems SIW2's advice about HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ was spot on.

    There was an extra profile for my admin account in registry, apparently the result of Windows making a backup, with a name ending in .bak. The other, duplicate profile for my admin account did not seem to have the correct information inside. The .bak profile had different information from the present, restored one which works.

    Screenshots of the relevant places below, for those interested. Thank you to all who helped.

    EDIT : I'm sorry, but the mechanics of that forum are the devil incarnate. I cannot post this at the end of the thread as it should be. I don't have any more time to attempt this again. The screenshots I intended to post are the last two. They reflect the situation after restoration, with the PC working correctly.
    Attached Thumbnails Attached Thumbnails "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-1-regedit-19-mai-23.png   "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-2-regedit-19-mai-23.png   "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-4-regedit-19-mai-23.png   "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-5-regedit-19-mai-23.png   "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-6-regedit-19-mai-23.png  

    "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-restored-1-regedit-19-mai-23.png   "Windows cannot find '*.exe'. Make sure you typed the name correctly"-user-profile-restored-2-regedit-19-mai-23.png  
    Last edited by Clairvaux; 20 May 2023 at 12:37. Reason: Can't make the *** forum do what I want
      My Computer


  5. Posts : 247
    Windows 7 Home Premium 64-bit (OEM)
    Thread Starter
       #15

    "The user profile service failed the logon" -- incident continues


    Hi, I'm starting a new thread because :



    Unfortunately, I had to switch that former thread back to "unsolved".


    After restoring my system drive from a reasonably old backup (April 14 th), I enjoyed a few hours of normal operation. Today, however, launching my computer, I found myself in an even worse predicament.

    Entering my Windows user account identifiers, I got the following error message :

    The user profile service failed the logon. The logon user profile cannot be loaded.
    Clicking OK briefly displays a "Logging off" message, then it's back to log in page. The same thing happens with both my accounts, the admin and the non-admin one.

    I managed to start the PC in safe mode with network access, using my admin account. That's the only way I could make this post. Even in safe mode, I cannot log into my non-admin account.

    After logging in with my admin account, I get the same error message that I had before I restored from a backup :

    C:\Windows [...] \Desktop refers to a location that is unavailable.
    At the same time, a tooltip appears on the bottom of the screen :

    User profile Service. You have been logged on with the default profile for the system. Contact your administrator, etc.
    I would really be grateful for any suggestions. If restoring from a backup does not work, what might ?

    I have other, older and newer backups. I make an image everyday.

    For the time being, I only restored C: (system), not D: (data). My Windows user folders are installed on D: per Kari's tutorial and sys-prepping (which Kari insists is a "legal" way to install from a Microsoft point of view).

    Thank you in advance !
    Last edited by Clairvaux; 20 May 2023 at 14:40.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:45.
Find Us