Lorenzo Battistutta Posted November 17, 2025 Posted November 17, 2025 (edited) ///////////////////////////////////////////////////////////////////////// Generate by Ladykaka77 with IA support //////////////////////////////////////////////////////////////////////// // I created these 2 optimization files for ETLegacy. In short, they disable all the services that cause microlags, run ETLegacy with its configs, execute // vid_restart and connect to the server, set com_hunkmegs, and when I close ETLegacy, all the stopped services become active again. If anyone might be // interested, you just need to change the parameters. Have a good day. //Disable windows services, load ETLegacy with cfgs, and enter the game @echo off setlocal enabledelayedexpansion echo. echo ================================================================= echo START PRE-GAME OPTIMIZATION (Disabling Windows Update) echo ================================================================= echo. :: *************************************************************** :: CONFIGURATION :: *************************************************************** set GAME_PATH="D:\ETLegacy2" set GAME_EXE="etl.exe" set SERVER_CONNECT_INFO="135.148.137.185:27960" set HOME_PATH="D:\Documenti_nuovi\ETLegacy" :: *************************************************************** :: *************************************************************** :: 1. STOPPING UPDATE AND BACKGROUND SERVICES :: *************************************************************** echo 1a. Stopping Windows Update Services... sc config wuauserv start= demand > NUL 2>&1 & net stop wuauserv > NUL 2>&1 sc config UsoSvc start= demand > NUL 2>&1 & net stop UsoSvc > NUL 2>&1 sc config BITS start= demand > NUL 2>&1 & net stop BITS > NUL 2>&1 echo [OK] Windows Update and BITS services managed. echo. echo 1b. STOPPING SECONDARY SERVICES Sync Services, Notifications, etc... sc config WpnService start= disabled > NUL 2>&1 & net stop WpnService > NUL 2>&1 sc config CDPSvc start= disabled > NUL 2>&1 & net stop CDPSvc > NUL 2>&1 net stop CDPUserSvc_d4b9c > NUL 2>&1 net stop OneSyncSvc > NUL 2>&1 sc config LGHUBUpdaterService start= disabled > NUL 2>&1 & net stop LGHUBUpdaterService > NUL 2>&1 sc config SecureLine start= disabled > NUL 2>&1 & net stop SecureLine > NUL 2>&1 sc config DellClientManagementService start= disabled > NUL 2>&1 & net stop DellClientManagementService > NUL 2>&1 sc config DellTechHub start= disabled > NUL 2>&1 & net stop DellTechHub > NUL 2>&1 sc config InventorySvc start= disabled > NUL 2>&1 & net stop InventorySvc > NUL 2>&1 sc config Everything start= disabled > NUL 2>&1 & net stop Everything > NUL 2>&1 echo [OK] App Update and Synchronization Services managed. echo. echo ================================================================= echo SERVICE STOP COMPLETED. Press any key to start the game. echo ================================================================= pause cls :: *************************************************************** :: 2. STARTING THE GAME :: *************************************************************** echo 2a. Starting ET: Legacy and loading (lenovo.cfg and performance.cfg)... CD /D %GAME_PATH% START "" %GAME_EXE% +set fs_homepath %HOME_PATH% +set com_hunkmegs 512 +exec lenovo.cfg +exec performance.cfg +set rate 45000 +connect %SERVER_CONNECT_INFO% echo. echo ================================================================= echo GAME STARTED echo ----------------------------------------------------------------- echo ** When you close the game, press any key in this window to ** echo ** REACTIVATE Windows services. ** echo ----------------------------------------------------------------- echo ================================================================= :: PAUSE for manual wait. pause cls :: *************************************************************** :: 3. SYSTEM RESTORATION AND CLOSURE :: *************************************************************** echo. echo ================================================================= echo SYSTEM RESTORATION IN PROGRESS... echo ================================================================= echo. echo 3a. Re-enabling Standard System Services ... sc config wuauserv start= demand > NUL 2>&1 net start wuauserv > NUL 2>&1 sc config UsoSvc start= demand > NUL 2>&1 net start UsoSvc > NUL 2>&1 sc config BITS start= auto > NUL 2>&1 net start BITS > NUL 2>&1 sc config WpnService start= auto > NUL 2>&1 net start WpnService > NUL 2>&1 sc config CDPSvc start= auto > NUL 2>&1 net start CDPSvc > NUL 2>&1 net start CDPUserSvc_d4b9c > NUL 2>&1 net start OneSyncSvc > NUL 2>&1 echo [OK] Standard System Services restored. echo. echo 3b. Re-enabling Manufacturer App Updates... PING 127.0.0.1 -n 11 > NUL sc config LGHUBUpdaterService start= auto > NUL 2>&1 net start LGHUBUpdaterService > NUL 2>&1 sc config SecureLine start= auto > NUL 2>&1 net start SecureLine > NUL 2>&1 sc config DellClientManagementService start= auto > NUL 2>&1 net start DellClientManagementService > NUL 2>&1 sc config DellTechHub start= auto > NUL 2>&1 net start DellTechHub > NUL 2>&1 sc config SupportAssistAgent start= auto > NUL 2>&1 net start SupportAssistAgent > NUL 2>&1 sc config InventorySvc start= auto > NUL 2>&1 net start InventorySvc > NUL 2>&1 sc config Everything start= auto > NUL 2>&1 net start Everything > NUL 2>&1 echo [OK] Manufacturer App Update Services restored. echo. echo ================================================================= echo AUTOMATION COMPLETE. All stable services have been restored. echo Now press any key to close the window. echo ================================================================= pause ENDLOCAL EXIT /B //////////////////////////////////////////////////////////////////////////////////////////////// Start services SOS //////////////////////////////////////////////////////////////////////////////////////////////// @echo off setlocal enabledelayedexpansion title STARTING WINDOWS UPDATE BITS AND USOSVC (EMERGENCY) echo. echo ================================================================= echo ATTENTION: This script reactivates critical Windows services. echo Use this in case the Optimized ETLegacy script accidentally closes. echo ================================================================= echo. echo 3a. Reactivating System Updates in progress... :: *************************************************************** :: Critical Windows Services :: *************************************************************** sc config wuauserv start= demand > NUL 2>&1 net start wuauserv > NUL 2>&1 sc config UsoSvc start= demand > NUL 2>&1 net start UsoSvc > NUL 2>&1 sc config BITS start= auto > NUL 2>&1 net start BITS > NUL 2>&1 :: *************************************************************** :: Additional services that were active (WpnService, CDPSvc, Sync, Manufacturer) :: *************************************************************** sc config WpnService start= auto > NUL 2>&1 net start WpnService > NUL 2>&1 net start WpnUserService_d4b9c > NUL 2>&1 sc config CDPSvc start= auto > NUL 2>&1 net start CDPSvc > NUL 2>&1 net start CDPUserSvc_d4b9c > NUL 2>&1 sc config LGHUBUpdaterService start= auto > NUL 2>&1 net start LGHUBUpdaterService > NUL 2>&1 sc config DellClientManagementService start= auto > NUL 2>&1 net start DellClientManagementService > NUL 2>&1 sc config DellTechHub start= auto > NUL 2>&1 net start DellTechHub > NUL 2>&1 sc config InventorySvc start= auto > NUL 2>&1 net start InventorySvc > NUL 2>&1 echo [OK] All critical and secondary services have been restored. echo. echo ================================================================= echo EMERGENCY RESTORATION COMPLETED. echo Press any key to close. echo ================================================================= pause ENDLOCAL EXIT /B The file to use is ---> stop updates.bat only in case of accidental closure of the command prompt, run ----> start updates. bat which would be the emergency service reactivation file. START UPDATES.batSTOP UPDATES.bat Edited November 17, 2025 by Lorenzo Battistutta Quote
ET Member RNGesus Posted November 17, 2025 ET Member Posted November 17, 2025 I would not recommend this be used by anyone. It does not even check if these update processes are idle before killing them.... Was this made by AI? I suggest checking for is busy before terming any windows related update service 2 Quote
Lorenzo Battistutta Posted November 19, 2025 Author Posted November 19, 2025 On 11/18/2025 at 12:26 AM, RNGesus said: I would not recommend this be used by anyone. It does not even check if these update processes are idle before killing them.... Was this made by AI? I suggest checking for is busy before terming any windows related update service IT ONLY SERVES TO PREVENT WINDOWS UPDATES AND OTHER APPS FROM STARTING, AND IS A QUICKER WAY TO ENTER ETLEGACY AND PLAY SMOOTHLY, NO ONE IS OBLIGED TO TRY IT, JUST TO BE CLEAR, GOODBYE Quote
MosesIsComingLookBusy Posted November 19, 2025 Posted November 19, 2025 can also use Process Lasso 1 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.