Windows 10 Setup.exe Compat Scanonly

1 view
Skip to first unread message

Karlyn Hemmerling

unread,
Aug 5, 2024, 12:12:55 PM8/5/24
to dihorgabers
ContentsWindows 10 Setup.exe Command-Line OptionsHow to Create an Up-to-Date Windows 10 Install ISO Image?Using Windows 10 Compatibility Check Before Upgrading BuildHow to Automate Windows 10 In-Place Upgrade from the Command Prompt?

You can get the detailed information about all setup.exe command-line options and their features for Windows 10 on the documentation page: -us/windows-hardware/manufacture/desktop/windows-setup-command-line-options


If no compatibility problems have been found that prevent your Windows 10 build from upgrading, you can run the upgrade on a computer using a simple command-line script. Create a BAT file run_win10_upgrade.bat with the following code in the shared network share containing the extracted Windows 10 ISO image:


The /migratedrivers all parameter is used to force migrate all drivers. If the parameter is not set, the installer will itself make a decision on each driver individually.You can use other setup.exe options when upgrading Windows 10.


Starting from Windows 10 1607, you can set the installation parameters in the Setupconfig.ini file. This file must be placed in the folder with setup.exe and contain the text like this matching the command above:


// Create a debug invocation batch to help in case of failures.

// This batch does not perform an update but with the scanonly option allows you to determine what the problem is.

delete __appendfile


// setup must finish with RC=0 at this stage if things are ok. If that is not the case content of C:"\win10_upgrade_temp dir holds useful info.

// Apart from log files, you can run upgradeCheck manually to check with the UI what the problem is.


This tells me the the action script may not be running the setup.exe command properly or ? So, I used another system and ran the .iso manually, because for some reason the .iso is not being mounted. When I tried to manually run the command I received an error of access denied, see below:

3a8082e126
Reply all
Reply to author
Forward
0 new messages