Customize Windows 10 Image in Audit Mode with Sysprep  

Page 43 of 70 FirstFirst ... 33414243444553 ... LastLast

  1. Posts : 17
    Windows 10
       #420

    Tolqua said:
    ... but the inability to add custom icons to the Default user profile is a much bigger limitation. Is there really no way to customise this within the vast array of customisations available when creating answer files?

    Tolqua.
    What do you mean custom icons?
      My Computer


  2. Posts : 36
    Windows 10 Pro x64
       #421

    mrick69 said:
    What do you mean custom icons?
    Sorry, I just mean icons I actually want there and put on the Task bar myself as opposed to those that are already there by default (such as the one that links to Windows Store, which I always remove). I should have said "...the inability to customise the Task Bar by adding/removing icons".

    Tolqua.
      My Computer


  3. Posts : 5
    Windows 10
       #422

    EDIT Double-Post, please ignore this one
      My Computer


  4. Posts : 5
    Windows 10
       #423

    So I changes these settings in the registry and was able to end the boot loop, then I had to create a new user, I hope this doesn't mean the log file is worthless now?
    "

    • HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\AuditBoot
      • 0x00000000 (0)

    • HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion\setup.exe
      • 0x00000003 (3)

    • HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion\audit.exe
      • 0x00000000 (0)

    • HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState
      • 0x00000002 (2)

    • HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState
      • 0x00000007 (7)

    • HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\UnattendPasses\auditSystem
      • 0x00000000 (0)


    "
    I will attach the log-file, I hope it provides the required information.
    setupactlog.zip

    EDIT: I finally found a thread with HP customers having the same issue and maybe found a solution, which I will try soon and let you know. As these are similar PC models to mine, it really seems like faulty drivers.
    Their solution: "Go to F10 BIOS Setup -> Advanced -> System Options -> and uncheck "Allow PCIe/PCI SERR#" Interrupt"

    EDIT (again): The BIOS workaround did it for me, HP seems to have messep up for these kind of PCs this model has no fixed BIOS version, others were fixed apparently. Fortunately someone shared this and it did the trick.
    So sorry that I bothered you, it was a hardware issue and thanks for your thread :)
    Last edited by DerPwny; 21 Jul 2016 at 04:46.
      My Computer


  5. Posts : 17
    Windows 10
       #424

    DerPwny said:
    Their solution: "Go to F10 BIOS Setup -> Advanced -> System Options -> and uncheck "Allow PCIe/PCI SERR#" Interrupt"

    EDIT (again): The BIOS workaround did it for me, HP seems to have messep up for these kind of PCs this model has no fixed BIOS version, others were fixed apparently. Fortunately someone shared this and it did the trick.
    So sorry that I bothered you, it was a hardware issue and thanks for your thread :)
    Thanks for getting back and posting the solution. This info can be very helpful to others with HPs.
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #425

    DerPwny said:
    EDIT: I finally found a thread with HP customers having the same issue and maybe found a solution, which I will try soon and let you know. As these are similar PC models to mine, it really seems like faulty drivers.
    Their solution: "Go to F10 BIOS Setup -> Advanced -> System Options -> and uncheck "Allow PCIe/PCI SERR#" Interrupt"

    EDIT (again): The BIOS workaround did it for me, HP seems to have messep up for these kind of PCs this model has no fixed BIOS version, others were fixed apparently. Fortunately someone shared this and it did the trick.
    So sorry that I bothered you, it was a hardware issue and thanks for your thread :)
    Good to hear that! I was quite sure it has to be a hardware issue, that's why I said what I said:

    Kari said:
    Sad fact: an overwhelming majority of BSODs when sysprepping are caused by hardware failure.
      My Computer


  7. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #426

    Tolqua said:
    Actually, I did read that part, but it refers to items created during the SysPrep procedure itself and the only items I can see replicated in the Recent Items list are ones I recognise from activity prior to running SysPrep. I figured that this glitch had been sorted out subsequently and was no longer relevant in recent builds of Windows 10.

    I didn't bother cleaning the items because I thought they would be purged as part of the SysPrep procedure.
    I do not post something, ask you to do something just for fun of it. The workaround batch file and instructions how to use it are there because after the sysprep, when Windows goes through OOBE, the remnants of admin Quick Access are there.


    Tolqua said:
    Having now reverted to a pre-Sysprep point on my VM and removed the items from the Recent Items list (I did run CCleaner and it seems to have caused no problems), it appears that the items referred to in the article are no longer left behind after SysPrepping so the batch file isn't needed any more. After running SysPrep the Recent Items list was empty with no additional items left over from the procedure itself, so seems my assumption was correct. Have you not found this to be the case, Kari?.
    No, I have not found that to be the case. The batch fixes all of Quick Access, not only Recent Items. Sometimes the folders will be correct, sometimes trying to open for instance Desktop or Downloads folders from Quick Access, you get Access Denied because they are still pointing to built-in admin's respective folders.

    I would never (repeat: NEVER!) use CCleaner in general and in Audit Mode before sysprep in particular. I would never let a third party application modify Windows registry in Audit Mode, apart from letting software installers add entries they need for applications to run.

    Personally. since Windows XP I have never used any registry cleaners, Windows tweakers or optimizers. Generally they do more harm than good, Windows is totally capable of taking care of itself.


    Tolqua said:
    The page size in Page Settings used in Notepad and Wordpad (are these common to both apps?) defaults to US 'Letter' which is annoying and changing it to A4 doesn't seem to stick on either side of SysPrepping. I haven't installed Office at this point, but assume this would be different in this respect.

    A couple of the Desktop settings, 'Auto arrange icons' and 'Sort by, Date' appear to revert to defaults after SysPrepping, too which is a pity, but the most annoying thing is the inability to save any customisation of the Task bar - The Windows Store has to be deleted every time for every user, but the inability to add custom icons to the Default user profile is a much bigger limitation. Is there really no way to customise this within the vast array of customisations available when creating answer files?
    Nothing I can suggest that would help you with these. For instance Taskbar, this worked with Windows 8 but does not work with Windows 10: TaskbarLinks

    Simply, sysprep and answer file documentation is not up to date. Mostly when you search the web for references, you'll find that MS articles are for previous Windows versions, published years ago.

    There are several unofficial not supported ways to do stuff which Windows will not do when sysprepped. I will not discuss about these ways because I need to know that this tutorial stays within the Microsoft supported boundaries.

    Kari
      My Computer


  8. Posts : 4
    Windows 10 enterprise and PRO
       #427

    maverick4u said:
    Originally Posted by nazar1968
    I am facing issue with computer name after sysprep. My script should ask me computer name after running the sysprep and a script would run that would join the machine to domain. Same settings in the unattended file working fine with Windows 7 and 8.1, but Windows 10 is taking auto generated name of the machine instead of asking the name. CopyName field is empty in the Specialize part of the unattended file. Need your expert opinion.


    Any solution for this please
    Here's how I do it (works for Win 7 - Win 10)

    The following is a .bat file that we run where, in our unattend file, we name the PC "TESTPC01". The program then performs a "search and replace" function and adds a prefix (that is related to the PHYSICAL location of the computer as we have multiple sites) to the serial number of the computer (obtained by the WMIC command). Our unattend file for this purpose is called MyAnswerFile2.xml.

    Therefore, instead of running sysprep from the command prompt, it is run from this file DIRECTLY from AUDIT MODE AFTER all modifications have been brought forth to the image (all software installed and start menu modified to our liking).

    COPY PROFILE is set to TRUE (had the search bar issue but solved it by removing latest Windows security update).

    @echo off
    for /F %%a in ('wmic bios get serialnumber') do call :Sub %%a
    powershell -Command "(gc c:\MyAnswerFile2.xml) -replace 'TestPC01', 'XX-%SerialNumber%' | Out-File -Encoding "UTF8" c:\Users\Administrator\Desktop\AnswerFiles\unattend.xml"

    C:\Windows\System32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:c:\Users\Administrator\Desktop\AnswerFiles\unattend.xml

    goto :eof

    :Sub
    if not "%*"=="" set SerialNumber=%*
    :eof


    NOTE FOR DENIISE AND KARI:
    In order to get the start menu modifications to carry over to ALL new logons, we first unpinned unwanted W10 apps (all of them) and then proceded to pin the apps we DID want (Chrome, FireFox and IE - Office2013 Word, Excel, Outlook, Access, PowerPoint, and Publisher as well as our own "intranet web apps".

    Exported using Powershell in Admin mode:
    Export-StartLayout -Path C:\users\administrator\appdata\Local\Microsoft\Windows\Shell\layoutmodi
    fication.xml

    Import-StartLayout -LayoutPath C:\users\administrator\appdata\Local\Microsoft\Windows\Shell\layoutmodification.xml -MountPath $env:SystemDrive\


    THEN, using Windows Imaging and Configuration Designer, import layoutmodification.xml into a provisioning package project, sellect Common to All Windows Desktop Editions, click on Runtime Settings, Start, Start Layout, export the package, add it to a folder on your imaging machine that would be deleted in SCRIPTS and RUN the package (you only need to do this ONCE and accept the pop-up about coming from a trusted source) - this has NOT failed (yet) to maintain our start menus for staff as well as (different) menus for PUBLIC use.

    I hope you find this helpful (and timely).

    R
      My Computer


  9. Posts : 12
    Win 10 Pro x64
       #428

    Hi,

    Thanks for your step by step guide!

    I'm curious though about this:

    Assuming they're all x64, should I have different images ready for different types of machines?

    Such as: legacy boot using mbr; uefi using mbr; uefi using gpt.

    Is my question clear? I hope so.
    Thanks in advance.
      My Computer


  10. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #429

    RonAshman said:
    Such as: legacy boot using mbr; uefi using mbr; uefi using gpt.
    Yes, of course. That's only logical. For instance if using Hyper-V vm to create the image, select Generation 1 vm if deploying to BIOS / MBR systems, and Generation 2 vm if deploying to UEFI / GPT systems (as shown in first video at 1:52).

    UEFI / MBR and BIOS / GPT are not doable in Hyper-V; you need to use physical machine as technician machine if these images are needed.

    In other words, BIOS and UEFI systems require their own deployment images.
      My Computer


 

Tutorial Categories

Customize Windows 10 Image in Audit Mode with Sysprep Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 15:16.
Find Us




Windows 10 Forums