On the Microsoft website i have found WUA which is cabinet file that you meant to be able to install windows updates from offline it has coding with how to use but i am unsure on what i try putting the code into bat file but it does not work does any one know how to use?

Using WUA to Scan for Updates Offline (Windows)
link to where it is on the Microsoft website