Page 59 of 63 FirstFirst ... 9495758596061 ... LastLast
  1.    18 Jun 2017 #580
    Join Date : Nov 2016
    Posts : 4
    Windows 10 (and older)

    Quote Originally Posted by georg49 View Post
    ....... After Sysprep/Shutdown the configured Master-Disk (with the "copyprofile" option in the unattend.xml) open the the Image offline and delete the Folder "INetCache" in the "Default"-profile

    Path: [Driveletter]:\Users\Default\AppData\Local\Microsoft\Windows\INetCache

    !!! >>>> Correction: The delete has to be done for the "Administrator" profile but not the "Default".
    Cause: The copyprofile will be performed only during the next boot of the system. Bevore that the INetCache-folder of the Default profile is empty of course. And according to my later expiriences you only have to delete the file "counters2.dat" in the Folder. This seems to be the reason of the problem.

    If you already have a system with the faulty copyprofile-copied "counters2.dat" in this case you would delete it in the "Default" profile and/or any other userprofile. But not at the signed in userprofile cause the file is locked.

    Hint: At "https://technet.microsoft.com/en-us/sysinternals/pendmoves.aspx" you find a tool/solution to delete a file at next reboot. It only makes a single registry-entry which you may extract into a delete-counters2.reg file for further usage independant from the tool.
    I applied & tested it for C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache\counters2.dat and that works. This way it's not necessary to offline-edit the deployed image after shutdown.
    <<<<< End of correction
    Quote Originally Posted by fiyahflash View Post
    Confirmed that deleting C:\Users\Default\AppData\Local\Microsoft\Windows\WebCache, C:\Users\Default\AppData\Local\Microsoft\Windows\WebCacheLock.dat, as well as C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache from the Administrator account that was created via MDT when the system booted, resolved the search issues for any new users that logged on to the system (both non-domain and domain).Trying to figure out now how to resolve this from MDT, in order to remove this manual stepLoading the WIM file into DISM shows that the C:\Users\Default\AppData\Local\Microsoft\Windows\WebCache is not present.

    Found the solution over at Technet Forums: Windows 10 Creators - sysprep image
    Hi fiyahflash
    I made a correction to my former post. There I pointed to the wrong path rsp. userprofile. Sorry if that made troubles to got it to work.

    Thank you for the tip about the solution in TechNet. But the SetupComplete.cmd does not work for "OEM" versions , cause this option is deactivated there. For such versions I added an alternative solution, which could work in general.

    According to my tests I didn't find any issues with WebCache folder and WebCacheLock.dat or other stuff in the INetCache folder except the counters2.dat file. But it may not be a mistake to delete them also. Important: It has to be done in the "Default" profile after the system was rebooted but otherwise in the "Administrator" profile in an offline-image-modification before reboot or if using the sysinternals "movefile.exe" tool rsp. "PendingFileRenameOperations" option in registry.
      My ComputerSystem Spec
  2.    19 Jun 2017 #581
    Join Date : Nov 2013
    Chicagoland
    Posts : 33,920
    Dual boot Windows 10 FCU Pro x 64 & Insider 10 Pro

    Quote Originally Posted by Kari View Post
    Yes, it is possible and can be done exactly as told on that article you linked to. Personally I think that it is not necessary, especially when talking about private users, home or small networks and Windows 10 which is extremely capable to find out correct drivers by itself.

    Kari
    Thanks, Kari. Yes, it does find drivers, but most are MS generic ones. I want to install specific drivers for devices/peripherals/components for a specific MoBo.
      My ComputersSystem Spec
  3.    19 Jun 2017 #582
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,976
    Windows 10 Pro
    Thread Starter

    Quote Originally Posted by HippsieGypsie View Post
    Thanks, Kari. Yes, it does find drivers, but most are MS generic ones. I want to install specific drivers for devices/peripherals/components for a specific MoBo.
    If image will only be used on matching hardware, you can simply install all drivers in Audit Mode, then add <PersistAllDeviceInstalls>true>PersistAllDeviceInstalls> in answer file, in Pass 3 Generalize. This keeps drivers even when /generalize switch is used with Sysprep.

    To use PersistAllDeviceInstalls, add this code extract to your answer file:

    Code:
    <settings pass="generalize">
        <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        </component>
    </settings>

    Another option is to generalize image normally, then add drivers to offline image with DISM: Add and Remove Drivers to an Offline Windows Image
    Kari
      My ComputerSystem Spec
  4.    19 Jun 2017 #583
    Join Date : Nov 2013
    Chicagoland
    Posts : 33,920
    Dual boot Windows 10 FCU Pro x 64 & Insider 10 Pro

    Quote Originally Posted by Kari View Post
    If image will only be used on matching hardware, you can simply install all drivers in Audit Mode, then add <PersistAllDeviceInstalls>true>PersistAllDeviceInstalls> in answer file, in Pass 3 Generalize. This keeps drivers even when /generalize switch is used with Sysprep.

    To use PersistAllDeviceInstalls, add this code extract to your answer file:

    Code:
    <settings pass="generalize">
        <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        </component>
    </settings>

    Another option is to generalize image normally, then add drivers to offline image with DISM: Add and Remove Drivers to an Offline Windows Image
    Kari
    Thank you for all that, Kari.

    Yes, I understand > Specific drivers to match specific hardware. I'll take the other option in consideration also.
      My ComputersSystem Spec
  5.    19 Jun 2017 #584
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,976
    Windows 10 Pro
    Thread Starter

    Quote Originally Posted by HippsieGypsie View Post
    Yes, I understand > Specific drivers to match specific hardware. I'll take the other option in consideration also.
    This quote about sums it up why I do not like keeping / installing drivers on custom image, preferring a completely generalized hardware independent image:

    Hardware-configuration changes that are likely to cause problems

    When using the PersistAllDeviceInstalls setting, any hardware change can potentially cause problems. Some changes are more likely to cause problems than others.

    Low risk
    For these types of hardware changes, you may be able to work around potential driver conflicts and still use the PersistAllDeviceInstalls setting:
    • CPUs with different clock speed.
    • Amount of memory.
    • Hard disk capacity.
    • External input devices, such as keyboards and mice.
    • Monitors.

    Medium risk
    For these types of hardware changes, we recommend that you do not use the PersistAllDeviceInstalls setting:
    • Video cards.
    • Storage drives and media readers, such as optical drives and card readers.
    • Internal or integrated bus devices, such as USB or 1394 devices.

    High risk
    For major hardware changes, do not use the PersistAllDeviceInstalls setting:
    • Motherboard chipset or CPU brand.
    • Storage controllers.
    • Form-factor changes, such as from desktop to laptop or from laptop to desktop.
    • Keyboard-layout changes, such as from a standard 101-key keyboard to a Japanese 106-key keyboard.
    • Any other devices that are in the enumeration path of the Windows boot volume.


    Types of problems that can occur with a hardware-configuration change

    Even seemingly minor changes to the hardware or hardware configuration can cause severe or easily-overlooked problems, such as the following:
    • System instability.
    • Inability to use some of the basic or extended functionality of a device.
    • Extended boot times and extended installation times.
    • Misnamed devices in the Devices and Printers folder, Device Manager, and other device-related user interfaces.
    • Severe system problems that leave the computer in a non-bootable state.
    From Maintain Driver Configurations When Capturing a Windows Image

    Kari
      My ComputerSystem Spec
  6.    19 Jun 2017 #585
    Join Date : Nov 2013
    Chicagoland
    Posts : 33,920
    Dual boot Windows 10 FCU Pro x 64 & Insider 10 Pro

    Quote Originally Posted by Kari View Post
    This quote about sums it up why I do not like keeping / installing drivers on custom image, preferring a completely generalized hardware independent image:

    Kari
    Thanks again for that, Kari. Don't plan on changing out any of my hardware, but I see the risk if something does need replacing, then I might be in deep doodoo.
      My ComputersSystem Spec
  7.    19 Jun 2017 #586
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,976
    Windows 10 Pro
    Thread Starter

    That quote is from article written for Windows 7. Windows 10 can handle dissimilar hardware better, but for the most the article still applies.
      My ComputerSystem Spec
  8.    19 Jun 2017 #587
    Join Date : Dec 2015
    Posts : 5,961
    Windows10

    Quote Originally Posted by Kari View Post
    That quote is from article written for Windows 7. Windows 10 can handle dissimilar hardware better, but for the most the article still applies.
    Yeah, Windows 10 driver handling is such that many put an hdd from one pc into a different one, and often works. With Windows 7 (and to lesser degree 8), it was hit or miss if it worked, and even when it did you often get strange issues which are nit easy to track down.

    Of course, good old sysprep is the 'recommended' way to go.

    I installed the infamous 16125 in hyper-v and just tried native booting the vhdx from host pc, and it just worked first time without any driver issues apart from Bluetooth driver needing to be installed.
      My ComputerSystem Spec
  9.    27 Jun 2017 #588
    Join Date : Jun 2017
    Posts : 11
    Windows 10 1703

    I am looking to create a similar image without an OOBE. But, the reboot goes into an infinite loop.
    Please help.
      My ComputerSystem Spec
  10.    27 Jun 2017 #589
    Join Date : Jun 2017
    Posts : 11
    Windows 10 1703

    I am looking to create a similar image without an OOBE. But, the reboot goes into an infinite loop.
    Please help.
      My ComputerSystem Spec

 
Page 59 of 63 FirstFirst ... 9495758596061 ... LastLast


Similar Threads
Tutorial Category
Installation & Upgrade Customize Default User Profile for New Accounts in Windows 10
How to Customize Default User Profile for New Accounts in Windows 10 Default User Profile is stored in a hidden folder in main profile folder Users. When a new user is created, either when installing Windows or any time later, Windows uses this...
Tutorials
Customize the Windows 10 Log-On and Log-Off Screen
how Customize the Windows 10 Log-On and Log-Off Screen in Build 10240? i like a black color! :confused:
Customization
Sysprep fails - Windows 10 build 10162
Hello Guys I'm trying to sysprep a Windows 10 Enterprise build 10162 so that i can capture, but i'm getting some errors and hope you guys have some sort of solution. I've tried removing The upgrade key in HKLM system, but that didn't help. ...
Installation and Upgrade
Sysprep fails fatally Windows 10 10122
I've tried to go into AUDIT mode to change the User profiles over to a different HDD on 10122. I get a fatal sysprep error. All i've used is an answer file with User profiles set to I:\Users Program Data is not moved, copyprofile not set. Only...
Installation and Upgrade
NCC Group to audit OpenSSL for security holes
Read more: NCC Group to audit OpenSSL for security holes | ZDNet
Windows 10 News
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:16.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums