diff --git a/hvswitch.cmd b/hvswitch.cmd index 8838fee..969f251 100644 --- a/hvswitch.cmd +++ b/hvswitch.cmd @@ -17,7 +17,7 @@ Administrator rights required set choice=%~2 :Admin_Check - net session >nul 2>&1 + openfiles >nul 2>&1 if %errorLevel% == 0 ( set code=0 ) else (