system_updates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
system_updates [2020/03/20 17:05]
vik Initial commit
system_updates [2020/10/28 22:51] (current)
vik Vertical spacing consistency
Line 1: Line 1:
-====== How To Install Updates ======+======How To Install Updates======
  
 This implies the use of build: ''AME_1903_(2020-02-06).iso'' and newer. This implies the use of build: ''AME_1903_(2020-02-06).iso'' and newer.
Line 5: Line 5:
 There are some **BASH** scripts on the root of the AME installation drive that should be able to partially restore Windows Update functionality. There are some **BASH** scripts on the root of the AME installation drive that should be able to partially restore Windows Update functionality.
 Keep in mind that this guide was written with the intention that updates will be installed **offline**. Keep in mind that this guide was written with the intention that updates will be installed **offline**.
 +
  
 \\ \\
-==== 1. Back up your data ====+===== 1. Back up your data =====
  
-Prepare a USB stick with an [[http://releases.ubuntu.com/18.04.4/ubuntu-18.04.4-desktop-amd64.iso|Ubuntu 18.04 Desktop ISO]] and Download the **BASH** and **BATCH** scripts from:+Prepare a USB stick with an [[http://releases.ubuntu.com/18.04.4/ubuntu-18.04.4-desktop-amd64.iso|Ubuntu 18.04 Desktop ISO]] and Download the **BASH** and **BATCH** scripts from herehttps://git.ameliorated.info/malte/scripts/archive/1903.2020.03.27.zip
  
- https://usb308.lw905.usbx.me/nextcloud/s/8CpZMzPYQiSyoXY  
- password: ameliorated.info 
  
 \\ \\
-==== 2. Download update files ====+===== 2. Download update files =====
  
 For this example, we'll use: https://support.microsoft.com/en-us/help/4498140. Please bear in mind that you can replace the updates in this example with whichever updates you want to install. For this example, we'll use: https://support.microsoft.com/en-us/help/4498140. Please bear in mind that you can replace the updates in this example with whichever updates you want to install.
Line 32: Line 31:
  Update Catalog Link:  Update Catalog Link:
  http://www.catalog.update.microsoft.com/Search.aspx?q=KB4530684  http://www.catalog.update.microsoft.com/Search.aspx?q=KB4530684
 +
   
- \\ +\\ 
-==== 3. Extract updates ====+===== 3. Extract updates =====
  
-Open command prompt as admin and extract the ''.cab'' files from the ''.msu files'' you've downloaded. It should be obvious as to which ''.cab'' files are the correct ones from their file size (you want the big ones). Example:+Open command prompt as admin and extract the ''.cab'' files from the ''.msu'' files you've downloaded. It should be obvious as to which ''.cab'' files are the correct ones from their file size (you want the big ones). Example:
   
  C:\> expand -F:* <.msu file> <destination>  C:\> expand -F:* <.msu file> <destination>
 +
  
 \\ \\
-==== 4. Disable Internet access ====+===== 4. Disable internet access =====
  
 Remove the ethernet cable, or otherwise, disable internet access to your machine. Reboot to the Ubuntu USB stick. Remove the ethernet cable, or otherwise, disable internet access to your machine. Reboot to the Ubuntu USB stick.
- + 
 \\ \\
-==== 5. L337 hax in Linux ====+===== 5. (Temporarily) reverse amelioration in Linux =====
  
 Once in Ubuntu, navigate to the ''restore.sh'' script on root of your Windows install drive and run it from terminal. This will restore the //removed files// in ''C:\AME_Backup'' to their original locations. Once in Ubuntu, navigate to the ''restore.sh'' script on root of your Windows install drive and run it from terminal. This will restore the //removed files// in ''C:\AME_Backup'' to their original locations.
 +
  
 \\ \\
-==== 6. Apply updates in Windows ====+===== 6. Apply updates in Windows =====
  
 Reboot into Windows and install the updates **offline** from an elevated command prompt. Reboot into Windows and install the updates **offline** from an elevated command prompt.
Line 58: Line 61:
   
  dism /online /add-package /packagepath=<path to .cab>  dism /online /add-package /packagepath=<path to .cab>
 +
  
 \\ \\
-==== 7. Re-Ameliorate in Windows ====+===== 7. Re-ameliorate in Windows =====
  
 Once you are back into Windows, run the ''amelioration_1903_[...].bat'' **BATCH** script and run the first option. There will likely be a lot of errors as most of the tasks have already been completed. Reboot when the script has completed to verify that everything is still working. Once you are back into Windows, run the ''amelioration_1903_[...].bat'' **BATCH** script and run the first option. There will likely be a lot of errors as most of the tasks have already been completed. Reboot when the script has completed to verify that everything is still working.
 +
  
 \\ \\
-==== 8. Re-Ameliorate in Ubuntu ====+===== 8. Re-ameliorate in Linux =====
  
 Boot the Ubuntu USB stick again, place the ''ameliorate_1903_[...].sh'' **BASH** script on the root of your windows drive and run it from terminal. Boot the Ubuntu USB stick again, place the ''ameliorate_1903_[...].sh'' **BASH** script on the root of your windows drive and run it from terminal.
  
 Note: Before you run the ameliorate **BASH** script, you may want to rename or move the original ''AME_Backup'' elsewhere so it doesn't get included in the search results again, it will likely only increase the directory depth by one folder, but it will increase the run time of the script. Note: Before you run the ameliorate **BASH** script, you may want to rename or move the original ''AME_Backup'' elsewhere so it doesn't get included in the search results again, it will likely only increase the directory depth by one folder, but it will increase the run time of the script.
 +
  
 \\ \\
-==== Process complete ====+===== Process complete =====
  
 Once the script has completed, you can boot back into Windows, the process is complete. Pat yourself on the back and carry on with your business. Once the script has completed, you can boot back into Windows, the process is complete. Pat yourself on the back and carry on with your business.
  • system_updates.1584720334.txt.gz
  • Last modified: 2020/03/20 17:05
  • by vik