I am trying to script the association of a bitlocker pin on existing encrypted drives. I am able to open up the command prompt and can go ahead as the administrator of the system and run: manage-bde.exe -protectors -add c: -tp 1234
I figured out that it is going fine without any issues . However, if I launch the command prompt running with the normal user account and then use ranas with the same account it fails.
runas /user:domain\useraname "manage-bde.exe -protectors -add c: -tp 1234"
I suspect that there is some configuration which is required to make with the UAC, but I am not sure about this ...
Bookmarks