diff --git a/src/sbbs3/build.bat b/src/sbbs3/build.bat
index 9d4a61260874d61bd0e144f979aa2a2ff87a7674..aa15b916b3f5d847232be536a10e6004c918c618 100755
--- a/src/sbbs3/build.bat
+++ b/src/sbbs3/build.bat
@@ -2,5 +2,5 @@
 setlocal
 rem *** Requires Microsoft Visual C++ 2022 ***
 call "%VS170COMNTOOLS%\VsMSBuildCmd.bat"
-msbuild sbbs3.sln /p:Platform="Win32" %*
+msbuild sbbs3.sln /p:Platform="Win32" /p:XPDeprecationWarning=false %*
 if errorlevel 1 echo. & echo !ERROR(s) occurred & exit /b 1
\ No newline at end of file