Help with Automating post MDT
Hello All,
I had some questions. At my job we have a MDT process. we have two sections one before we add the user and one after.
I want to try to automate the one before.
It involves -Checking for windows update -Install think vantage update software, open it to check and uncheck the required updates -uninstalled a program that comes with our image -installing a program from a network drive where we have most of our programs.
How can I automate this so the computer checks and downloads all updates (If possible without language packs). to uninstall a program, install a program and then leaves the think-vantage update windows open so i can select updates?
I don't have access to a server so it would be saved on the network drive and ran locally on each machine.
Thanks
Posted Feb 26, 2016, 9:43 PM UTC
Why in gods name are you installing that ThinkVantage garbage? I would get rid of that shit immediately, there is nothing on there that is required for the machine to operate.
Look into the Powershell Application Deployment Toolkit. It's a sort of Powershell wrapper for a lot of the functions you asked for.
If you already have MDT though, you can eassily add steps to the tasksequence to do updates, uninstall / reinstall applications.
For example with the PSADT I mentioned above if you want to uninstall an MSI application you can use the built in function:
It's that easy. Comes with some pretty robust logging built in too so easy to troubleshoot. It includes a PS1 file and an EXE wrapper so you can run it directly from an MDT tasksequence with no modification at all.
Company policy. I want to cheat and create a image but I can't as we don't have any access to the MDT. So I can't go that route. So yeah it has to be local. I'll definitely check out powershell?
How can someone with no access to MDT can make modification to deployment process is beyond me thought.
And also, if you want to uninstall a program that came with the deployment image why not just build a new image with that thing uninstalled beforehand, that way you have your image clean.
But then again you dont have access to MDT. Are you here to break the law? /s
There's a dedicated team handling MDT. We have spoken to them about creating new and updated images but there's no progress being made at all.
I can make deployment changes because our group is looking for a way to automate the Post MDT process (which involves everything I said up there and more.
While I could see why this is company policy, you have to realize it's a double-edged sword. Lenovo has had there fair share of security issues recently, including two privilege escalation vulnerabilities in System Update that were found 3 months ago.