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

Windows 10 change BIOS boot order after deploy

Scheduled Pinned Locked Moved Unsolved
Windows Problems
6
8
2.8k
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
    Valer
    last edited by Feb 9, 2019, 6:53 AM

    Hello,

    FOG work ok. Capture and deploy works fine.

    My BIOS (UEFI) boot order:

    1. PXE IPv4 Intel
    2. SSD M.2 Windows loader

    After deploy Windows 10 Pro x64 to PC (HP Z2 Tower G4 Workstation), change BIOS boot order to:

    1. SSD M.2 Windows loader
    2. PXE IPv4 Intel

    How to prevent change BIOS boot order after deploy?

    Thank you for your advice

    X 1 Reply Last reply Feb 12, 2019, 4:57 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Feb 9, 2019, 8:38 AM

      @Valer As far as I know the UEFI firmware itself must be doing this change. Some UEFIs do some kind of magic enumerating and re-ordering the loaders. It’s definitely not something FOG is doing. Yeah, most probably the deployment is triggering it but it’s not actually doing it!

      How to prevent change BIOS boot order after deploy?

      See if you can find out more about this in your mainboard/UEFI firmware manual! As well you might want to look into other tools that do boot loader settings for you after the deploy. @JJ-Fullmer has good knowledge on this kind of things.

      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

      1 Reply Last reply Reply Quote 1
      • G
        george1421 Moderator
        last edited by george1421 Feb 9, 2019, 9:10 AM Feb 9, 2019, 3:10 PM

        Its not clear at this time if fog is doing this or Windows playing with the boot order. I know in uefi mode windows can do this, but not in bios mode.

        What I want you to do is set the boot order like you want it then schedule a deploy to this computer but tick the checkbox to shutdown after deployment.
        Go ahead and deploy to this computer.
        After the computer shuts down, power it up and immediately go into the firmware and confirm the boot order before the deployed OS boots the first time.

        With that info we can think about the next steps.

        Also what version of FOG are you running, that may have an impact on the next 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
        • F
          Florent
          last edited by Feb 11, 2019, 9:07 AM

          Hi,
          Same problem here with Windows 10 and UEFI.
          If you have Dell Computers see solution here with Powershell Script and tools Dell Command Configure :
          https://www.dell.com/community/Enterprise-Client/Dell-Command-Configure-bootorder/td-p/5075223

          Florent
          Bretagne, FRANCE

          1 Reply Last reply Reply Quote 0
          • J
            JJ Fullmer Testers
            last edited by Feb 12, 2019, 12:03 AM

            My workaround for this happening was to use refind as my default bootloader, which I configure before capturing the image and then again after I deploy the image in scripts to ensure it sticks. That way I have a boot menu that I can pick between windows, fog (required copying latest ipxe.efi file to each machine’s uefi partition), and even options for uefi shell and uefi firmware settings without any special keystrokes. I find it gives a nice balance between faster boot time for users and flexibility in support.

            I am fairly sure this is a ‘feature’ of windows 10 with the intent of helping users that had changed their boot order to boot to install media and then don’t have to worry about going back into the bios settings and changing it to the new boot manager.
            When I get a moment (like that will ever happen) I’ll try to universalize my bootmgr configuration powershell functions a bit and share them. Probably will put them in the fog community scripts git or add them to my fogAPI module, the former might make more sense, so they’re findable outside of a single blog post. If I remember I’ll try to make some time to do that tomorrow.

            Have you tried the FogApi powershell module? It's pretty cool IMHO
            https://github.com/darksidemilk/FogApi
            https://fogapi.readthedocs.io/en/latest/
            https://www.powershellgallery.com/packages/FogApi
            https://forums.fogproject.org/topic/12026/powershell-api-module

            J 1 Reply Last reply Feb 12, 2019, 12:05 AM Reply Quote 0
            • J
              JJ Fullmer Testers @JJ Fullmer
              last edited by Feb 12, 2019, 12:05 AM

              See also https://forums.fogproject.org/topic/12915/windows-boot-manager-boot-option-disappears-after-image

              Have you tried the FogApi powershell module? It's pretty cool IMHO
              https://github.com/darksidemilk/FogApi
              https://fogapi.readthedocs.io/en/latest/
              https://www.powershellgallery.com/packages/FogApi
              https://forums.fogproject.org/topic/12026/powershell-api-module

              1 Reply Last reply Reply Quote 1
              • G
                george1421 Moderator
                last edited by Feb 12, 2019, 12:34 AM

                This may be useless information at the moment, but I’m going to post it here for completeness.

                1. I deployed a Dell 7010 today. The system is/was in uefi mode but I had to deploy the image in bios mode because in uefi mode iPXE will never finish initializing the devices. In this configuration the Windows Boot manager was not installed in the firmware and I had to go in manually and select the hard drive for booting. I can understand why this seems a bit broken but in this case FOG didn’t change the boot order.
                2. When I was working on another project I know that efibootmgr (linux utility) can be used to modify the uefi boot order. So it may be possible to write a postinstall script to change the order to what ever order you need (if its fog that is changing the boot order and not windows). At this time I don’t know if the efibootmgr is compiled into the inits or I grabbed it from a centos install when I was testing the project.

                And in the fwiw bucket, the dell cctk was mentioned below. There is a linux version of cctk that again could be used in a postinstall script. But that would be a dell hardware specific tool, where the efibootmgr would be hardware agnostic.

                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
                • X
                  x23piracy @Valer
                  last edited by Feb 12, 2019, 4:57 PM

                  @Valer i know that some bios let the „windows boot manager“ always go on position 1 if found afaik this can be turned off to keep your current order:

                  https://superuser.com/questions/1043451/asus-bios-keeps-resetting-boot-priority-to-windows-boot-manager-before-uefi

                  Regards X23

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

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

                  158

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project