Skip to content

Command Line Switches

Robert C. Maehl edited this page Oct 10, 2024 · 17 revisions

Below are the available command line switches and their details:

Switch Parameters Description Added Modified
/d
/drive
* driveletter Overrides which Disk Drive to run disk specific checks on. Default is C: 2.4.3.2 -
/e
/export
/format
* filetype
* filename (optional)
Exports requirement check results to a file of a certain format. As of 2.6.1.1, If no filename is specified, or if the filename is a directory, the Computer Hostname will be used. Behavior varies by FileType:

* CSV: Comma Separated Values, will append without headers to an existing file if one exists.
* TSV: Tab Separated Values, will append without headers to an existing file if one exists.
* TXT: Plain Text File, will always overwrite existing files with the same name
2.4.0 2.6.1.1
/ex
/extras
- Requires /export. Exports additional data to the file specified based on Comma Separated Value Names:

* BUILD: OS Build Number (e.g. 19045)
* KEYBOARD: Keyboard Language
* LANGUAGE: OS Language
* MUI: MUI Language
* OS: Operating System (e.g. Win_10)
* USER: Username executing WhyNotWin11

Extra Data is appended at the end of the File (TXT) or Line (CSV & TSV)
2.6.1.1 -
/f
/force
- Ignores any OS Environment Incompatibilities, useful for WinPE and other Environments 2.4.1 -
/fu
/fuonly
- Checks TargetVersionUpgradeExperienceIndicators Registry Entries for Feature Update Compatibility instead of Windows 11 Compatibility 2.6.1 -
/h
/help
/?
- Displays a help dialog, then exits. Can NOT be used with any other switch 2.4.0 -
/s
/silent
- Does not display the GUI but still runs checks and returns an Exit Code. Exit Code can be obtained using:
(Start-Process WhyNotWin11.exe -PassThru -Wait).ExitCode
2.4.0 -
/sc
/skip
* checkname Skips specific checks based on Comma Separated Check Names:

* Arch: Skips Architecture Check
* Boot: Skips Boot Method Check
* Config: Skips Configuration Related Checks (Boot+Disk+Secureboot)
* CPU: Skips All CPU Checks (CPUCompat+CPUCores+CPUFreq)
* CPUCompat: Skips CPU Compatibility Check
* CPUCores: Skips CPU Core Count Check
* CPUFreq: Skips CPU Frequency Check
* DirectX: Skips DirectX and WDDM2 Check
* Disk: Skips Disk Partition Type Check
* Hardware: Skips Hardware Checks (Arch+CPU+DirectX+RAM)
* RAM: Skips RAM Installed Check
* SecureBoot: Skips Secure Boot Check
* Storage: Skips Storage Check
* TPM: Skips TPM Check

Skipped Checks will Return True in File Outputs
2.6.1 -
/u
/update
* build (optional) Downloads the latest of a specified build:
* Release: Default if no buildtype is specified
* Dev: Latest version automatically compiled based on github commits.
2.4.2 -
Clone this wiki locally