14 comments on “howto script disable unnecessary services in winxp

  1. Pingback: review: torq xponent dj system on clevo D990k mobile desktop «

  2. FYI, when using your script as a starting point, I had to S&R the curly quotes above with straight quotes to get it to run.

    Nice work on the post!

    Laurel

  3. @ Laurel

    They should be double quotes ”
    It won’t work as single quotes ‘ (for me)

    – but if it worked for you maybe others will have the same issue! Thanks for the feedback

  4. How do I stop and disable a single service for a group of windows servers using the sc comand and a list file?

    Thanks,

  5. Using XP, I’ve gotten it to work before but now all I get is
    [SC] ChangeServiceConfig FAILED 5:
    Access is denied.

  6. Any way to get the list of ALL services, then disable all except the ones in a list that you choose?

  7. manage system restore from command promt line (using these cmd command):

    1) Turn Off (delete all system restore points) :
    sc config srservice start= disabled
    Reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore” /v DisableSR /t REG_DWORD /d 1 /f
    net stop srservice

    2) Turn On
    sc config srservice start= Auto
    net start srservice
    Reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore” /v DisableSR /t REG_DWORD /d 0 /f

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s