Scripting Question

Scripted Windows Image

01/13/2016 2107 views
Hi there,

I was wondering how do I create a Windows scripted image on K2000 server so it's always up to date with Windows updates and patches. I ask because the older the image gets the more updates there seems to needed to installed after being applied to a laptop.

Thanks a head of time.
0 Comments   [ + ] Show comments


All Answers

There is a way to do this, I've actually been meaning to do a post on it for a while now. In a nutshell you need replace install.wim from the sources folder with an updated wim that you have created.
1) configure VM as you would like, windows updates etc.
2) Sysprep machine, generalize, oobe. shutdown. I sually snapshot before the sysprep so that you can do what getElemementByld said and just update the VM quarterly or whenever you like.
3) boot VM to a PE environment where you have access to imagex, you can just map a drive from command prompt capture the VM disk using imagex being sure to name the wim the same as OEM media, ie Windows 7 Enterprise. name the captured wim Install.wim
4) Extract Windows media to flat files. remove install.wim from the sources folder. replace with your captured install.wim
5) Upload this source media as you usually would to K2000 and created your scripted install with this new media. It will deploy just like OEM and you'll have a patched deployment to start with.

This work on all version of windows and I have personally done it for windows 7 enterprise and windows 10. If you have specific questions let me know. 
Answered 03/30/2016 by: matiasm
Orange Senior Belt

In short - there isn't a way to make sure it's always up to date. That said, there are some good methods for handling updates. 

I like to capture a new up-to-date image every so often. Maybe quarterly or every 6 months. This is easily done if your image is from a VM because you can snapshot > sysprep > capture image > revert to snapshot. Then you can just keep that same system up to date and capture a new image whenever you need. If you don't have a virtual infrastructure you can easily run VMWare workstation from a desktop. 

We have a K1000 appliance so I have smart labels setup to detect new machines. Then I have a patch schedule that runs against that label and performs a full detect & deploy. So as long I leave the machine online I don't have to do anything else. I'm fairly certain you could have managed installs work in similar fashion if need be. 
Answered 01/13/2016 by: getElementById
Third Degree Blue Belt

You can explore a solution based on this tool http://www.wsusoffline.net/
The tool downloads all the patches needed for a specific Windows OS and stores them in a folder.
Then had the ability to install them in a single step.
with a bit of scripting you could integrate this free tool with a K2 deployment...
 Kind regards,
Marco - StockTrader
Answered 01/14/2016 by: StockTrader
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ