Showing posts with label Vista. Show all posts
Showing posts with label Vista. Show all posts

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!

keep IE safe and sound

One wonders those free programs that allows one to clear traces especially after using MSIE, either shareware, trial or donationware etc. Well, I write a DOS batch file called rundll32_vista.cmd:

echo off

echo delete IE addons tracking records
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

echo delete IE miscellaneous files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

echo delete IE password stored
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

echo delete IE autofill form data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

echo delete IE temporary files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

echo delete IE cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

echo delete IE history list
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

pause
exit

which do the most daunting job ever for me free of downloading them. See the magic works!

remove Unused devices

After sometime ago I wonder what devices have been installed via its Automatic Updates in XP or Vista. Normally these hidden device names are not visible in Device Manager and I have to sieve through Windows registry database to locate and verify one by one. Then an idea of DOS scripting came to my mind, so I started to write a batch file:


echo off

set devmgr_show_nonpresent_devices=1
devmgmt.msc
exit

that allows me to view all devices that are commonly displayed by Windows and check its device properties to make wise judgment. Wow, superb!

surf Wireless without heavy loads

Everytime I need to use wireless on my system, I have to manually disable or turn off the common NT services via Services.msc, so, I write a DOS batch file called offline.bat:


echo off
cls

net stop LanmanServer

net stop LanmanWorkstation

net stop W32Time

net stop WSearch

net stop stisvc

net stop Eventlog

net stop WebClient

This saves me lot of hassles and less error prone to many clicks doing this set of task. And, these services seem not in use for most of my development work. It has no harm of disabling them that would save up system resources. Safe and sound!

measure Vista grading

WinSAT grading result just passed and reported onto a web page in Vista. The benchmark has no shortcut link in its Start Menu, so, I write a DOS batch called measure.bat:

echo off

winsat graphicsformal -aurora -moobe -wddm

winsat dwm -normalw 10 -glassw 4 -time 10 -v -fullscreen

winsat d3d -totalobj 20 -objs C(20) -totaltex 10 -texpobj C(1) -alushader -noalpha -fullscreen -v -time 10

that displays 3D objects while running the benchmark tests by its own WinSAT graphicas engine. The Aurora shows windowblinds of lights (an array of different thin lighting colors). Give it a try!