From fafd7a2010562e63a8be7be7e71b23a5eea4dad0 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Sat, 15 Feb 2025 15:31:18 -0800 Subject: [PATCH] Update Enable GamesDows Steam V3.bat --- Enable GamesDows Steam V3.bat | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Enable GamesDows Steam V3.bat b/Enable GamesDows Steam V3.bat index 384f269..6e8b56c 100644 --- a/Enable GamesDows Steam V3.bat +++ b/Enable GamesDows Steam V3.bat @@ -1,6 +1,15 @@ @echo off SETLOCAL EnableExtensions EnableDelayedExpansion - +echo Checking for administrative privileges +net session >nul 2>&1 +if %errorlevel% neq 0 ( + echo ==================================================== + echo This script must be run with administrative privileges. + echo Please right-click on the script and select "Run as administrator." + echo ==================================================== + pause + exit /b +) echo Setting Steam Big Picture as default shell echo Set Steam Big Picture as the default shell