KNOX-320: Simplify scripts for using Knox on windows (fix).
(cherry picked from commit 83fe6647f3122378e1eae739df37c4d8041bc424)