• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Windows 10 SysPrep not working

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    windows 10 sysprep hyper-v
    6
    14
    5.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • george1421G
      george1421 Moderator
      last edited by george1421

      Just so we have the terminology right. Sysprep is working and you can capture the image, right? Where its actually failing is once the system is cloned (or rebooted) and during OOBE you get the message "Windows could not finish configuring the system. To attempt to resume configuration, restart the computer." Do I understand that correct?

      If that is the case there are log files on the target computer you need to review. They are in c:/Windows/Panther or in c:/Windows/Setup/Sysprep I would look in panther first. They will end with .log one of the log files will tell you what happened. Its been about a year since I went through some similar debugging.

      So how do you get to the files, at the error message… I believe you hit F3 or shift-F10 (sorry doing from very crusty memory) to call up a command window. From there you can then launch notepad.exe and navigate to the log files to review.

      -OR-
      Remove the failed image hard drive from the computer and add as a second hard drive in another computer.

      In my case I was able to find the error was I was defining a location for the unattend.xml file when sysprep was called, but the file was not in that location so when OOBE ran it died.

      [Edit] Also after looking at your post again, I would suggest that you put your unattend.xml file in the Panther directory and not sysprep.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      L 1 Reply Last reply Reply Quote 0
      • L
        lukebarone @george1421
        last edited by

        @george1421 So apparently, it worked this time for Sysprepping. No errors came up on my Hyper-V after the capture job was done.

        Next is figuring out how to duplicate the Start Layout and Taskbar for every user… Which, as I failed to mention, was the original main show-stopper for me.

        KnightRavenK 2 Replies Last reply Reply Quote 0
        • KnightRavenK
          KnightRaven @lukebarone
          last edited by

          @lukebarone
          I feel your pain. Win 10 just doesn’t play well with the old conventions of sysprepping it seems.
          For the start menu, however, the closest I can see is to use a GPO and export the layout.
          Try this site for details: Win 10 Customize and export Start layout
          I’m not sure yet if there is a clean way to do the taskbar. We used a script that setup the links/pins for Win7. I havent tested yet if it work the same for 10.

          just my $.02 worth. Hope it helps some.
          Jason

          A wise man knows he can always grow wiser.

          99 little bugs in the code, 99 little bugs
          Fix one bug, save it again…
          101 little bugs in the code

          1 Reply Last reply Reply Quote 0
          • KnightRavenK
            KnightRaven @lukebarone
            last edited by

            @lukebarone
            Oh apparently its just a little further up the chain…
            Using the same xml file you can customize both.
            https://docs.microsoft.com/en-us/windows/configuration/configure-windows-10-taskbar

            Jason

            A wise man knows he can always grow wiser.

            99 little bugs in the code, 99 little bugs
            Fix one bug, save it again…
            101 little bugs in the code

            ? 1 Reply Last reply Reply Quote 1
            • Q
              Quazz Moderator
              last edited by Quazz

              defprof is an excellent alternative for setting up the default profile.

              I gave up on unattend files for Windows 10, personally, more headaches than its worth, but then my use cases tend to be simple enough.

              1 Reply Last reply Reply Quote 1
              • L
                lukebarone
                last edited by

                So I thought it was successful, but apparently not. On my base image machine, I exported the Start Layout into the root of C:, as an XML (apparently, the -As BIN function is removed in Windows 10), and pointed the GPO at that. I rebooted the base image machine, and the start menu was locked down, and the taskbar looked perfect! I even went as far as dropping the unattend.xml file into the %WINDIR%\Panther folder instead.

                The issue now when deploying is that when I log in as the user that I had the answer file create, I get the cryptic error message The User Profile Service service failed the sign in. User profile cannot be found. I am skipping the User OOBE so that I can just get in with the Administrator account… But the Administrator account is not active for some reason. I cannot log in via Safe Mode (or else I don’t know how to get into it with Windows 10 without being able to log in), so I cannot pull the logs. I’ll probably be spending my morning trying to get the logs though.

                Thoughts?

                1 Reply Last reply Reply Quote 0
                • L
                  lukebarone
                  last edited by

                  OK, I booted the install drive I had for Windows, and loaded up diskpart. Apparently, the 😄 only had 29GB total, with nothing free! It also looked like my postdownloadscripts did not load, as the drivers didn’t appear in the Windows folder automatically.

                  The new user profile loads, and the Start Menu is working - taskbar, not so much.

                  So my new issue (which I’ll open a new thread) is to figure out why FOG isn’t resizing the 😄 automatically like it did with Windows 7, and why the postdownloadscripts are not working.

                  Q 1 Reply Last reply Reply Quote 0
                  • Q
                    Quazz Moderator @lukebarone
                    last edited by

                    @lukebarone The postdownloadscripts were likely unable to do anything if your drive was full.

                    L 1 Reply Last reply Reply Quote 1
                    • L
                      lukebarone @Quazz
                      last edited by

                      @quazz I remember in previous images, FOG would resize the images before capturing, then expand them during deployment. For whatever reason, it was not doing that this time around. As per my new post, upgrading to 1.4.4 may have helped… Or just a coincidence…

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @KnightRaven
                        last edited by

                        @knightraven The problem with using taskbar customization in the XML file is that users cannot make permanent changes to the taskbar. It resets any changes the user makes after reboot.

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          lukebarone @A Former User
                          last edited by

                          @loosus456 Yea, I have no objection to that. But I can’t get the Taskbar Customization to work (even after fixing the .xml file that is generated), so I gave that part up. It resets the taskbar to just Edge and Explorer, and allows users to customize it how they wish.

                          ? x23piracyX 2 Replies Last reply Reply Quote 0
                          • ?
                            A Former User @lukebarone
                            last edited by

                            @lukebarone It works fine for me, but I just don’t use it since users can’t then change their taskbar.

                            1 Reply Last reply Reply Quote 0
                            • x23piracyX
                              x23piracy @lukebarone
                              last edited by x23piracy

                              @lukebarone said in Windows 10 SysPrep not working:

                              @loosus456 Yea, I have no objection to that. But I can’t get the Taskbar Customization to work (even after fixing the .xml file that is generated), so I gave that part up. It resets the taskbar to just Edge and Explorer, and allows users to customize it how they wish.

                              Hi,

                              you need to apply taskbar customs via group policy, if so the user has change rights:

                              https://social.technet.microsoft.com/Forums/windows/en-US/83b725f4-90f8-476a-bba0-3193e4e47d2e/windows-10-1607-enterprise-taskbar-items-pinned-via-layoutmodificationxml-and?forum=win10itprosetup

                              IMPORTANT

                              If you use a provisioning package to configure the taskbar, your configuration will be reapplied each time the explorer.exe >process restarts. If your configuration pins an app and the user unpins that app, the user’s change will be overwritten the >next time the configuration is applied. To apply a taskbar configuration and allow users to make changes that will >persist, apply your configuration by using Group Policy.

                              https://technet.microsoft.com/en-us/itpro/windows/manage/configure-windows-10-taskbar?f=255&MSPPError=-2147217396

                              What ever can be done by gpo should be done with gpo (ms philosopy). If you don’t have a domain controller for gpo applyment you can simply use gpedit.msc locally to set this on your golden image.

                              Regards X23

                              ║▌║█║▌│║▌║▌█

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              196

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project