{
	"id": "c7a89c4b-009e-4010-8b00-a9d2d898fc33",
	"created_at": "2026-04-06T01:32:24.043596Z",
	"updated_at": "2026-04-10T13:12:34.247055Z",
	"deleted_at": null,
	"sha1_hash": "6cf5842f80e0021dee13452f68d448d6472271d7",
	"title": "msiexec",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 69765,
	"plain_text": "msiexec\r\nBy robinharwood\r\nArchived: 2026-04-06 00:22:03 UTC\r\nProvides the means to install, modify, and perform operations on Windows Installer from the command line.\r\nSet the install type for launching an installation package.\r\nmsiexec.exe [/i][/a][/j{u|m|/g|/t}][/x] \u003cpath_to_package\u003e\r\nParameter Description\r\n/i Specifies normal installation.\r\n/a Specifies administrative installation.\r\n/ju Advertise the product to the current user.\r\n/jm Advertise the product to all users.\r\n/j/g Specifies the language identifier used by the advertised package.\r\n/j/t Applies transform to the advertised package.\r\n/x Uninstalls the package.\r\n\u003cpath_to_package\u003e Specifies the location and name of the installation package file.\r\nTo install a package named example.msi from the C: drive, using a normal installation process, type:\r\nmsiexec.exe /i \"C:\\example.msi\"\r\nYou can configure what a user sees during the installation process, based on your target environment. For\r\nexample, if you're distributing a package to all clients for manual installation, there should be a full UI. However,\r\nif you're deploying a package using Group Policy, which requires no user interaction, there should be no UI\r\ninvolved.\r\nmsiexec.exe /i \u003cpath_to_package\u003e [/quiet][/passive][/q{n|b|r|f}]\r\nParameter Description\r\n\u003cpath_to_package\u003e Specifies the location and name of the installation package file.\r\nhttps://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\r\nPage 1 of 5\n\nParameter Description\r\n/quiet Specifies quiet mode, which means there's no user interaction required.\r\n/passive Specifies unattended mode, which means the installation only shows a progress bar.\r\n/qn Specifies there's no UI during the installation process.\r\n/qn+\r\nSpecifies there's no UI during the installation process, except for a final dialog box at\r\nthe end.\r\n/qb Specifies there's a basic UI during the installation process.\r\n/qb+\r\nSpecifies there's a basic UI during the installation process, including a final dialog\r\nbox at the end.\r\n/qr Specifies a reduced UI experience during the installation process.\r\n/qf Specifies a full UI experience during the installation process.\r\nThe modal box isn't shown if the installation is cancelled by the user. You can use qb+! or qb!+ to hide the\r\nCANCEL button.\r\nTo install package C:\\example.msi, using a normal installation process and no UI, type:\r\nmsiexec.exe /i \"C:\\example.msi\" /qn\r\nIf your installation package overwrites files or attempts to change files that are in use, a reboot might be required\r\nbefore the installation completes.\r\nmsiexec.exe /i \u003cpath_to_package\u003e [/norestart][/promptrestart][/forcerestart]\r\nParameter Description\r\n\u003cpath_to_package\u003e Specifies the location and name of the installation package file.\r\n/norestart Stops the device from restarting after the installation completes.\r\n/promptrestart Prompts the user if a reboot is required.\r\n/forcerestart Restarts the device after the installation completes.\r\nTo install package C:\\example.msi, using a normal installation process with no reboot at the end, type:\r\nmsiexec.exe /i \"C:\\example.msi\" /norestart\r\nhttps://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\r\nPage 2 of 5\n\nIf you need to debug your installation package, you can set the parameters to create a log file with specific\r\ninformation.\r\nmsiexec.exe [/i][/x] \u003cpath_to_package\u003e [/L{i|w|e|a|r|u|c|m|o|p|v|x+|!|*}] \u003cpath_to_log\u003e\r\nParameter Description\r\n/i Specifies normal installation.\r\n/x Uninstalls the package.\r\n\u003cpath_to_package\u003e Specifies the location and name of the installation package file.\r\n/li Turns on logging and includes status messages in the output log file.\r\n/lw Turns on logging and includes non-fatal warnings in the output log file.\r\n/le Turns on logging and includes all error messages in the output log file.\r\n/la\r\nTurns on logging and includes information about when an action started in the output\r\nlog file.\r\n/lr Turns on logging and includes action-specific records in the output log file.\r\n/lu Turns on logging and includes user request information in the output log file.\r\n/lc Turns on logging and includes the initial UI parameters in the output log file.\r\n/lm\r\nTurns on logging and includes out-of-memory or fatal exit information in the output\r\nlog file.\r\n/lo Turns on logging and includes out-of-disk-space messages in the output log file.\r\n/lp Turns on logging and includes terminal properties in the output log file.\r\n/lv Turns on logging and includes verbose output in the output log file.\r\n/lx Turns on logging and includes extra debugging information in the output log file.\r\n/l+ Turns on logging and appends the information to an existing log file.\r\n/l! Turns on logging and flushes each line to the log file.\r\n/l*\r\nTurns on logging and logs all information, except verbose information (/lv) or extra\r\ndebugging information (/lx).\r\n\u003cpath_to_logfile\u003e Specifies the location and name for the output log file.\r\nTo install package C:\\example.msi, using a normal installation process with all logging information provided,\r\nincluding verbose output, and storing the output log file at C:\\package.log, type:\r\nhttps://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\r\nPage 3 of 5\n\nmsiexec.exe /i \"C:\\example.msi\" /L*V \"C:\\package.log\"\r\nYou can apply or remove updates using an installation package.\r\nmsiexec.exe [/p][/update][/uninstall[/package\u003cproduct_code_of_package\u003e]] \u003cpath_to_package\u003e\r\nParameter Description\r\n/p\r\nInstalls a patch. If you're installing silently, you must also set the REINSTALLMODE property\r\nto ecmus and REINSTALL to ALL. Otherwise, the patch only updates the MSI cached on the\r\ntarget device.\r\n/update\r\nInstall patches option. If you're applying multiple updates, you must separate them using a\r\nsemi-colon (;).\r\n/package Installs or configures a product.\r\nmsiexec.exe /p \"C:\\MyPatch.msp\"\r\nmsiexec.exe /p \"C:\\MyPatch.msp\" /qb REINSTALLMODE=\"ecmus\" REINSTALL=\"ALL\"\r\nmsiexec.exe /update \"C:\\MyPatch.msp\"\r\nmsiexec.exe /uninstall {1BCBF52C-CD1B-454D-AEF7-852F73967318} /package {AAD3D77A-7476-469F-ADF4-04424124E91D}\r\nWhere the first GUID is the patch GUID, and the second one is the MSI product code to which the patch was\r\napplied.\r\nYou can use this command to repair an installed package.\r\nmsiexec.exe [/f{p|o|e|d|c|a|u|m|s|v}] \u003cproduct_code\u003e\r\nParameter Description\r\n/fp Repairs the package if a file is missing.\r\n/fo Repairs the package if a file is missing, or if an older version is installed.\r\n/fe Repairs the package if file is missing, or if an equal or older version is installed.\r\n/fd Repairs the package if file is missing, or if a different version is installed.\r\n/fc Repairs the package if file is missing, or if checksum does not match the calculated value.\r\n/fa Forces all files to be reinstalled.\r\nhttps://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\r\nPage 4 of 5\n\nParameter Description\r\n/fu Repairs all the required user-specific registry entries.\r\n/fm Repairs all the required computer-specific registry entries.\r\n/fs Repairs all existing shortcuts.\r\n/fv Runs from source and re-caches the local package.\r\nTo force all files to be reinstalled based on the MSI product code to be repaired, {AAD3D77A-7476-469F-ADF4-\r\n04424124E91D}, type:\r\nmsiexec.exe /fa {AAD3D77A-7476-469F-ADF4-04424124E91D}\r\nYou can set public properties through this command. For information about the available properties and how to set\r\nthem, see Public Properties.\r\nCommand-Line Syntax Key\r\nMsiexec.exe Command-Line Options\r\nStandard Installer Command-Line Options\r\nSource: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\r\nhttps://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\r\nPage 5 of 5",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec"
	],
	"report_names": [
		"msiexec"
	],
	"threat_actors": [],
	"ts_created_at": 1775439144,
	"ts_updated_at": 1775826754,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/6cf5842f80e0021dee13452f68d448d6472271d7.pdf",
		"text": "https://archive.orkl.eu/6cf5842f80e0021dee13452f68d448d6472271d7.txt",
		"img": "https://archive.orkl.eu/6cf5842f80e0021dee13452f68d448d6472271d7.jpg"
	}
}