Deleting Windows 7 updates through the command line

Microsoft Corporation for all its offspring in the form ofoperating systems with an enviable regularity releases packages of updates or patches, which seem to be designed to patch holes in the security system and increase the level of operating system performance. Unfortunately, in Windows 7, after installing some updates, there may be problems (black screen appearance, braking or full system hangup, etc.). For many users who are not familiar with the intricacies of setting up this OS, removing Windows 7 updates becomes a real headache, as some packages are unavailable. That is, standard tools do not work. Next, several options are offered for consideration, allowing you to make and remove old updates of Windows 7 and recently installed updates.

Why are there problems with Windows 7 updates?

First, let's see why with updatesproblems arise and why they need to be removed. Here the problem is that today the motherboard market is experiencing an unprecedentedly powerful competition, and each manufacturer is trying to introduce something new into its devices. But you can not keep track of everything. And updates, released by Microsoft, are quite universal and do not take into account the specifics of a particular mother chip.

remove updates for windows 7

All this leads only to the fact that someupdates simply do not approach the specific computer system, although the OS itself functions more or less normally. When a failure occurs, the removal of Windows 7 updates in most cases affects the work of a PC or laptop in a positive way. But the main thing here is to uninstall them correctly, and also take some important steps to prevent a repetition of the situation in the future.

Uninstalling unnecessary Windows 7 updates: standard method

Let's digress so far from the main topic and see how you can remove updates from the system using the standard method.

Deleting Windows 7 updates is performed fromsection of the installed updates of the "Update Center", which is located in the "Control Panel". In principle, you can do it simply by going into the programs and components section and using the corresponding item (in the previous version, when you click on the preview, you will still be redirected to the programs and components section).

windows 7 delete updates command line

It is enough to choose some establishedpackage and through the PCM simply run the uninstall string. If required, all packages can be sorted by installation date (this is useful when the time of occurrence of a particular fault or error is known exactly).

Windows 7: uninstall updates. Command line.

But not all update packages can be uninstalledthe method described above. Some critical updates can not be removed using standard techniques. What to do in this case? The only possible and reliable means is to use the command line running with administrator rights.

You can start it from the "Run" menuby combining cmd, invoke from the main menu "Start" or on behalf of the administrator open the executable file cmd.exe, located in the System32 directory of the operating system root folder.

removing windows 7 updates via the command line

Since all update packages have the designationKBXXXXXXX, where XXXXXXX is a seven-digit refresh code number, in the command console along with the main command and you will need to register this number. In general, the uninstall string will look like this: wusa.exe / uninstall / kbXXXXXXX. The number of the patch itself needs to be remembered or recorded when viewed in the installed updates section.

All the features of the main command in terms of using additional attributes can be viewed by entering the line wusa / ?, then the help information will appear in the console.

Batch removal of updates using BAT-file

But uninstalling in the past case is appliedexclusively to every single package. If they are large enough to not waste time entering commands every time, you can apply a packet deletion scheme, which, by the way, works fine even for those cases when it is impossible to uninstall an update by the standard method.

removing old windows 7 updates

For this you have to run the standard"Notepad", there are lines wusa / uninstall / quiet / norestart / kb: XXXXXXX, where, again, XXXXXXX - update numbers, and save the created file manually assigning it a BAT extension (batch file Windows) in the current user directory (for example , c: \ Users \ Vasya), otherwise the file can not start. After that, you just have to start it with a double click, then the command line will appear, and you can see the execution of the deletion process in it. After all the processes are completed, you can not restart the computer in any case, although this is necessary for the changes to take effect. Further it will be clear why.

Note the quiet and norestart options. They are necessary so that when uninstalling for each package, no confirmation for deletion is requested.

Actions after uninstalling updates

So, uninstalling Windows 7 updates throughthe command line seems to have been produced, but it's too early to rejoice. The essence of the subsequent problems is that if an automatic update is enabled on the system, whether you want it or not, the system will still (even after reboot after deletion) start searching for packets again. Thus, to ensure that updates are not installed, the function must be disabled.

removing unnecessary updates windows 7

To do this, you should use the same "Centerupdate ", select the settings section, and set the preferred action to" Do not check for updates ". If updates are still needed, in extreme cases you can use a download installation with an installation proposal, which you can always refuse.


As you can see, uninstalling Windows 7 updates is a matternot so troublesome. If you approach the implementation of such actions in terms of rationality, of course, the optimal option will be to create a batch package BAT file with all the numbers of the packages to be uninstalled into it. But here you should take special care not to write something superfluous (meaning critical updates of the system).

Finally, as an addendum, severalDistracted from the topic, the owners of some models of laptops can be advised to use special buttons or menus that allow the system to be brought to the factory with full reset settings. Naturally, all updates will also be deleted. But this will only fit in the most extreme case.

Related news

Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line Deleting Windows 7 updates through the command line