How do I deploy this Bitlocker WMI script?

How can I deploy this script without SCCM, or SMS. I am trying to put it in a GPO in the "startup script" settings. Is this correct? I believe I need to edit certain parts of the script but Im new to scripting. Can someone help? Especially someone who has actually deployed this script outside of SCCM, SMS. Thanks
Thomas NSystems Analyst - Windows System AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
I get errors in picture attached when I just click on the .vbs file to see what happens but arent these settings configured in the GPO? 

I did these steps.
btanExec ConsultantCommented:
Thought you may want to check out my past EE advice using Powershell or the WMI you stated

But specifically referencing the 2010 Q&A forum that user shared this script works perfectly for windows 7 machines and need to include option such as this "cscript bitlocker.vbs /on:tpm /l:c:\temp\bitlocker.log"

Note for an updated script (dated last of 19 Feb 2014 ) to also support Win8/8.1 and server 2012, you can see
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
Thanks btan so do I need to put "cscript bitlocker.vbs /on:tpm /l:c:\temp\bitlocker.log" inside the script? Im assuming. Do I just put it at the top of the script text? Sorry im not good at scripting.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
Above  "On Error Resume Next"?
btanExec ConsultantCommented:
To make it easier, pls see using the HTA

otherwise, using any batch File (.bat) just add below this into a batch file or other script

 C:\bitlockertemp\enableBitLocker.vbs /on:tpm /l:C:\bitlockertemp\log.txt
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
Okay I did the .bat file pointing to the .vbs  and now no errors but nothing happens.  Any suggestions?
btanExec ConsultantCommented:
Check if the C:\bitlockertemp\log.txt existence, there should be error mgs etc otherwise besides saying you need local admin rights, see this too
I found that during the script I was creating a log file to a directory that did not exist. This was causing the script to fail with no information and look like it completed. Once the script was written to create the directory before the script was run it would allow the script to function correctly.. So now seems that permissions had nothing to do with the script failing after all.
Supposedly if we open a command prompt and type manage-bde -status, the protection status is in "Protection On" - can see the screenshot under (near end of article).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
Ok let me check
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.