Windows10upgrade9252.exe Switches

1 view
Skip to first unread message

Rosella Bowlan

unread,
Jul 31, 2024, 7:41:08 AM7/31/24
to arpredroasa

Microsoft is adopting a consistent set of command-line switches that you can use to deploy packages that contain software updates, such as security updates, critical updates, and hotfixes. This article describes these new command-line switches and their behaviors.

windows10upgrade9252.exe switches


Download 🆗 https://sumpcapfveryo.blogspot.com/?t=2zV6jt



Packages that support these new command-line switches also support earlier command-line switches for backwards compatibility. However, usage of the earlier switches should be discontinued as this support may be removed in future software updates.

/help; /h; /? - Displays a dialog box that shows the correct usage of the Setup command, including a list of all its command-line switches and their behaviors. You can display this help information in the command-line interface (CLI) or the graphical user interface (GUI). If you use any command-line switch incorrectly, this help switch is invoked and the correct usage is displayed. The dialog box also provides references to more online information.

/quiet - Runs the Setup program or the removal program in "quiet" mode. The program doesn't prompt the user with any messages. The program enters all messages in a log file. By default, the program restarts the computer with no prompt or warning if the process requires a restart for the changes to take effect. To change the default restart behavior, use a different restart mode.

/passive - Runs the Setup program or the removal program in "passive" mode. The program doesn't prompt the user with any error messages. The user sees a progress bar that indicates that the installation or the removal is occurring. The user can't cancel the installation or the removal. By default, the program invokes the /warnrestart switch. If the program is installing multiple updates, the progress bar indicates the progress of the installation or the removal for each update.

/forcerestart - Restarts the computer after the installation or the removal, even if the process doesn't require a restart for the changes to take effect. Restarting forces programs that are running to close.

/warnrestart[:x ] - Invokes a dialog box that warns the user that a restart will occur in x seconds (in 30 seconds if no value is specified). For example, to warn that a restart will occur in 60 seconds, type /warnrestart:60. The dialog box contains a Cancel button and a Restart Now button. If the user clicks Cancel, the computer isn't restarted.

We've run both through a script through the RMM and directly on the workstations in PS ISE and CMD prompt with no luck. I'm assuming I maybe the switches are wrong but I can't find anything to indicate so. I've also disable the UAC.

As more and more people worldwide begin working from home, I'm seeing a renewed interest in upgrades to Windows 10. That older PC that's been gathering dust in the back of the closet will probably run Windows 10 just fine, and a steady stream of reports from my readers confirm that Microsoft is continuing to allow free upgrades to Windows 10 from Windows 7 and Windows 8/8.1. (For details, see "Here's how you can still get a free Windows 10 upgrade.")

But a small percentage of readers have reported problems with the upgrade, usually because of compatibility problems with existing software or hardware. In this post, I provide details about tools and techniques you can use to identify and fix the issue that's blocking an upgrade. These steps can also help you diagnose problems installing feature updates on PCs that are already running Windows 10.

Note that some of these steps require intermediate to advanced technical skills. If you're uncertain about some of the details or unsure about how to interpret results, ask a friend or colleague with IT experience to assist. (They can do so using remote support tools, as I explain in "Remote support essentials: 4 steps you can take now to keep friends and family connected.")

This step is especially important for older PCs that were designed and built before the release of Windows 10. On legacy PCs, the BIOS takes care of starting up a PC and managing connections to essential system devices like keyboards and disk controllers. Back in 2015 and 2016, many PC manufacturers released updates to their BIOS code, specifically designed to address upgrade issues, and sometimes just upgrading the BIOS is enough to solve a failed upgrade.

To find details about your system, press Windows key + R to open the Run box, type msinfo32, and then press Enter. That opens the System Information app. On the System Summary tab, look for the item labeled BIOS Version/Date, as shown here.

If the BIOS date is earlier than 2016, it's worth checking the computer manufacturer's website to see if an update is available. Even some older systems that were past their support deadline received fresh BIOS code around the time of Windows 10's release in mid-2015.

The most common upgrade errors can be traced to a handful of basic causes: software incompatibilities, storage-related issues, and errors in the Setup wizard. Even if you don't know the exact reason for an upgrade problem, you might be able to resolve it with some simple troubleshooting measures.

First, temporarily uninstall any unneeded software. Pay special attention to low-level system tools such as antivirus software, disk management tools, and so on. In the case of antivirus software, you might need to download a tool from the developer to completely remove the program.

Finally, skip the upgrade wizard, which can sometimes fail because it's unable to ask for your permission to get past an error. Instead, run Windows Setup directly from downloaded installation files. To do this, use the Windows 10 Media Creation Tool to download the necessary files to a USB drive; you can also use the option to save the installer as an ISO file, which you can then mount as a virtual drive, with its own drive letter. (For instructions on how to download these files and instructions on mounting ISO files, see "Here's how you can still get a free Windows 10 upgrade.")

Before you spend a lot of time trying to upgrade an old PC or install a new feature update, check out the list of known issues at Microsoft's Windows 10 release information dashboard. Expand each entry on the left to see the list of known and resolved issues for supported releases of Windows 10.

Known issues are most likely to appear in the first few months after the release of a new feature update. Incompatibilities with software and hardware can lead Microsoft to impost temporary compatibility blocks for systems with those particular configurations.

Although recent feature updates on modern hardware typically install very quickly, some upgrades can take a long time. It's frustrating to get to the end of that process, after an hour or two, to discover that the system has rolled back the update and restored your previous Windows version, without any indication of what the problem is.

If you'd rather skip that process, you can run Windows Setup using a pair of switches that instruct it to perform a compatibility check and return the results. To do so, you need to have access to the full Windows installation files, as explained in the previous section.

Next, open a Command Prompt window (the easiest way is to press Windows key + R to open the Run dialog box), and then type cmd.exe and press Ctrl+Shift+Enter to run it as an administrator. At the command prompt, type the following commands, substituting the drive letter where your installer files are located in place of d:. Press Enter after each one.

Follow the setup screens just as if you were performing an upgrade. When you get to the final screen, click Install. The program should end at that point rather than beginning the upgrade. When it does, it writes some information to a file called BlueBox.log, which you'll find in the C:\Windows\Logs\MoSetup folder.

Double-click that file to open it in Notepad and then scroll to the bottom and look for the final error code. If you see 0xC1900210, you're good to go. That means there are no blocking compatibility issues.

There are other, less common error codes you might encounter. For information on what these codes mean, see this official Microsoft support document: Resolve Windows 10 upgrade errors : Technical information for IT Pros.

If you've attempted a Windows 10 upgrade and it failed, you might be tempted to try again. That is the canonical definition of insanity: doing the same thing again and expecting different results.

As a rational alternative, I recommend using Microsoft's official diagnostic utility, SetupDiag, to see if you can divine the reasons for the failure. This tool uses a set of rules (more than 60 of them in the current release as of early 2020) that match known issues affecting Windows 10 upgrades; it runs on Windows 7, Windows 8.x, and Windows 10, although the destination OS must be Windows 10, and you might need to install the .NET Framework 4.6 for it to run properly. SetupDiag inspects the voluminous log files that Windows creates each time it attempts an upgrade, and then reports the most likely cause of the failure for you.

When a Windows 10 upgrade or feature update fails, go to this page and download SetupDiag.exe. Keep that page open, so that you can refer to its instructions as needed. It also contains links to details for decoding error codes.

Copy SetupDiag.exe to its own folder on the PC where Setup failed and then double-click the executable file. The current edition of the program is smart enough to look in locations where log files are commonly saved, so you don't need to specify any command-line switches for the tool.

The output for SetupDiag is a plain text file that is saved in the same folder as the program file. You can open the results file in any text editor, including Notepad, to examine its output and figure out what to do next.

93ddb68554
Reply all
Reply to author
Forward
0 new messages