Jump to content

Recommended Posts

Posted

Create a powershell script in config Mgr (SCCM), see the picture attached

 

$dir = 'C:\packages'

mkdir $dir

$webClient = New-Object System.Net.WebClient

$url = 'https://go.microsoft.com/fwlink/?LinkID=799445'

$file = "$($dir)\Windows10Upgrade9252.exe"

$webClient.DownloadFile($url,$file)

Start-Process -FilePath $file -ArgumentList '/quietinstall /skipeula /auto upgrade /copylogs $dir'

Capture.PNG

  • Thanks 3
Posted
Create a powershell script in config Mgr (SCCM), see the picture attached

 

$dir = 'C:\packages'

mkdir $dir

$webClient = New-Object System.Net.WebClient

$url = 'https://go.microsoft.com/fwlink/?LinkID=799445'

$file = "$($dir)\Windows10Upgrade9252.exe"

$webClient.DownloadFile($url,$file)

Start-Process -FilePath $file -ArgumentList '/quietinstall /skipeula /auto upgrade /copylogs $dir'

[ATTACH=CONFIG]61763[/ATTACH]

 

That's pretty cool idea using it via SCCM that way.

 

Don't suppose by any chance you have a 1909 copy of the update exe still?

 

Steve

Posted (edited)
That's pretty cool idea using it via SCCM that way.

 

Don't suppose by any chance you have a 1909 copy of the update exe still?

 

Steve

We upgraded PCs from 1903 and 1909 to 20H2. This script will upgrade PCs from any version (at least from 1903 and 1909). The good thing is that no user interaction required. Simply select the PCs and run the script from SCCM. It will upgrade in the background and restart the PC.

One thing to note that the PC should have 30 GB space available for Windows.old folder which will automatically be deleted after 10 days.

Edited by techy32
Posted
We upgraded PCs from 1903 and 1909 to 20H2. This script will upgrade PCs from any version (at least from 1903 and 1909). The good thing is that no user interaction required. Simply select the PCs and run the script from SCCM. It will upgrade in the background and restart the PC.

One thing to note that the PC should have 30 GB space available for Windows.old folder which will automatically be deleted after 10 days.

 

Aye, it was more that we have some old old old laptops that the old IT company bodged majorly that I'd prefer not to jump to 20H2, so if they're on 1909 they're updated, but at least I know which ones I need to manually rebuild later, as then any 20H2 are clean as such.

 

I had an old version of the exe you use that says it'll do them to 2004, so it seems to be exe dependant to what version it upgrades too thus the wonder if you had any old ones lying around :p

 

Steve

Posted
Aye, it was more that we have some old old old laptops that the old IT company bodged majorly that I'd prefer not to jump to 20H2, so if they're on 1909 they're updated, but at least I know which ones I need to manually rebuild later, as then any 20H2 are clean as such.

 

I had an old version of the exe you use that says it'll do them to 2004, so it seems to be exe dependant to what version it upgrades too thus the wonder if you had any old ones lying around [emoji14]

 

Steve

Ohh Sorry got it... No we have just discovered this method so don't have any older exe... Google should find those if there are any...
Posted (edited)
Bear in mind that 21H1 reaches EOL well before 20H2 does, if you plan your deployments over a longer timeframe. The lifetime of H1 versions is pretty short! Edited by 3s-gtech
Posted
Bear in mind that 21H1 reaches OEL well before 20H2 does, if you plan your deployments over a longer timeframe. The lifetime of H1 versions is pretty short!

 

Yeah I was just looking into that. Only 18 months? Crazy. Might as well wait for 21H2

Posted
Yeah I was just looking into that. Only 18 months? Crazy. Might as well wait for 21H2

 

Worth bearing in mind that you have been able to update to the last few H2 updates via an enablement package which is a very quick update over SCCM/WSUS etc. So very quick and easy to move on to the longer support version when its available.

Posted
Ah, you run it from within Windows. \\MDT-Sharename\Scripts\LiteTouch.vbs

 

Hi, seems to be working here too - but should it be running all the inject driver part again?

 

20h2.JPG

Posted (edited)

Thought the issue might be the answer file :/

 

But I can't even create the catalog to create a new one.

20h2-fail2.JPG

 

20h2-fail3.JPG

 

ADK update?

Edited by kennysarmy
Posted
I ran the 21H1 update from MDT (after converting the esd to a wim and importing it straight to MDT) through an upgrade task and it seems to have done the trick easily.
Posted

I've updated to latest ADK.

 

I open my unattend answer file for the Upgrade Task Sequence to check if that's causing the failure in the task sequence on the client.

 

Pointed at the Deployment Share - then pick the image.wim so it can create the catalog and I still get this:

 

20h2-fail4.JPG

Posted
I've updated to latest ADK.

 

I open my unattend answer file for the Upgrade Task Sequence to check if that's causing the failure in the task sequence on the client.

 

Pointed at the Deployment Share - then pick the image.wim so it can create the catalog and I still get this:

 

[ATTACH=CONFIG]61935[/ATTACH]

 

The log file states:

 

13:25 : This application requires version 10.0.19041.1 of the Windows ADK.

Install this version to correct the problem

13:26 :

13:26 : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.

13:26 :

13:26 : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420127)

 

Server stack trace:

at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PreCreateCatalog()

at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()

at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)

at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)

at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [0]:

at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)

at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

 

Why does it require an older version of the ADK to update 1909 to 20H2 ?

Posted
Have you tried restarting your MDT server? I think I had this issue but it went away after a restart.

 

Tried a restart and was the same.

 

Ended up using a different workstation to edit the Unattend.xml - reason being we change the local Administrator account name to something else so I believe the original fails was due to it trying to logon with an account that did n't exist.

 

One I had everything updated on the Server I then coudn't update the deployment share, but had to install Windows ADK WinPE (adkwinpesetup.exe)

 

So MDT updated.

ADK updated.

ADK WinPE updated.

 

And just done a test and freshly imaged PC appears to update OK.

 

Will further test tomorrow.

Posted

So back on this this morning and I seem to have "cracked" it.

 

Updated some files using this patch : https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit

 

Still had errors post image reboot.

 

Found a very similar issue posted here : https://community.spiceworks.com/topic/1295139-mdt-2012-failure-5627?page=1

 

The problem was "The apply patches under the preinstall was set to apply all packages." - this was trying to install patches which we not applicable to this version of Windows 10!

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...