Running Windows 10 1607 then upgradeing to 1703 and Capturing Image Problem
MrGadget Aug 30, 2017 10:10 AMI'm running Landesk Management 9.6 SP3
1.When imaging with a 1607 image then upgrading later to 1703 causes user profiles to freeze, run slow, edge doesn't run, cortano locks up, etc.
You have to run as a administrator this script to fix .
cd c:\users\default\appdata\local\microsoft\windows
del /f /q /A:SH .\webcache .\inetcache .\webcachelock.dat
rmdir /s /q .\webcache
rmdir /s /q .\inetcache
2.When setting up to capture a image, you install Windows 10 1607 then run the upgrade assistant that pops up on your desktop which installs the Windows 10 1703, you must run the above script in bold before capturing..
After capturing then deploying the just made image your template will hang in ctos. This is because for some reason the setupcomplete.cmd calls up ldprovisioning.cmd but it doesn't run so there is no agent running to complete the template. So I had to add the following part in bold to my unattend.xml
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
-<AutoLogon>
-<Password>
<Value>password</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>administrator</Username>
</AutoLogon>
-<FirstLogonCommands>
-<SynchronousCommand wcm:action="add">
<Order>1</Order>
<ommandLine>C:\ldprovisioning\ldprovisioning.cmd</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
-<OOBE>