• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Mar 2, 2017, 12:12 PM Mar 2, 2017, 6:12 PM

    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
    • W
      Wayne Workman
      last edited by Mar 2, 2017, 11:54 PM

      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
      • G
        george1421 Moderator
        last edited by george1421 Mar 3, 2017, 4:42 AM Mar 3, 2017, 10:41 AM

        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
        • W
          Wayne Workman
          last edited by Wayne Workman Mar 3, 2017, 8:01 AM Mar 3, 2017, 2:00 PM

          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 Mar 3, 2017, 5:54 PM

            @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.

            G 1 Reply Last reply Mar 3, 2017, 6:01 PM Reply Quote 0
            • G
              george1421 Moderator @Vanlue IT Guy
              last edited by Mar 3, 2017, 6:01 PM

              @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 Mar 3, 2017, 6:08 PM

                @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
                1 / 1
                • First post
                  1/7
                  Last post

                159

                Online

                12.1k

                Users

                17.3k

                Topics

                155.4k

                Posts
                Copyright © 2012-2024 FOG Project