Upgrade widnows 7 - 8 to windows 10 or run on windows 10 to reload in place windows 10 over itself and keep files and settings.
all silent, click and go, system will reboot in about 1 hour without warning so best to run at night, found this on another site, have used several times, its about the same as running it manualy as far as success rate, it won't fix a machine that just won't update, but for the ones that will its a single click and your done
# Upgrade to Windows 10
#
# Created by CN @ CCT 19th Feb 2020
#
#
#
##Create Directory
New-Item -Path "c:\temp\" -Name "Win10Upgrade" -ItemType "directory"
##Get Variables
$url = "https://go.microsoft.com/fwlink/?LinkID=799445"
$outputfile = "C:\temp\Win10Upgrade\Windows10upgrade.exe"
##Download File
(New-Object Net.WebClient).DownloadFile($url, $outputfile)
##Start Windows 10 Upgrade
& $outputfile /quietinstall /skipeula /auto upgrade /dynamicupdate enable
Upgrade widnows 7 - 8 to windows 10 or run on windows 10 to reload in place windows 10 over itself and keep files and settings.
all silent, click and go, system will reboot in about 1 hour without warning so best to run at night, found this on another site, have used several times, its about the same as running it manualy as far as success rate, it won't fix a machine that just won't update, but for the ones that will its a single click and your done
# Upgrade to Windows 10
#
# Created by CN @ CCT 19th Feb 2020
#
#
#
##Create Directory
New-Item -Path "c:\temp\" -Name "Win10Upgrade" -ItemType "directory"
##Get Variables
$url = "https://go.microsoft.com/fwlink/?LinkID=799445"
$outputfile = "C:\temp\Win10Upgrade\Windows10upgrade.exe"
##Download File
(New-Object Net.WebClient).DownloadFile($url, $outputfile)
##Start Windows 10 Upgrade
& $outputfile /quietinstall /skipeula /auto upgrade /dynamicupdate enable