Hi, Sorry, resending it.
Any suggestion? From: Haritwal, Dhiraj [mailto:[email protected]] Sent: 05 April 2013 21:49 To: NT System Admin Issues Subject: Script to Enable Bitlocker Hi, I am trying to create a Powershell script to enable bitlocker on windows 7 like below but don't know how to club them in a single script. Tried with EnableBitLocker.vbs but don't know how to set a generic PIN with this vbs. Enable bitlocker on C Drive with recovery key & PIN set generic PIN Enable bitlocker on D Drive with autounlock manage-bde -on C: -rp manage-bde -changepin C: manage-bde -autounlock -enable D: manage-bde -on D: -rp Got below code from Felipe Binotto's Blog (http://fbinotto.blogspot.in/#!/2012/06/powershell-set-bitlocker-pin-only-if.html) to set generic PIN. Kindly help me to club all parts in 1 code. $bit = Get-WmiObject -Namespace root\cimv2\security\microsoftvolumeencryption -class win32_encryptablevolume $bit.ProtectKeyWithTPMAndPin("","","123456") Need expert's help to resolve it. Regards, Dhiraj ________________________________ This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway.. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ________________________________ This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway.. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
