Windows Upgrade Assistant - W11

Support forums for the Habitat Automate plugin
lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Windows Upgrade Assistant - W11

Post by lblokland »

Hi,

now the new upgrade assistant is here I was wondering how we can use this to upgrade to W11..
As far as I can see there is nothing to select.

Would be nice to set a client and/or location to a specific windows version so that when we schedule the OS upgrade script to run it patches the agents according to that setting.

Please assist to upgrade to W11

Leon

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Windows Upgrade Assistant - W11

Post by Cubert »

There will be a Windows 11 Feature update tool soon. The Windows10 to Windows11 upgrades have had some issues with silent launches and how it handles the EULA acceptance required to approve upgrade.


They said there was a bypass switch but when used it does not seem to work and system sits waiting for EULA approval.

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Windows Upgrade Assistant - W11

Post by lblokland »

Allright, looking forward to it!

What about my idea's, are they appreciated or should I put those requests in separate boards/posts?

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Windows Upgrade Assistant - W11

Post by Cubert »

Absolutely, Lay them on me...

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Windows Upgrade Assistant - W11

Post by lblokland »

Thanks.

Is there an ETA on the W11 upgrade tool?
To be honest we mainly use Habitat for OS upgrades, and now with half of it not working it's pretty expensive.

Cheers,
Leon

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Windows Upgrade Assistant - W11

Post by lblokland »

Hi Cubert,

any news on this end?
My customers would like to upgrade, and I would like not to do that manually :D

Cheers,
Leon

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Windows Upgrade Assistant - W11

Post by Cubert »

Our problem here is that there does not seem to be any path via automation allowed by Microsoft for Windows 10 to 11.


Ways-to-install-windows-11


There is a known issue with the Accept EULA portion of the available arguments. So it's not possible to run installer fully silent.



So since you must have user intervention, I have added a new menu item to the windows 10 upgrade tool to push windows 11 to logged on consoles only. This function does not do any pre testing of the agent to see if it is compatible with Windows 11. So you will need to do your do diligence.

This allows you to select multiple agents at once and send a script to execute (now) the Windows 11 upgrader via windows upgrade assistant. The script verifies its running on Windows 10 only and that a user is logged into a console of the agent. It then redirects the execution of a POSH script from the users console which will launch the installer and have then accept the EULA. Once that is properly accepted the install will continue silently to completion.

This is the best we can do until Microsoft releases a installer that can be automated.




Habitat build 1.0.1.30
https://delivery.shopifyapps.com/-/6ad6 ... d8b2584b52

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Windows Upgrade Assistant - W11

Post by Cubert »

Screenshot 2022-10-02 123617.png
Screenshot 2022-10-02 123617.png (47.22 KiB) Viewed 2331 times

Upgrade to Windows 11
Available in Habitat build 1.0.1.30

This is a run now function. Highlight one or more agents from agent list and select this menu item from the main menu.

It will verify agent is windows 10 and that a user is logged in to a console. It will then execute the installer on that console so that user will see the EULA to accept. Once user accepts EULA the install will continue silently.

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Windows Upgrade Assistant - W11

Post by lblokland »

Hi Cubert,

tested this one with succes:

source and credtis: https://community.syncromsp.com/t/windo ... pt/2846/16 :

Code: Select all

$workingdir = "c:\temp"
$url = "https://go.microsoft.com/fwlink/?linkid=2171764"
$file = "$($workingdir)\Win11Upgrade.exe"
If(!(test-path $workingdir))
{
New-Item -ItemType Directory -Force -Path $workingdir
}

Invoke-WebRequest -Uri $url -OutFile $file

Start-Process -FilePath $file -ArgumentList "/Install /MinimizeToTaskBar /QuietInstall /SkipEULA /copylogs $workingdir"

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Windows Upgrade Assistant - W11

Post by Cubert »

Oh Wow, I'll get our stuff updated and give it a whirl.

Post Reply

Return to “Habitat”