Using the registry editor to change the service state

31 December 2003 by Snakefoot | Comment » | Trackback Off
  1. Start the Registry Editor by pressing the Start-button and Run... this command:

    Regedit

  2. Browse through the left tree to where Services are found:

    [HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services]



  3. Within the Services-key find go to the short-name of the wanted service (Here RpcSS aka. Remote Procedure Call (RPC)):

    [HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \RpcSS]



  4. Double-Click the Start-value in the list to the right.



  5. Change Value data: to the wanted state:
    • 0 = Boot
    • 1 = System
    • 2 = Automatic
    • 3 = Manual
    • 4 = Disabled
  6. Press Ok and exit the Registry Editor.
  7. If setting a service to Disabled or Manual, then execute this command to stop the service:

    Net Stop RpcSS

  8. If setting the service to Automatic, then execute this command to start the service:

    Net Start RpcSS

Note in this guide the short-name of a service is shown just in parenthesis next to the "Process Name".

Note the "Automatic" startup mode was extended with "Automatic (Delayed Start)" with Windows Vista/2008. It specifies that the service startup can be delayed until after having performed user logon. It can be activated with the following DWORD registry setting:

[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \BITS]
DelayedAutoStart = 1
Start = 2

Note the "Manual" startup mode was extended with "Manual (Trigger Start)" with Windows 7/2008 R2. It specifies that the service startup can be delayed until a certain event occurs (or be stopped). See what service trigger events that are configured for a service with this command:

sc qtriggerinfo w32time


More Info MS KB Q103000
More Info MS KB Q271362
More Info MS KB Q838428 (About hardware profiles)

Updated: 12 December 2012

Comments:

Comment by Arun - 20 September 2008 @ 10:52 Reply

nice

Comment by IT Admin - 15 January 2010 @ 22:29 Reply

Hey I just wanted to say thanks alot for posting this. It is exactly the info I was looking for to help with a problem at work that I was having. Thanks again.

Comment by Nold - 18 June 2010 @ 2:59 Reply

It helped me a lot.. :) nice dude.!!!

Comment by rajwan - 20 August 2010 @ 6:42 Reply

thanks alot very useful content related to os services.

Comment by henry - 1 November 2010 @ 22:32 Reply

i get permissions error:

cannot edit start error writing the value’s new contents

i set the permissions for my user but still nothing. any ideas?

Comment by midmorog - 20 January 2011 @ 18:01 Reply

Great info and very well laid out! Thanks

Comment by Sharon Thobois - 25 March 2011 @ 5:51 Reply

I feel like a idiot because I am trying how to stop simple errors from happening but using the basic resources to track them but just keep getting deeper & deeper into things I know nothing about yet and here you are. You are giving me a way to discover how to control things which I have not been able to control in a long time. Thank you, Thank you, Thank you.
SRJT.

Comment by Dax - 31 October 2011 @ 20:26 Reply

here’s the services u can disable in windows 7 http://www.blackviper.com/2010/12/17/black-vipers-windows-7-service-pack-1-service-configurations/

Leave a comment


NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>