DIY do-it-yourself to create Win automatic update package

  
First of all, what is the automatic update package, in fact, the name does not matter, the automatic update package is a kind of workmanship
rational order to achieve all the windows patch under the current folder In the past, we usually go online to conduct Windows Update. After the shock wave and the shock wave virus occur, let us know that the newly installed system has many N high-risk vulnerabilities as long as it accesses the network. So let us work together today to build our own automatic update package.

article animations please download the www.wrsky.com, we first of all when it comes to the batch file, the batch file is a plain text file that contains one or more commands. Its file extension is .bat or .cmd. Type the name of the batch file at the command prompt, or double-click the batch file, and the system will call Cmd.exe to run them one by one in the order in which they appear in the file. Use batch files (also known as batch programs or scripts) to simplify routine or repetitive tasks. Let's talk a few more about the common installation parameters for the Windows update package .exe file when it is installed in DOS mode.

/passive 'Unattended mode
/norestart 'Do not restart after installation is completed
/u 'unattended mode
/z 'Do not restart after installation
/q 'quIEt mode (no user intervention)


Everyone may ask me how I know these parameters, in fact, many N people know, I am just an article, not to say Nonsense, in fact, Windows gave the installation parameters early. We just didn't notice that we went to DOS mode and entered the patch file name .exe /? to see the parameters used in the patch installation time, such as

Windows2000-KB823980-x86-ENU.exe /?

This is a shock wave patch the vulnerability window will pop up after the implementation of the installation parameters given in this patch are those

-u unattended mode
-f Force other programs to close at shutdown
-n Not for outstanding installation backup files
-o Overwrite OEM files, no prompt
-z Do not restart after installation
-q quIEt mode (no user intervention)
-l lists the installed patches


well we create a new Notepad file input

Windows2000-KB823980-x86-CHS.exe -u -z


Save the Notepad file as a .bat or .cmd suffix to execute the program automatically. [To run in the downloaded patch directory

Run]
Windows A few days a patch If we usually do the patch management, download the patch and write his installation

to the batch processing. This is a good method. Because I am lazy, I use this method.

number of patches in the edit batch when there are several points to note we talk about

1, in chronological order according to patch
2, one per line Ding installation parameters gives the best annotation to facilitate management

commonly used parameters
I have just listed out to you, but you still want to give yourself a look below
I wrote much earlier An automatically updated batch file for everyone to refer to

echo www.wrsky.com[FST] Firefox QQ: 9300571
Windows2000-KB329115-x86-ENU.exe /passive /norestart
Windows2000-KB823182-x86-ENU.exe -u -z
Windows2000-KB823559-x86-ENU.exe -u -z
Windows2000-KB823980-x86-ENU.exe -u -z
Windows2000 -KB824105-x86-CHS.exe -u -z
Windows2000-KB824146-x86-ENU.exe -u -z
Windows2000-KB825119-x86-ENU.exe -u -z
Windows2000-KB826232 -x86-CHS.exe /passive /norestart
WindowsMedia-Q828026-x86-ENU.exe /passive /norestart
Windows2000-KB828035-x86-ENU.exe /passive /norestart
Windows2000-KB828741-x86 -CHS.exe /passive /norestart
Windows2000-KB828749-x86-ENU.exe /passive /norestart
Q831167.exe /q
CHN_Q832483_MDAC_x86.EXE /Q
Q832894.exe /q
Windows-KB833407-x86-ENU.exe /passive /nores Tart
Windows2000-KB835732-x86-ENU.EXE /passive /norestart
Windows2000-KB837001-x86-ENU.EXE /passive /norestart
OE6.0sp1-KB837009-x86-ENU.exe /q< BR>JS56nchs.exe /q


Of course, you can more flexibly add commands to these files after the completion of the automatic restart, do not forget the last,

Copyright © Windows knowledge All Rights Reserved