Showing posts with label services. Show all posts
Showing posts with label services. Show all posts

Sunday, November 4, 2012

comment_icon 0 Boosting up your COMPUTER STARTUP

Iyour computer or Laptop takes time during start-up after you installed few heavy softwares ? Don't worry there is way you can decrease your computer start-up time .before we go down lets understand how it works.
Whenever you install software like oracle,DB2,SQLServer,Apache etc. they will install there services which will be started every time you turn on your pc,like when you install oracle it will add few services given below.

OracleDBConsoleorcl
OracleOraDb10g_home1TNSListener
OracleServiceORCL

so what we gonna do then because these services are essential to use the products ? so what we do is we disable these services to start on system boot  ,and whenever we need then we start them manually. But this will become hectic to type the command every time  so what we gonna do is we will make a batch file for this task .and when ever we need them we will make a single click.

Disabling services from getting started on system boot.

    1. click on start button
    2. type cmd right click and run as administrator
    3. Command Prompt will popup as shown.
    4. type net start all the service list is shown just note down the services name you want to disable and set the startup to manually .
    5. Now open Notepad
    6. for every service type following command  sc config service-name start= demand (note the space between = and demand)
    7. save file as set_servicemanual.bat (in file type select as all files)
    8. Run saved file as administrator
    9. for our example Notpad file looks like  
sc config OracleDBConsoleorcl start= demand
sc config OracleOraDb10g_home1TNSListener start= demand
sc config OracleServiceORCL start= demand 
pause

Creating the Batch file for manual starting services

    1. open notepad
    2. for every service type command as  net start "service name" 
    3. save file as start_servicemanual.bat (in file type select as all files)
    4. Run saved file as administrator
    5. for our example Notpad file looks like   
net start "OracleDBConsoleorcl"
net start "OracleOraDb10g_home1TNSListener"
net start "OracleServiceORCL"
pause