KNOX-320: Simplify scripts for using Knox on windows (v2).
(cherry picked from commit 0a716a7657f632afa6fcbac6535064d9d8e70bac)