HawkinsK Posted January 28, 2020 Share Posted January 28, 2020 Trying to setup a script to install this new Windows 10 update one 1000+ computers. And I almost have it!! The last command will not work and I can't for the life of me figure out why. Here is the command, it is attached. It Runs the program, Clicks the "Run" button, Program launches and then it supposed to click the "UPDATE NOW"(Pic2 attached) button in the next window. Which of course doesnt get it's own controlID, instead it is the whole window. But I get the coordinates from the Window Info Tool, but nothing. Not sure what I am doing wrong, or if there is a better way to do it. I also noticed you can TAB 4 times and press ENTER, so I tried doing that with the Send command, but no luck. Any help is appreciated. THANKS Link to comment Share on other sites More sharing options...
Subz Posted January 28, 2020 Share Posted January 28, 2020 Why don't you just run the upgrade from the network? Example: setup /auto upgrade /quiet /compat scanonly /compat ignorewarning https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-command-line-options Link to comment Share on other sites More sharing options...
HawkinsK Posted January 28, 2020 Author Share Posted January 28, 2020 19 minutes ago, Subz said: Why don't you just run the upgrade from the network? Example: setup /auto upgrade /quiet /compat scanonly /compat ignorewarning https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-command-line-options That is probably much easier, but with my novice status I am not sure where to begin. We do have a WSUS server, but for whatever reason it doesn't push out to our stations. Link to comment Share on other sites More sharing options...
Subz Posted January 28, 2020 Share Posted January 28, 2020 Assume you have Windows 10 1909 ISO? If you have a Microsoft Volume License Agreement you can download it from the Volume Licensing Center or use this method: https://www.bleepingcomputer.com/news/microsoft/how-to-download-the-windows-10-1909-iso-from-microsoft/ Unpack the ISO to a network share Create a script as above example: \\server\share\Winv1909x64\setup.exe /auto upgrade /quiet Follow the link above to find switches you wish to use, for example in our environment we usually perform a compatibility scan first to check for any issues and then perform the upgrade if the compatibility scan comes back successful. For more info just search for "Windows 10 upgrade command line". https://joshheffner.com/automate-windows-10-in-place-upgrades-from-the-command-line/ If your systems are Windows 10 1903 then you might not have to perform a full upgrade, as 1909 features are installed in 1903 versions in a "dormant" state, see https://techcommunity.microsoft.com/t5/windows-it-pro-blog/windows-10-version-1909-delivery-options/ba-p/1002660 Link to comment Share on other sites More sharing options...
HawkinsK Posted January 28, 2020 Author Share Posted January 28, 2020 2 hours ago, Subz said: Assume you have Windows 10 1909 ISO? If you have a Microsoft Volume License Agreement you can download it from the Volume Licensing Center or use this method: https://www.bleepingcomputer.com/news/microsoft/how-to-download-the-windows-10-1909-iso-from-microsoft/ Unpack the ISO to a network share Create a script as above example: \\server\share\Winv1909x64\setup.exe /auto upgrade /quiet Follow the link above to find switches you wish to use, for example in our environment we usually perform a compatibility scan first to check for any issues and then perform the upgrade if the compatibility scan comes back successful. For more info just search for "Windows 10 upgrade command line". https://joshheffner.com/automate-windows-10-in-place-upgrades-from-the-command-line/ If your systems are Windows 10 1903 then you might not have to perform a full upgrade, as 1909 features are installed in 1903 versions in a "dormant" state, see https://techcommunity.microsoft.com/t5/windows-it-pro-blog/windows-10-version-1909-delivery-options/ba-p/1002660 Thanks so much for your time....I think this is going to work. Now just need to deploy it! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now