• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Quick vista services on/off

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Quick vista services on/off

    Some will know all this but it took me quite a while to find it so it may be useful if you don't.

    I turn as many Vista services off as possible to improve speed/prevent disc thrash but sometimes, eg when doing a manual update, you need them on again and it's a hastle using the services window. This batch file turns on volume shadow copy, windows update, windows modules installer and Microsoft Software Shadow Copy Provider:

    sc config VSS start= demand
    sc config wuauserv start= demand
    sc config TrustedInstaller start= demand
    sc config swprv start= demand

    For other services you can get the service name from name in services window by a start/run/cmd then eg
    sc getkeyname "Volume shadow copy"
    returns VSS

    Batch to turn off again after update is same with disabled instead of demand. Note that the space after the = matters! Note also that if not logged on as administrator you must right click and run batch file as administrator.
    Last edited by xoggoth; 16 December 2009, 16:54.
    bloggoth

    If everything isn't black and white, I say, 'Why the hell not?'
    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

    #2
    Excellent
    Confusion is a natural state of being

    Comment


      #3
      format c:

      Turns off vista...

      Comment


        #4
        "right click and run batch file as administrator"

        that's why my scripts to fire up and stop the sql services in windows7 weren't working! cheers zog.

        Comment


          #5
          I have been using "sc" for years because it takes longer to find your way there via the interface. Even quicker getting to the service control panel by typing "services.msc" in a dos window.

          Comment


            #6
            Or just set the services to manual and they will start only when required

            Comment


              #7
              Not true if you mean required by user and not some other pointless unknown process. If in manual, TrustedInstaller and VSS frequently start up and are among the worst disc thrashers.
              bloggoth

              If everything isn't black and white, I say, 'Why the hell not?'
              John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

              Comment

              Working...
              X