Saturday, January 17, 2009

make Gaming smoother

Nowsdays games eat lots of system resources, most NT services can be disabled. So, I write a DOS batch called services_xp.bat:

echo off

echo.
echo Ready to turn off NT services before playing games....
pause

echo .NET Runtime Optimization Service v2.0.50727_X86
pause
net stop clr_optimization_v2.0.50727_32

echo .
echo DHCP Client
pause
net stop dhcp

echo.
echo Distributed Link Tracking Client
pause
net stop TrkWks

echo.
echo DNS Client
pause
net stop Dnscache

echo.
echo Fast User Switching Compatibility
pause
net stop FastUserSwitchingCompatibility

echo.
echo Help and Support
pause
net stop helpsvc

echo.
echo IPSEC Services
pause
net stop PolicyAgent

echo.
echo LightScribeService Direct Disc Labeling Service
pause
net stop LightScribeService

echo.
echo Print Spooler
pause
net stop Spooler

echo.
echo Remote Registry takes very long time to disable itself. mission abort.
pause
rem net stop RemoteRegistry

echo.
echo Server
pause
net stop lanmanserver

echo.
echo SSDP Discovery Service takes very long time to disable itself. mission abort.
pause
rem net stop SSDPSRV

echo.
echo TCP/IP NetBIOS Helper takes very long time to disable itself. mission abort.
pause
rem net stop LmHosts

echo.
echo Themes
pause
net stop Themes

echo.
echo Workstation
pause
net stop lanmanworkstation

echo.
echo All done well.
echo ready to exit
pause
exit

that will automatically perform the disabling task. This really put me smile all day long!

No comments:

Post a Comment