![]()
Use these bat files to help your maintenance of Windows. To understand how batch files work see Understanding .bat Files They switch off certain Windows services that you don't need to have running all the time. The fewer services you have running the quicker and more responsive your computer will be. Backup your important files and make a restore point in case your computer does not boot up properly after any changes. DOWNLOAD Computer Management On.bat DOWNLOAD Computer Management Off.bat Switches on or off programs necessary for indepth computer maintenance using Event Viewer and Performance Logs. DOWNLOAD Windows MSI Installer On.bat This is a required service when installing a software package that uses the MSI extension, like many Windows Updates. DOWNLOAD Windows MSI Installer Disable.bat Use this if you want to disable the Windows Installer service. DOWNLOAD Event Log On.bat DOWNLOAD Event Log Disable.bat Use this to reduce your services footprint to the bare minimum and only if your computer is not using the internet or network. Requires a reboot to switch off. Note: it is a required service for proper functionality of Security Center and Windows Firewall/Internet Connection Sharing. DOWNLOAD BITS On.bat Switches on Background Intelligent Transfer Service required for Windows Update. Understanding .bat files: To view the contents of a bat file you must change the extension from .bat to .txt and then open the file in Notepad. Setting the Startup State of Services In the example 'sc config ALG start= disabled' we set the startup state of ALG to disabled. The service names are case sensitive, and commands used must be lowercase. 'sc' means Windows service 'config' means configuration 'ALG' is the Windows service name for Application Layer Gateway in this example 'start=' means to set the startup state 'disabled' is the startup state in this case The options for the startup state are as follows: 'disabled' - service will not start up when your pc switches on, and it will not start up if other software tries to start it for their use. Under the Services list this state is also called 'Disabled' 'demand' - service will not start up when your pc switches on, if other software tries to start it then it will start up, in most cases it will turn of again after use. Under the Services list this state is called 'Manual' 'auto' - service will start up when your pc switches on, and it will stay on even if it is not being used by any software. Under the Services list this state is called 'Automatic' To view the list of services available on your system go to Start/Control Panel/Administrative Tools/Services. Starting and Stopping Services In the example 'sc stop ALG' we stop the ALG service. To start ALG we would use 'sc start ALG'. You can only start a service after you change its state to Manual or Automatic. You can stop a service before or after you change its state to Disabled. Some services (like Event Log and DCOM) don't switch off when you tell them to, so it is necessary to reboot the computer. If the startup setting for a service is set to 'disabled' then the service will not switch on after the reboot. If it is set to 'demand' it will only switch on if another program needs to use it, if it has no work to do and is not in use by another program it will usually switch off. If it is set to 'auto' it will switch on and stay on, if it requires another service to function that is disabled it will not switch on. Services will only switch on if the services they depend on to function are not set to Disabled - rightclick the service for Properties (or doubleclick) and check the Dependencies tab. ©Helptree Services 2010 |