Home » Categories » Information Technology Services » Windows

How to install a .msu update on Windows 7 from the command line.

ISSUE

How to install a .msu update on Windows 7 from the command line.

ENVIRONMENT

Windows 7

RESOLUTION

To install an .msu update package, run Wusa.exe together with the full path of the file.

For example, if the Windows6.0-KB934307-x86.msu file is in the D:\934307 folder, type the following command at a command prompt to install the update package:

wusa.exe d:\934307\Windows6.0-KB934307-x86.msu

To run Wusa.exe in quiet mode without user interaction, use the /quiet switch. When the tool runs in quiet mode, it runs without user interaction. The computer restarts if it is required.

For example, if the Windows6.0-KB934307-x86.msu file is in the D:\934307 folder, type the following command at a command prompt to install the update package without user interaction: 

wusa.exe d:\934307\Windows6.0-KB934307-x86.msu /quiet

Note: When you use this switch, the Microsoft Software License Terms do not appear.

To prevent Wusa.exe from restarting the computer, use the /norestart switch. The /norestart switch is ignored if the /quiet switch is not present. If you run Wusa.exe together with these two switches, you must manually restart the operating system after the installation is complete if the installation requires that you restart the computer.

For example, if the Windows6.0-KB934307-x86.msu file is in the D:\934307 folder, type the following command at a command prompt to install the update package:

wusa.exe D:\934307\Windows6.0-KB934307-x86.msu /quiet /norestart

METADATA

Author: Christopher Bunner
Create Date: 08:52 October 1, 2014
Modified Date: 08:52 October 1, 2014

4 (20)
Article Rating (20 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.