The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Switching GPUs breaks Bitlocker

    Discussion in 'Sager and Clevo' started by bruno.uy, May 4, 2017.

  1. bruno.uy

    bruno.uy Notebook Enthusiast

    Reputations:
    0
    Messages:
    40
    Likes Received:
    24
    Trophy Points:
    16
    I've enabled bitlocker disk encryption on my ssd drive, but when I change between the discrete/nvidia and mshybrid/optimus/intel gpus and reboot, Windows asks me the bitlocker key. Once I enter the recovery key, it stops nagging me until I switch back again. The hw mux was a big selling point of Clevo laptops, but I'd like to keep bitlocker. I've read somewhere (but haven't tried it) that you can pause Bitlocker before hw changes, but it's a nuisance. Anybody has this working?
     
  2. Stooj

    Stooj Notebook Deity

    Reputations:
    187
    Messages:
    841
    Likes Received:
    664
    Trophy Points:
    106
    Under the Bitlocker control panel applet there's an option to "Suspend Protection". You should be able to suspend Bitlocker, change MUX, reboot and re-enable. It's a bit cumbersome but there's really no other way around it.

    BitLocker is tied to your hardware ID which naturally changes when the MUX is switched (as the Intel GPU and Panel change as far as the system knows.

    You might have to look at some other types of drive encryption if you don't want that limitation.
     
  3. bruno.uy

    bruno.uy Notebook Enthusiast

    Reputations:
    0
    Messages:
    40
    Likes Received:
    24
    Trophy Points:
    16
    Is there an api to flip the mux? I could write a program to automate all steps.
     
  4. Stooj

    Stooj Notebook Deity

    Reputations:
    187
    Messages:
    841
    Likes Received:
    664
    Trophy Points:
    106
    Documented API? nope...

    The Clevo ControlCenter can flip it in software though, so you might be able to find out how it flips it. Most of it's tasks are farmed out to discrete EXE or batch files.

    For reference, you'll find all of it in "C:\Program Files (x86)\HotKey".

    You might want to run process monitor over it or similar and see what it touches when you trigger the Mux flip.
     
  5. FlameHaze

    FlameHaze Notebook Consultant

    Reputations:
    14
    Messages:
    123
    Likes Received:
    24
    Trophy Points:
    31
    Hello, open gpedit.msc

    Goto Administrative Templates>Windows Components>Bitlocker Drive Encryption>Operating System Drives

    Open Configure TPM Platform Validation Profile

    Switch to enabled and check the following #'s 4,5,8,9,11

    You invite the possibility of a bootloader attack but beyond that it should nolonger bother you for a startupkey on a GPU change, if it still does uncheck #4

    You can experiment to increase security but if the above succeds try finding out one at a time if 0 2 and 10 cause it to trip, once you find the culprits enable the other 2. usually it's 0 and 2 causing the issue. Hope this helps


    Assuming you are using a TPM?
     
  6. bruno.uy

    bruno.uy Notebook Enthusiast

    Reputations:
    0
    Messages:
    40
    Likes Received:
    24
    Trophy Points:
    16
    @Stooj I couldn't find how the switch is triggered. Process Monitor doesn't show any work process being created. Maybe it asks a driver to do it? I'll have to investigate how to debug that.

    @flame Thanks, disabling PCR 2 did the trick. I also enabled PCRs 5, 8, 9, 10 and 11 as you suggested to try and make up for the loss of security due to disabling PCR 2.
     
  7. FlameHaze

    FlameHaze Notebook Consultant

    Reputations:
    14
    Messages:
    123
    Likes Received:
    24
    Trophy Points:
    31
    You are most certainly welcome. Usually it's caused by option 2 since the GPUs invoke optional ROMs during post which are hidden to the user(unless you enable display optional ROM code in the vbios)

    Super glad to know for future reference the cause is indeed 2
     
  8. bruno.uy

    bruno.uy Notebook Enthusiast

    Reputations:
    0
    Messages:
    40
    Likes Received:
    24
    Trophy Points:
    16
    I would rather have the Intel GPU present even when the screen is plugged to the Nvidia for G-Sync. The TPM wouldn't get confused and the Intel could help the Nvidia if the software takes advantage of the new SLI like configurations in DirectX 12.
     
  9. bruno.uy

    bruno.uy Notebook Enthusiast

    Reputations:
    0
    Messages:
    40
    Likes Received:
    24
    Trophy Points:
    16
    Well, I've since disabled every group policy setting and Bitlocker doesn't ask me for the recovery key anymore when switching GPUs. I don't know if newer drivers fixed this or what.