您是否遇到过每次启动Windows时都会收到以下消息的问题:
Setup is preparing your computer for first use
这发生在我的Windows 7机器上。实际上,我已经创建了Windows 7的映像,然后将该映像恢复到另一台机器上。当我启动机器时,我每次都收到这个消息,真的很烦人。
如果您尝试将Windows 7的映像还原到不同的硬件,您可能只会看到此错误。在本文中,我将提到一些可能的解决方案,希望它们能够消除启动时出现的消息。
方法 1 – 注册表项
对我有用的解决方案包括检查注册表中的几个键并确保值正确。导航(Navigate)到注册表中的以下项:
HKEY_LOCAL_MACHINE\SYSTEM\Setup
在这里,您将看到一些与系统设置相关的键。注册表项及其值应如下所示:
"SetupType"=dword:00000000
"SystemSetupInProgress"=dword:00000000
"SetupPhase"=dword:00000000
"CmdLine"="" (This field should be Blank )
"OOBEInProgress"=dword:00000000
这是我计算机上的屏幕截图,显示了注册表项及其值应该是什么。我已经强调了导致此错误的重要原因:
如果您遇到此问题,那么您可能 在CmdLine键中有类似oobe/windowsdeploy它应该是空白的,如上所示。此外,SystemSetupInProgress和OOBEInProgress也应该设置为 0,而不是 1。
希望这将修复设置正在准备您的计算机以在每次启动时首次使用消息。如果没有,您可以尝试其他一些方法,但最好的方法是注册表编辑。
方法 2 – 执行启动修复
您也可以尝试在Windows 7中执行启动修复,这可能能够修复设置问题。您可以查看Microsoft 的这篇文章,(article from Microsoft)了解如何进行启动修复。
方法 3 – 进行干净启动
您可能会收到此消息的唯一其他方式是是否有程序或服务导致它发生。通过执行干净启动,您可以快速确定它确实是程序还是服务。您可以阅读以下来自Microsoft的帖子,其中详细介绍了执行干净启动(perform a clean boot)的步骤。
希望上述解决方案之一可以解决您的问题。如果没有,请在此处发表评论,让我们知道您尝试了什么。享受!
Fix “Setup is Preparing Your Computer for First Use” on Every Reboot
Have you ever run into the problem where every time you start up Windows, you get the following meѕsage:
Setup is preparing your computer for first use
This happened to me on a Windows 7 machine. Actually, I had created an image of Windows 7 and then restored that image to a different machine. When I booted up the machine, I kept getting this message every time and it was really annoying.
You’ll probably only ever see this error if you tried to restore an image of Windows 7 to different hardware. In this article, I’ll mention a few possible solutions that hopefully will get rid of the message on startup.
Method 1 – Registry Keys
The solution that worked for me involved checking the registry for a few keys and making sure the values were correct. Navigate to the following key in your registry:
HKEY_LOCAL_MACHINE\SYSTEM\Setup
Here you will see a few keys related to the system setup. The registry keys and their values should look like this:
"SetupType"=dword:00000000
"SystemSetupInProgress"=dword:00000000
"SetupPhase"=dword:00000000
"CmdLine"="" (This field should be Blank )
"OOBEInProgress"=dword:00000000
Here is a screenshot on my computer of what the registry keys and their values should be. I have highlighted the important ones that cause this error:
If you’re having this problem, then you might have something like oobe/windowsdeploy in the CmdLine key. It should be blank like shown above. Also, SystemSetupInProgress and OOBEInProgress also should be set to 0, not 1.
Hopefully, this will fix the setup is preparing your computer for first use message on every startup. If not, there are a few other thins you can try, but your best shot is the registry edit.
Method 2 – Perform a Startup Repair
You can also try to perform a startup repair in Windows 7, which might be able to fix the setup problem. You can check out this article from Microsoft on how to do a startup repair.
Method 3 – Do a Clean Boot
The only other way you could be getting this message is if there is a program or service that is causing it to occur. By performing a clean boot, you can quickly determine whether it indeed is a program or service. You can read the following post from Microsoft that details the steps to perform a clean boot.
Hopefully, one of the above solutions fixes your problem. If not, post a comment here and let us know what you tried. Enjoy!