bit-tech.net

Go Back   bit-tech.net Forums > Technology > Software

Reply
 
Thread Tools
Old 29th Aug 2014, 09:46   #1
stjimmy69
Minimodder
 
Join Date: Jul 2012
Posts: 26
stjimmy69 has yet to learn the way of the Dremel
Registry Fixes for Windows Services

I thought i'd start this thread as a general "Knowledge Base" for some common registry issues relating to services on Windows clients/servers

I've recently had a batch of servers running Server 2008 which were subjected to a great deal of pain, mainly that some berk managed to copy the OU they were contained in into the one we use for laptops, screwing up the group policy in the process.

Since then, we have been getting a lot of Error 5's and Error 127's when starting various services on our servers.
I've certainly had similar issues on various systems before, the issue seems to be more prevalent on 2008/Vista, up until 2008 r2/7 (I haven't encountered it on 2012 yet, but there's always time!)

Here is my fix...


ERROR 5 -
- Get the display name of the service in question, in this case "BFE".
- Open regedit
- Navigate to HKLM\SYSTEM\CurrentControlSet\Services\**ServiceNa me**\Parameters
- If "parameters" doesn't exist, just use the service name
- Right click and edit permissions. Click "Advanced", then "add".
- Hit "locations" and change to the current machine
- in Object Name, enter "NT Service\**ServiceName**" without quotes.
- Hit okay, and try and start the service again.

At this point you may get the next error...

ERROR 127 -
- Follow the first 2 steps above.
- Navigate to HKLM\SYSTEM\CurrentControlSet\Services\**ServiceNa me**
- Change "ObjectName" key value to "NT AUTHORITY\LocalService"
- Try starting service. If it still doesn't work...

- Change "Type" key value to "20". "Data" column should read "0x00000020 (32)"

If this doesn't work, I'm all out of ideas!
I'm curious, does anyone else have some nice little registry quick-fixes for problem services?
stjimmy69 is offline   Reply With Quote
Reply

Tags
regedit, registry, server, service, windows

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:15.
Powered by: vBulletin Version 3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.