proper root checking for mite root on windows