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!
Showing posts with label disk caching. Show all posts
Showing posts with label disk caching. Show all posts
Saturday, January 17, 2009
clear Game caches
Running one of SysInternal Suite utility, called Contig, which make defragmentation a lot faster. However, if those caching that created by most games, like Rise of Nations, I would rather have it removed before defragmenting my hard disk drive. So, I sat down to graft a DOS batch which:-
1) go into '%userProfile%\Application Data\Microsoft Games\Thrones and Patriots Trial\'
2) remove all subfolders, except 'StateBackup'
Of course, I can easily use Windows Explorer to remove them. But the batch file does the clean job!
1) go into '%userProfile%\Application Data\Microsoft Games\Thrones and Patriots Trial\'
2) remove all subfolders, except 'StateBackup'
Of course, I can easily use Windows Explorer to remove them. But the batch file does the clean job!
Subscribe to:
Posts (Atom)