simplified priviledge test on Windows