Re: Fix: Your PC Did Not Start Correctly Message In Windows 10

0 views
Skip to first unread message
Message has been deleted

Elpidio Heart

unread,
Jul 15, 2024, 9:10:00 AM7/15/24
to exerweblau

Unfortunately, this message nearly always means that a recent Windows Update failed and Microsoft then tried to recover from that, but that failed, so it's trying over and over again -- and will never succeed because Windows Update got corrupted in the process.

These problems were reported with KB4532693 back in February of 2020, and more recently, with KB4556799. Unfortunately, this is NOT a new issue with Win10 Windows Updates.

First thing you need to do is see if you can restart in Safe mode -- by doing these steps: -boot-into-safe-mode-windows-10-a.html

If you don't know how to start using Advanced Startup Options, then read this: -boot-advanced-startup-options-windows-10-a.html

Then, follow these steps to reset Windows Update: -reset-windows-update-windows-10-a.html

If these work, when you finally reboot, you should then be able to login to a working Windows desktop.

Unfortunately, none of these solutions seemed to work. Whenever I restart my laptop, it opens on an Administrator login page. The next page that appears is black with some code on it that says 'The system cannot find the drive specified' multiple times, and a white pop up screen that says "Restoration incomplete: The restoration did not complete."

Fix: Your PC did not start correctly message in Windows 10


Download Zip https://lpoms.com/2yLGc2



"Details" has a huge code page and what appears to be a log that repeatedly says "There might be unexpected reboot during [Windows setup]. The process will cause CTO panic because the image might not be normal now..."

Googling doesn't bring up much, but seems to indicate that this is nothing Delphi specific and happens with other apps. It seems to be caused by calling into a 32 bit DLL from a 64 bit app or vice versa.

A load time dependency could not be resolved. The easiest way to debug this is to use Dependency Walker. Use the Profile option to get diagnostics output of the load process. This will identify the point of failure and should guide you to a solution.

I tried all the things specified here and found yet another answer. I had to compile my application with 32-bit DLLs. I had built the libraries both in 32-bit and 64-bit but had my PATH set to 64-bit libraries. After I recompiled my application (with a number of changes in my code as well) I got this dreaded error and struggled for two days. Finally, after trying a number of other things, I changed my PATH to have the 32-bit DLLs before the 64-bit DLLs (they have the same names). And it worked. I am just adding it here for completeness.

It is a missing dll.Possibly, your dll that works with com ports have an unresolved dll dependence. You can use dependency walker and windows debugger. Check all of the mfc library, for example. Also, you can use nrCommlib - it is great components to work with com ports.

It has been mentioned in earlier answers that using dependency walker is the way to go, in my case (my application keeps failing with the error code), dependency walker showed a few dll that are NOT relevant!

Finally figured out that I can run profiling by going to "profile" menu and it will run the application and stop at the exact dll that's cause the problem! I found out a 32bit dll was picked because of path and fixed it.

If you used Visual Studio to develop the app, you must make sure the new (i.e. the computer that the software was not developed on) has the appropriate Microsoft Visual C++ Redistributable Package. By appropriate, you need the right year and bit version (i.e. x86 for 32 bit and x64 for 64 bit) of the Visual C++ Redistributable Package.

Actually this error indicates to an invalid image format. However, why this is happening and what the error code usually means? Actually this could be appear when you are trying to run a program that is made for or intended to work with a 64 bit Windows operating system, but your computer is running on 32 bit Operating system.

This may be a case where debugging the debugger might be useful. Essentially if you follow the instructions here you can run two ide's and one will debug into the other. If you un your application in one, you can sometimes catch errors that you otherwise miss. Its worth a try.

In my case the error occurred when I renamed a DLL after building it (using Visual Studio 2015), so that it fits the name expected by an executable, which depended on the DLL. After the renaming the list of exported symbols displayed by Dependency Walker was empty, and the said error message "The application was unable to start correctly" was displayed.

That can happen if for some reason a x86 resource is loaded from a x64 machine. To avoid that explicitly, add this preprocessor directive to stdafx.h (of course, in my example the problematic resource is Windows Common Controls DLL.

You can have this if you are trying to manifest your application that it has a dependancy on the Microsoft.Windows.Common-Controls assembly. You do this when you want to load Version 6 of the common controls library - so that visual styles are applied to common controls.

The main problem, of course, is that a DLL file is missing, or, even more likely, corrupt. If this is the case, then I have some pretty good ideas (especially if you've downloaded and installed a DLL manually!)...

This solution of copying/pasting missing DLL's into system32, etc., used to work since I can remember in the 1990's, but it doesn't seem to work anymore (2020). So if you run into this problem recently, I suggest:

Just solved this problem for my personal project (thanks to Dries for that). For me it was because the project path was too long. After saving the .sln to a shorter path (C:/MyProjects) and compiling from there it ran without the error.

It is possible that you have multiple versions of the dll(s) on your system. You can search your system to find out. The issue may be solved by simply changing the order of the directories in your path. This was my issue. (Cannot run Qt Creator GUI outside of Qt. "The application was unable to start correctly (0xc000007b)" error)

I ran into this issue when fetching code from my repository and compiling on a new machine. Copying over the entire repository and then compiling resulted in an executable which worked. Turns out a 32bit DLL accidentally wasn't checked in. As the people above state, use "Dependency Walker" to figure out where it goes wrong.

To make it more clear what to look for see the below screenshot, with in the background the exe trying to load the wrong DLL (notice the '64') resulting in "the application was unable to start correctly 0xc00007b" and in the foreground the exe which was simply copied over (which included the correct DLL).

My account and all but one of the external users can access the Apps and all functionality without issue. One external external user gets the "app didn't start correctly" message when she tries to load the App in either list.

Unfortunately I haven't heard from Microsoft what exactly the problem was or what fixed it, so I can't give much advice to anyone else dealing with the same issue, other than suggesting they open a ticket. They did say early on that it looked like the problem was that the App wasn't able to access the list data, which suggested a permissions issue. But the user permissions were set up correctly, and we didn't change anything with the permissions to fix the problem.

Good to know - hopefully patience will be all that is required to fix this! I am skeptical that the outages would explain my issue, however. The external user and myself are in the same geographical location, and I even had her log in using my computer, without success.

At any rate, letting a problem linger on for too many days is not good, opening a ticket if you can't fix it quickly is a good a course of action. Although rare, sometimes server-side intervention is needed.

We are excited to announce the "The Copilot Cookbook Community Challenge is a great way to showcase your creativity and connect with others. Plus, you could win tickets to the Power Platform Community Conference in Las Vegas in September 2024 as an amazing bonus. Two ways to enter:1. Copilot Studio: _Copilot_Cookbook_Challenge2. Power Apps Copilot Cookbook Gallery: _Copilot_Cookbook_Challenge There will be 5 chances to qualify for the final drawing:Early Bird Entries: March 1 - June 2Week 1: June 3 - June 9Week 2: June 10 - June 16Week 3: June 17 - June 23Week 4: June 24 - June 30 At the end of each week, we will draw 5 random names from every user who has posted a qualifying Copilot Studio template, sample or demo in the Copilot Studio Cookbook or a qualifying Power Apps Copilot sample or demo in the Power Apps Copilot Cookbook. Users who are not drawn in a given week will be added to the pool for the next week. Users can qualify more than once, but no more than once per week.Four winners will be drawn at random from the total qualifying entrants. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once. If they are drawn multiple times, another user will be drawn at random.Prizes: One Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value, does not include travel, lodging, or any other expenses)Winners are also eligible to do a 10-minute presentation of their demo or solution in a community solutions showcase at the event.To qualify for the drawing, templates, samples or demos must be related to Copilot Studio or a Copilot feature of Power Apps, Power Automate, or Power Pages, and must demonstrate or solve a complete unique and useful business or technical problem. Power Automate and Power Pagers posts should be added to the Power Apps Cookbook. Final determination of qualifying entries is at the sole discretion of Microsoft.Weekly updates and the Final random winners will be posted in the News & Announcements section in the communities on July 29th, 2024.Did you submit entries early? Early Bird Entries March 1 - June 2: If you posted something in the "early bird" time frame complete this form: _Challenge_EarlyBirds if you would like to be entered in the challenge.

7fc3f7cf58
Reply all
Reply to author
Forward
0 new messages