Author Topic: Reset all Windows services to default  (Read 60853 times)

0 Members and 1 Guest are viewing this topic.

Offline friedmonky

  • Jr. Member
  • **
  • Join Date: Oct 2011
  • Posts: 89
  • Location: USA
  • Karma: 0
    • View Profile
Reset all Windows services to default
« on: October 18, 2011, 09:49:15 AM »
Hey Shane,

I know we have been emailing about this but, was curious to hear what other peeps might think of a fix to reset all windows services to default.  Any thoughts anyone?

Rusty  :smiley:

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #1 on: October 18, 2011, 10:59:51 AM »
I can add a repair to set all the services to their default startups.

I would need to look at each version of windows at the reg keys for each Microsoft service and see what is different and if they change between service packs at all. If they all stay the same then I think I can safely have the repair put the default reg keys for each service. That could help fix a lot of broken services.

But it needs to be tested well. :wink:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline friedmonky

  • Jr. Member
  • **
  • Join Date: Oct 2011
  • Posts: 89
  • Location: USA
  • Karma: 0
    • View Profile
Re: Reset all Windows services to default
« Reply #2 on: October 18, 2011, 02:10:13 PM »
I have a Windows 7 machine that is soley used for testing purposes.  So if you want Shane, feel free to contact me about any testing that you need done.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #3 on: October 18, 2011, 03:06:09 PM »
Sure will. :wink:

First step is to get every version of windows installed fresh in vmware. grab all the Microsoft only services. SO I will need to do every OS since 2000.

I need to get my hands on 2008, only one I don't have. Only need it for this, maybe MS has a trial of it.

Then once I have all the reg keys I need to compare them, find out what is different and get the repair made and have the keys be added based on the OS the user is on.

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1060
  • Karma: 17
    • View Profile
Re: Reset all Windows services to default
« Reply #4 on: October 20, 2011, 06:57:33 AM »
Interesting suggestion/discussion.

I have a suggestion/thought as well, regarding Window Services. Perhaps you could let WR make a copy of all the existing window services and store them in a separate file (*.reg ?, *.txt ?). Then one has a copy of the Services that work and can be restored as well. Then one doesn't need to restore the entire/large parts of the registry after a virus has tampered with the services. Or is that part of the registry protected in one way or the other ?

Perhaps restoring ALL services back to their default settings is - at this moment - a number of steps too far.

I didn't know the services were stored in the registry. I use the build-in Windows System Restore Point feature hardly anymore since I installed a program called ""ERUNT"" and ""ERUNTgui"" to automatically make a copy of parts of the registry at computer start up. And I can tell you, it has saved my computer bacon at least (!!) 15 times. (Among others, from several BSODs !!).
http://www.snapfiles.com/get/erunt.html
http://www.softpedia.com/get/Tweak/Registry-Tweak/ERUNTgui.shtml

I would recommend to visit the website of a guy called ""Black Viper"". He has - IMO - good info on what Microsoft services are available in the different Operating Systems.
http://www.blackviper.com/
« Last Edit: October 20, 2011, 07:10:46 AM by Willy2 »

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #5 on: October 20, 2011, 09:24:41 AM »
First step I could do is just make a new repair that simply sets all the services back to their default start up state. (Disabled, auto and manual)

And look over the reg keys more later on.

Honestly the reg keys worries me a little. One mess up on the wrong service and the whole system is down. Makes me wonder if the reg keys is a good idea at all.

But the start up info for the services is safe. I can look up the defaults on black viper.

What do you guys think? make this repair for the next update?

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1060
  • Karma: 17
    • View Profile
Re: Reset all Windows services to default
« Reply #6 on: October 23, 2011, 03:59:07 PM »
I didn't have the time to respond inmediately. It gave me time as well, to think it over and come up with a more mature, balanced reply.

Setting services back to their default (or safe) values is certainly a good idea. (see the discussion on the Piriform forum as well).
http://forum.piriform.com/index.php?showtopic=34060

About the reg keys: One of the steps in WR is to create a System Restore Point (SRP). So, one captures the previous state of (important parts of) the registry. This clearly suggests that WR does change/repair some/a significant amount/a lot of keys in the registry. And I frankly haven't got a clue which ones and how many. I am NOT a computer tech guy although I don't consider myself to be a know-nothing computer user either. I regularly manually clean the registry. Too many programs don't remove all info from the registry. I have learned what I can (manually) clean and what not.

So, perhaps it's a good idea to enable (e.g. with an extra button) the user to create another SRP after WR has finished the repair/restore jobs. Then the user has (hopefully) a working/better functioning computer and then perhaps user wants to capture that stable state as well. Or if you don't like that then display a message that it would be recommended to (manually) make an additional SRP.

You're right. Saving/playing with the registry keys that control the Window Services is perhaps ""playing with fire"" too much, especially for know-nothing computer users.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #7 on: October 23, 2011, 05:53:11 PM »
Yeah I already decided reg keys are not going to happen.

Right now the program doesn't change any reg keys. They keys that do get changed are the ones from registering files. And of course reg key permissions.

Looks like I am looking at over 200+ services to go through. So this repair might be a little while.

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline friedmonky

  • Jr. Member
  • **
  • Join Date: Oct 2011
  • Posts: 89
  • Location: USA
  • Karma: 0
    • View Profile
Re: Reset all Windows services to default
« Reply #8 on: October 25, 2011, 02:38:14 PM »
I'm starting to feel like I shouldn't have even come up with the suggestion in the first place.  :rolleyes:  Just like all of the fixes in WR, people don't have to use them.  No one is holding a gun to their heads and making them use any of the fixes in WR.  If someone does not feel comfortable with this Windows Services fix or any other fix for that matter, then don't tick the box!  Jeeeeezz!  Is that so hard?  This is being analyzed to death on the Piriform forum - it's just a fix!  Don't like it?  Don't use it!  :omg:

By the way, no matter what anyone says, I know this Windows Services fix would be useful and would be an asset to Windows Repair.

And another thing.  No one is "playing" with reg keys.  This fix should have the reg keys set to default for all Microsoft Services.  Would be extremely useful for those who get severely infected.  I see MS Services all screwed up all the time due to viruses.
« Last Edit: October 25, 2011, 02:47:06 PM by friedmonky »

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #9 on: October 25, 2011, 02:47:47 PM »
I'm starting to feel like I shouldn't have even come up with the suggestion in the first place.  :rolleyes:  Just like all of the fixes in WR, people don't have to use them.  No one is holding a gun to their heads and making them use any of the fixes in WR.  If someone does not feel comfortable with this Windows Services fix or any other fix for that matter, then don't tick the box!  Jeeeeezz!  Is that so hard?  This is being analyzed to death on the Piriform forum - it's just a fix!  Don't like it?  Don't use it!  :omg:

By the way, no matter what anyone says, I know this Windows Services fix would be useful and would be an asset to Windows Repair.

I feel the same way. It is going ot be a safe repair. So I will add it.

You would be shocked at how many non techs use my WR, dont read a single thing, and then complain it didnt fix something or changed something. Then give WR a bad review.

GGRRR.

But the repair is helpful for my fellow techs. So I will add it. :wink:

And yes, i will get complaints and likes for it lol

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #10 on: October 30, 2011, 01:55:54 AM »
It is 2 am and my head may explode lol

But I have it done :-)

Using black vipers site I went through all the services for xp, vista, 7, 2008 & 8

194 services in total for the new repair :-)

Here is the nice thing as well, I am not touching the registry. Instead I am using the "sc config" command in a cmd window. This way if a service isn't on the system it will simply bypass it and move on. If I had used the registry instead a lot of bad things could of happened. So this is a nice safe way.

I will have the windows repair v1.5.0 out soon. Just going to test this a bit :-)

Also I removed only a few services from the repair, only because they where different on each Windows OS, what is nice is almost all the rest of the services are set the same on each OS. (Thank goodness)

Here is the current list of services it will set.

Code: [Select]
AeLookupSvc = demand
Alerter = disabled
ALG = demand
AllUserInstallAgent = demand
AppHostSvc = auto
AppIDSvc = demand
Appinfo = demand
AppMgmt = demand
aspnet_state = demand
AudioEndpointBuilder = auto
AudioSrv = auto
AxInstSV = demand
BDESVC = demand
BFE = auto
BITS = auto
bthserv = demand
CertPropSvc = demand
ClipSrv = disabled
COMSysApp = demand
CryptSvc = auto
CscService = auto
DcomLaunch = auto
defragsvc = demand
DeviceAssociationService = demand
DeviceInstall = demand
DFSR = demand
Dhcp = auto
dmadmin = demand
dmserver = auto
Dnscache = auto
Dot3svc = demand
DPS = auto
DsmSVC = demand
DsRoleSvc = demand
EapHost = demand
EFS = demand
ehRecvr = demand
ehSched = demand
EMDMgmt = auto
ERSvc = auto
EventLog = auto
EventSystem = auto
FastUserSwitchingCompatibility = demand
Fax = demand
FCRegSvc = demand
fdPHost = demand
fhsvc = demand
FontCache = auto
FontCache3.0.0.0 = demand
gpsvc = auto
helpsvc = auto
hidserv = demand
hkmsvc = demand
HomeGroupListener = demand
HTTPFilter = demand
idsvc = demand
IKEEXT = demand
ImapiService = demand
IPBusEnum = demand
iphlpsvc = auto
KeyIso = demand
KtmRm = demand
LanmanServer = auto
LanmanWorkstation = auto
lltdsvc = demand
lmhosts = auto
LPDSVC = auto
LSM = auto
Mcx2Svc = disabled
Messenger = disabled
MMCSS = auto
mnmsrvc = demand
MpsSvc = auto
MSDTC = demand
MSiSCSI = demand
msiserver = demand
napagent = demand
NetDDE = disabled
NetDDEdsdm = disabled
Netlogon = demand
Netman = demand
NetMsmqActivator = auto
NetPipeActivator = auto
netprofm = demand
NetTcpActivator = auto
NetTcpPortSharing = disabled
Nla = demand
NlaSvc = auto
nsi = auto
NtLmSsp = demand
NtmsSvc = demand
p2pimsvc = demand
p2psvc = demand
PeerDistSvc = demand
PerfHost = demand
pla = demand
PlugPlay = auto
PNRPAutoReg = demand
PNRPsvc = demand
Power = auto
ProfSvc = auto
QWAVE = demand
RasAuto = demand
RasMan = demand
RDSessMgr = demand
RemoteAccess = disabled
RpcEptMapper = auto
RpcLocator = demand
RpcSs = auto
RSoPProv = demand
RSVP = demand
sacsvr = demand
SamSs = auto
SCardSvr = demand
Schedule = auto
SCPolicySvc = demand
SDRSVC = demand
SENS = auto
SensrSvc = demand
SessionEnv = demand
ShellHWDetection = auto
simptcp = auto
slsvc = auto
SLUINotify = demand
SNMP = auto
SNMPTRAP = demand
Spooler = auto
sppsvc = auto
sppuinotify = demand
srservice = auto
SSDPSRV = demand
SstpSvc = demand
stisvc = demand
StorSvc = demand
svsvc = demand
swprv = demand
SysMain = auto
SysmonLog = demand
SystemEventsBroker = demand
TabletInputService = demand
TapiSrv = demand
TBS = demand
TermService = demand
Themes = auto
THREADORDER = demand
TimeBroker = demand
TlntSvr = disabled
TrkWks = auto
TrustedInstaller = demand
UI0Detect = demand
UmRdpService = demand
upnphost = demand
UPS = demand
UxSms = auto
VaultSvc = demand
vds = demand
vmickvpexchange = auto
VSS = demand
W32Time = demand
W3SVC = auto
WAS = demand
wbengine = demand
WbioSrvc = demand
Wcmsvc = demand
wcncsvc = demand
WcsPlugInService = demand
WdiServiceHost = demand
WdiSystemHost = demand
WdNisSvc = demand
WebClient = demand
Wecsvc = demand
wercplsupport = demand
WerSvc = demand
WiaRpc = demand
WinDefend = auto
WinHttpAutoProxySvc = demand
Winmgmt = auto
Wlansvc = demand
wlidsvc = demand
WmdmPmSN = demand
Wmi = demand
wmiApSrv = demand
WMPNetworkSvc = demand
WMSvc = demand
WPCSvc = demand
WPDBusEnum = demand
wscsvc = auto
Wsearch = auto
WSService = demand
wuauserv = auto
wudfsvc = auto
WwanSvc = demand
WZCSVC = auto
xmlprov = demand

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #11 on: October 30, 2011, 02:19:54 AM »
Here is v1.5.0 if you want to try it out before I release it :wink:

I am off to bed. Night!

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1060
  • Karma: 17
    • View Profile
Re: Reset all Windows services to default
« Reply #12 on: October 30, 2011, 09:11:52 AM »
I tried the program (I only ticked the box ""Windows services ........... "") and came across one small thing. When I restarted my laptop the system reported (system tray icon) that new hardware was (supposedly) detected. But the hardware brandname wasn't familiar to me. This never happened to me before and I hadn't change the (network-)hardware.

Franlky, I don't know how to test the services part. Haven't got a clue which services can be tinkered with, without crashing the system.

In the MS-DOS windows (cmd.exe) (in Windows XP) there came a number of messages something along the lines of: ""Service not installed"". Perhaps later more experiences.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset all Windows services to default
« Reply #13 on: October 30, 2011, 10:17:07 AM »
Quote
I tried the program (I only ticked the box ""Windows services ........... "") and came across one small thing. When I restarted my laptop the system reported (system tray icon) that new hardware was (supposedly) detected. But the hardware brandname wasn't familiar to me. This never happened to me before and I hadn't change the (network-)hardware.

This actually sounds like a good thing. One of the services is the Windows plug and play that detects new hardware. If it is disabled the system wont auto find no installed hardware. Sounds like yours was disabled and got put back to enabled and thus found some thing.

What hardware did it say it found?

Quote
Franlky, I don't know how to test the services part. Haven't got a clue which services can be tinkered with, without crashing the system.

Thats just it, if you can run it and your fine then it was a good test.

Quote
In the MS-DOS windows (cmd.exe) (in Windows XP) there came a number of messages something along the lines of: ""Service not installed"". Perhaps later more experiences.

This is expected. I have all the services together. And the great thing about using the sc config command and not the reg. If a service isnt on the system it says not installed and moves on. Nice and safe :-)

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline friedmonky

  • Jr. Member
  • **
  • Join Date: Oct 2011
  • Posts: 89
  • Location: USA
  • Karma: 0
    • View Profile
Re: Reset all Windows services to default
« Reply #14 on: October 30, 2011, 10:24:54 AM »
Hey Shane,

Just tested the services repair on Win7 Pro 32bit and all is well.  :smiley:

Great addition!

Thanks,
FM