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

    Host drive did not shut down in a clean state - Fix

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    7
    1.5k
    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.
    • V
      Vanlue IT Guy
      last edited by Vanlue IT Guy

      Hello all,

      I wanted to let you know I recently ran into the above issue several times when trying to make a Sysprep image for Windows 10. I would reboot, and power down cleanly through the Shutdown GUI with no change, I ran chkdsk and sfc scan with no change nothing seemed to work.

      Here is the solution I found:

      From the command prompt, run shutdown /p

      That will do the same as shutting down through the GUI, but now I can upload my images to FOG.

      I just wanted to share this in case others were having this issue as well.

      Cheers!

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        What version of FOG?

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator
          last edited by george1421

          With Win10, shutdown is not really shutdown, its more of an advanced/enhanced sleep mode. So the disk is not closed properly when you sysprep and then select shutdown from the gui. If you pick reboot and catch the system during the reboot in the firmware mode then you can power off the system and it will capture correctly.

          FWIW: What we do is use the command line parameter with sysprep which tells sysprep to power off the computer when done. This command line switch does shutdown Win10 properly with a lot of extra steps.

          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!

          1 Reply Last reply Reply Quote 1
          • Wayne WorkmanW
            Wayne Workman
            last edited by Wayne Workman

            There’s also this article about it: https://wiki.fogproject.org/wiki/index.php?title=Windows_Dirty_Bit

            @george1421 we should get your sysprep shutdown piece into there too I guess?

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 1
            • V
              Vanlue IT Guy
              last edited by

              @Wayne-Workman Fog 1.3.4 SVN 6066.

              @george1421 This error was capturing the image before I sysprepped, in the audit mode stage so I can go back later and add things to the image if needed.

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @Vanlue IT Guy
                last edited by

                @Vanlue-IT-Guy If you use shutdown /s /t 0 that should put the disk in a safe state and not hybrid shutdown.

                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!

                1 Reply Last reply Reply Quote 0
                • V
                  Vanlue IT Guy
                  last edited by

                  @george1421 I could, but shutdown /p worked just fine for me. I’m a firm believer in the KISS method so the less typing I have to screw up the better.

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

                  170

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project