Windows 10: Enable Bitlocker by using a script

Discus and support Enable Bitlocker by using a script in Windows 10 Customization to solve the problem; Hi Everyone, My first post in here, hopefully you can help me out with this simple question. I've been able to create a GPO to deploy a script on... Discussion in 'Windows 10 Customization' started by KasparDanielsen, May 7, 2020.

  1. Enable Bitlocker by using a script


    Hi Everyone,


    My first post in here, hopefully you can help me out with this simple question.


    I've been able to create a GPO to deploy a script on all user machines and execute with a Scheduled Task with the use of SYSTEM permissions. Not a logon script etc.


    It works perfectly fine.. the Bitlocker encryption keys just ends up in the AD multiple times. It's due to gpupdate that makes the script run again and my statement might just ignore that the drive already is encrypted at that point.. by running over and over again.


    I've taken it from a Intune Bitlocker script and removed the unnecessary parts, but I believe it just ignore the part that the state is not in "FullyDecrypted" after the first run and just run the "Enable-BitLocker -MountPoint "C:" -RecoveryPasswordProtector" command over and over again.


    Why won't it skip when the volumestatus isn't -eq "FullyDecrypted"?


    Script:

    Get-BitLockerVolume "C:"

    $bdeStartingStatus = Get-BitLockerVolume "C:"



    $bdeProtect = Get-BitLockerVolume "C:" Select-Object -Property VolumeStatus



    if $bdeProtect.VolumeStatus -eq "FullyDecrypted" {



    # Enable Bitlocker

    Enable-BitLocker -MountPoint "C:" -RecoveryPasswordProtector

    }


    Kind Regards,

    Kaspar Danielsen

    :)
     
    KasparDanielsen, May 7, 2020
    #1

  2. BitLocker won't enable on Windows 10 after update on Aug 9

    Hi Brenda,

    I would be happy to assist you.

    Before I assist you I would like to know the information below,


    • Do you have a Windows 10 copy of the operating system?

    I suggest you check whether the Bit locker is ON or OFF using the steps below.

    Can you verify if BitLocker is enabled or disabled on your device? You can Enable/disable BitLocker by going to Desktop and follow these steps:


    • Swipe Right to Left to bring up the Charm.

    • Choose Settings.

    • Choose Control Panel.

    • Select BitLocker Drive Encryption.

    • Verify whether BitLocker is on or off on each device.
    Also I suggest you to enable the WinRE so that you can enter the bit locker key and proceed.

    When WinRE is disabled, you cannot enable BitLocker, and you receive an error message that resembles the following.

    This PC doesn't support entering a BitLocker recovery password during startup. Ask your administrator to configure Windows Recovery Environment so that you can use BitLocker.

    The solution would be to manually enable the windows recovery environment:


    • Copying the winre.wim file from c:\windows\system32\recovery\ to a folder on a recovery partition. (The partition need to have a drive letter at this point.)

    • Set the RE Image path. Example: reagentc /setreimage /path r:\recovery\windowsre

    • Enable RE with command: reagentc /enable

    • (You may remove the drive letter for the recovery partition after you have done this.)

    • Bit locker will be enabled.
    If the issue still persists, suggest you to post your query on the below link.

    https://technet.microsoft.com/en-us/library/hh831507(v=ws.11).aspx

    Hope this information was helpful and do let us know if you need further assistance. We will be glad to assist.

    Thank you.
     
    Vidyashree_C, May 7, 2020
    #2
  3. Ernie San Win User
    Bitlocker

    Hello Nandana,

    To enable BitLocker on your computer, you follow the steps below:

    • Sign in to your Windows account with an administrator access.
    • Press the Windows key.
    • Type and enter BitLocker.
    • Click Turn on BitLocker.
    • If the system is asking to sing in to administrator access, please do so.
    For additional information about BitLocker, we suggest that you check the frequently ask question on this
    link. The link provided applies to Windows 8.1 to higher version.

    If you have other concerns, don't hesitate to reach us.
     
    Ernie San, May 7, 2020
    #3
  4. Enable Bitlocker by using a script

    Clone Bitlocker enable drive to SSD

    Keitaro

    My name is Andre Da Costa; an Independent Consultant, Windows Insider MVP and Windows & Devices for IT MVP. I'm here to help you with your problem.

    Heed the advice of the software, you must disable BitLocker before cloning. This is highly recommend if you ever want to get access to the drive.

    There is nothing wrong with having to re-enable it after restoring the clone.

    Step 1: disable BitLocker.

    Step 2: clone drive

    Step 3: restore the cloned image to the new drive.

    Step 4: Re-Enable BitLocker.
     
    Andre for Directly, May 7, 2020
    #4
Thema:

Enable Bitlocker by using a script

Loading...
  1. Enable Bitlocker by using a script - Similar Threads - Enable Bitlocker using

  2. Unable to enable BitLocker

    in AntiVirus, Firewalls and System Security
    Unable to enable BitLocker: While enabling bitlocker getting error, screenshot attached https://answers.microsoft.com/en-us/windows/forum/all/unable-to-enable-bitlocker/1664feef-f130-43b1-833f-d19c3d4b99b4
  3. Bitlocker Randomly Enabled

    in AntiVirus, Firewalls and System Security
    Bitlocker Randomly Enabled: Hi,On my personal Lenovo laptop, Bitlocker somehow randomly was enabled. I have not enabled it, and I followed the recovery steps without luck. It seems that it was enabled during an update. I logged into my Microsoft account, see that the laptop is listed, but there is no...
  4. Cannot enable BitLocker, device can't use TPM

    in AntiVirus, Firewalls and System Security
    Cannot enable BitLocker, device can't use TPM: I have two drives, one stores the OS and the other stores other files. I have BitLocker enabled on the second drive but cannot seem to enable it on the first drive containing the OS. Please see error message below. I have a TPM chip installed on my board.. so I do not see...
  5. Cannot enable BitLocker

    in AntiVirus, Firewalls and System Security
    Cannot enable BitLocker: Hi all, I need help with drive encryption. The BitLocker keeps giving me an error with a message "The startup options on this PC are configured incorrectly. Contact your system administrator for more information". [ATTACH] I have attempted everything I could on my...
  6. Bitlocker Not Enabling

    in AntiVirus, Firewalls and System Security
    Bitlocker Not Enabling: I just started up Bitlocker, and completed most of the process, but the program ever got around to encrypting. I assume this is due to system administrator lock-out, but I've confirmed I have sys admin privileges. This is a brand-new computer without a network. Attached is...
  7. enable windows script host

    in Windows 10 BSOD Crashes and Debugging
    enable windows script host: Help me please, I cannot find how to enable windows script host. https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/enable-windows-script-host/99c42619-8537-416c-86dc-e6f27449fa72
  8. Enabling BitLocker

    in AntiVirus, Firewalls and System Security
    Enabling BitLocker: On my personal laptop, I'm trying to turn on BitLocker and I get this notice. Does anyone know and have any detailed instructions on how I can do this? https://answers.microsoft.com/en-us/windows/forum/windows_10-security/enabling-bitlocker/5ff617a2-e9da-44ea-827f-131e28056882"
  9. Enabling Bitlocker with GPO

    in AntiVirus, Firewalls and System Security
    Enabling Bitlocker with GPO: Once the GPO for BitLocker's settings have been configured and assigned do I still need to manually enable Bitlocker on the specific device or should the GPO kick off the process automatically? 95742
  10. Bitlocker in w10pro when enabled - mainly only laptops use it?

    in AntiVirus, Firewalls and System Security
    Bitlocker in w10pro when enabled - mainly only laptops use it?: I just upgraded 81 Pro to 10 Pro Bitlocker in w10pro when enabled - mainly only laptops use it? - in Win 10 Pro exist danger(possibility) locks you out and cannot access PC or files...even i insert correct password? 17007

Users found this page by searching for:

  1. auto Enable BitLocker script