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

Windows Image Hangs on Boot

Scheduled Pinned Locked Moved Solved
Windows Problems
6
29
3.6k
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.
  • G
    george1421 Moderator @flipwalker
    last edited by Mar 8, 2018, 9:43 PM

    @flipwalker said in Windows Image Hangs on Boot:

    <ComputerName>%SerialNumber%</ComputerName>

    I’m not sure that will work outside of MDT/WDS/SCCM. The %SerialNumber% is a MDT variable. Anyway, what ever you name it in the unattend.xml file, the FOG client will change it to what matches in the fog database. In my unattend.xml I think I have something like DEFAULT64 or something like that, again it doesn’t matter since the FOG client can and will change the host name to match how you have the system registered in FOG.

    In my unattend.xml file I also have the windows system log in as a local admin and run a few commands and then reboot. This is all done in a hands off or also called lite touch method.

    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!

    F 2 Replies Last reply Mar 8, 2018, 11:44 PM Reply Quote 0
    • F
      flipwalker @george1421
      last edited by Mar 8, 2018, 11:44 PM

      @george1421 So for future reference it doesn’t work. However when I removed it I now have a functional product. What part of your xml causes the login? Do you just put your additional commands in the windows\setup\scripts\setupcomplete.cmd file?

      One of the things I’m trying to get implemented is autojoining a WAP without having to provide students with the password. I have found a script that will hypothetically work, but getting it implemented is worrying me.

      1 Reply Last reply Reply Quote 0
      • F
        flipwalker @george1421
        last edited by Mar 8, 2018, 11:48 PM

        @george1421 I found the autologin I think.

        G 1 Reply Last reply Mar 9, 2018, 1:28 AM Reply Quote 0
        • G
          george1421 Moderator @flipwalker
          last edited by george1421 Mar 8, 2018, 7:30 PM Mar 9, 2018, 1:28 AM

          @flipwalker Sorry working on a work project after hours.

          Yes the firstlogon section is for activities you need to do that requires a command shell.

          The setupcomplete.cmd file we do stuff like create admin user accounts (I know you can do that in the unattend.xml but we don’t) also we start the fog client in the setupcomplete.cmd so that the fog client doesn’t kick in too soon and botch OOBE (review the requirements for the FOG client in the wiki).

          Connecting to a WAP and setting the preferred settings are easily done by GPO and is the preferred method.

          Another point, don’t connect the reference image to AD before you sysprep it. If you need to execute things that need AD, do that in the setupcomplete.cmd or the first run.

          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!

          F 1 Reply Last reply Mar 9, 2018, 3:58 PM Reply Quote 1
          • F
            flipwalker @george1421
            last edited by flipwalker Mar 9, 2018, 10:00 AM Mar 9, 2018, 3:58 PM

            @george1421 So hypothetically speaking, if the reference image got joined to a domain by FOG(bad FOG, you should read my mind and only do that when I want you to), do I need to scrap it and start over?

            I did find the WAP GPO, so that should be good to go now. The only thing I have in setupcomplete right now is the FOG restart.

            G 1 Reply Last reply Mar 9, 2018, 4:30 PM Reply Quote 0
            • G
              george1421 Moderator @flipwalker
              last edited by Mar 9, 2018, 4:30 PM

              @flipwalker said in Windows Image Hangs on Boot:

              So hypothetically speaking, if the reference image got joined to a domain by FOG(bad FOG, you should read my mind and only do that when I want you to), do I need to scrap it and start over?

              Sorry to tell you this, but yes you must scrap that image. Because connecting your reference image to AD before sysprep will tattoo that machine in AD. Plus you may have GPO policies (that would be applied) that may interact with your system during OOBE. So its better off not to connect the reference image to AD then unconnect it before sysprep. It never ends well.

              Now when you install the FOG client in the reference image, you need to set the service to disabled before your computer is rebooted (for any reason). This will keep the service from running and doing not so helpful things to your reference image. And you are right for the setupcomplete.cmd, use the sc command in there to set the FOG service to auto, and start it if you need. Here is a wiki article on the fog client with sysprep: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_with_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!

              F 2 Replies Last reply Mar 9, 2018, 7:58 PM Reply Quote 1
              • I
                imagingmaster21
                last edited by Mar 9, 2018, 7:31 PM

                @flipwalker Are you using sysprep generalized and shutdown when you capture?

                F 1 Reply Last reply Mar 9, 2018, 9:42 PM Reply Quote 0
                • F
                  flipwalker @george1421
                  last edited by Mar 9, 2018, 7:58 PM

                  @george1421 Well I’ll be a son of a… Oh well. Ok. I went ahead and tried it anyway. Most of it seems to be ok, however my stepupcomplete.cmd doesn’t seem to want to run on its own. Is this because of the AD problem on the reference image? Or did I screw something else up? It worked previously on another test I did.

                  1 Reply Last reply Reply Quote 0
                  • F
                    flipwalker @imagingmaster21
                    last edited by Mar 9, 2018, 9:42 PM

                    @imagingmaster21 That’s what I’m working on now. Previously I wasn’t syspreping because I was scared of unattend. But others have convinced me I need to stop being a wuss and try to learn myself real good. I’m almost there. In fact as we speak I just sysprepped a reference image machine and I’m about to capture and test deploy it.

                    1 Reply Last reply Reply Quote 1
                    • F
                      flipwalker @george1421
                      last edited by Mar 10, 2018, 4:43 AM

                      @george1421 SetupComplete still isn’t executing. I can manually execute and it seems to work, but it doesn’t automatically. Any ideas?

                      T 1 Reply Last reply Mar 10, 2018, 5:06 AM Reply Quote 0
                      • T
                        Tom Elliott @flipwalker
                        last edited by Mar 10, 2018, 5:06 AM

                        @flipwalker What version of windows?

                        (Not just 10, but education, pro, etc…?)

                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        F 1 Reply Last reply Mar 10, 2018, 5:34 AM Reply Quote 0
                        • F
                          flipwalker @Tom Elliott
                          last edited by Mar 10, 2018, 5:34 AM

                          @tom-elliott Pro, I’ll have to wait until tomorrow to tell you the version number, I don’t have a machine at home tonight.

                          G 1 Reply Last reply Mar 10, 2018, 12:21 PM Reply Quote 0
                          • G
                            george1421 Moderator @flipwalker
                            last edited by Mar 10, 2018, 12:21 PM

                            @flipwalker As long as its not Win10 OEM then setupcomplete.cmd should execute as long as if its in the right location and you sysprep’d the image.

                            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!

                            F 1 Reply Last reply Mar 10, 2018, 5:02 PM Reply Quote 0
                            • F
                              flipwalker @george1421
                              last edited by Mar 10, 2018, 5:02 PM

                              @george1421 It was an ISO for Pro that I pulled off the Microsoft site. The SetupComplete is at this exact path:

                              c:\Windows\Setup\Scripts\SetupComplete.cmd

                              Contents of it is:

                              sc config FOGService start= auto
                              netsh wlan add profile filename=“c:\Image\Wi-Fi-RTI-25B.xml”
                              shutdown -t 0 -r

                              Do you see anything obvious?

                              1 Reply Last reply Reply Quote 0
                              • S
                                sudburr
                                last edited by Mar 10, 2018, 5:47 PM

                                If you’re referring to the retail version of Windows 10 that’s created by using the Microsoft Windows 10 Installation Media Creation Tool, it’s not quite the same as the GVLK (Generic Volume License Key) version, but I don’t think there would be anything that would prevent the running of the setupcomplete.cmd.

                                [ Standing in between extinction in the cold and explosive radiating growth ]

                                1 Reply Last reply Reply Quote 0
                                • F
                                  flipwalker
                                  last edited by Mar 13, 2018, 7:23 PM

                                  Just a status report for those interested. I did get a functional image going, and it seems to have resolved the issues. However I was never able to get the Setupcomplete to run, however I added a first logon addition to the unattend calling that script specifically and now it works.

                                  Next on my to do list is getting a driver package put together for the laptops so they have the most up to date drivers installed on boot.

                                  Thanks for all your help, and we can probably mark this as ‘solved’, but I don’t know how to do that…

                                  G 1 Reply Last reply Mar 13, 2018, 8:01 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @flipwalker
                                    last edited by Mar 13, 2018, 8:01 PM

                                    @flipwalker If you have dell systems (sorry I don’t remember) you can get the cab files from here: http://en.community.dell.com/techcenter/enterprise-client/w/wiki/2065.dell-command-deploy-driver-packs-for-enterprise-client-os-deployment (Hint: They are all in one place.) Just extract the drivers using 7zip and build the required directory structure.

                                    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
                                    • 1
                                    • 2
                                    • 2 / 2
                                    2 / 2
                                    • First post
                                      22/29
                                      Last post

                                    157

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project