Create bitlocker partition using k1000 script
I'm having trouble getting the bdedhcfg.exe to run via k1000 script. I've tried as a "launch program" "run batch". I've tried making a vb script and calling the script as a dependency.
Basically I've been able to us HP bios config to turn on the TPM without a prompt and use a vb script that takes ownership of the tpm and turns on bitlocker. I just can't seem to get a partition generated via kace. I can run my batch files from the pc, but when I script it in kace it fails "bdehdcfg is not a valid cmdlet". I've set up these scripts the same way I used the hpbiosconfig.exe or a simple shutdown through cmd.
Any reccomended partition solutions?
What user permissions are you running the batch script under when you run it locally? I'd guess you would have to be an administrator to run those commands and by default the K1000 runs scripts as LocalSystem. You would need to use the "run as" feature of an online Kscript to run it as admin.
Do you give the K1000 full file paths when you run it from there? I've seen some instances where the batch file couldn't determine file locations and would error out.