Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5518
  • Last Modified:

Windows 7 64 bits - Diagnostic Policy Service does not start - Error 5 Access is Denied

Hello,

I am getting the Diagnostic Policy Service Error 5 Access Denied. I cannot start the service no matter what I do. I have done all of the following with no success and need an urgent advice as gone thru lots of forums unsuccessfully.

1) Have used subinacl tool to reset my security permission on all registry folders granting full access to Administrators and System without any success

2) Have started my pc using MSCONFIG in minimal configuration diabling all non microsoft services and it did not solve my issue.

3) I have tried to Add/remove a feature in Windows like Windows Media Player and when the system shuttdown it displays a msg saying Windows Failed to configure your system for the new setting, windows will revert to previous state. and the Media Player is still showing.

The Fact that Diagnostic Policy Service is not starting is preventing me from using my Dial-up connection using a wireless modem using the PC Card it gives me Error 797 Port not available. My dial up connection's property show in the General Tab under Connect using it says: Removed Unailable Device (). So I do not have internet on the PC Card although the Device is detected by Windows and I see it as Iburst Terminal.

I also have an Issue, When I click on Phone and Modem in the Control Panel I get following Error: Phone and Modem Control Panel cannot be opened. You may have a problem starting telephony Service.

I checked Telephony Service it is set to Automatically and it is started. (I tried stop/Start) but did not solve my issue.

Any Help on this is much appreciated.

Regrds
gowflow
0
gowflow
Asked:
gowflow
  • 5
1 Solution
 
Rick JohnsonSystems AdministratorCommented:
I am not sure if this will help but check this link out...

http://bbs.blackviper.com/index.php?topic=2011.0
0
 
JBond2010Commented:
The error means "Access is denied". This may happen if the "MpsSvc" account doesn't have the necessary permissions for the related registry keys.

For the NT Service\MpsSvc account, it needs permissions for the following keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch
permission needed: Query Value;Set Value
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy
permission needed: Full Control;Read
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy
permission needed: Full Control;Read

For the DHCP Client service, the issue may occur if the "NT Service\DHCP" account does not have the necessary permissions for the following keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
permission needed: Query value, Create value, Enumerate Subkeys, Notify, Read Control
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Configurations
permission needed: Full Control, Read

For the "Diagnostic Policy Service" service, the issue may occur when the account Trustedinstaller is missing the permissions for the key below:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters
permission needed: Full Control, Read

Add the permission for the account on these registry keys. For example, here are the steps for the Windows Firewall service:

In Registry Editor, browse to the key for which you need to add permission.
Right click the key, and click Permissions.
Make sure Locations is selected to be the local computer.
In the "Enter the object names to select field, type "NT SERVICE\mpssvc". Then click "Check name."
Click OK.
Then select the account which appears in the list, and add the appropriate permission for it.
When this is done, click OK.
0
 
gowflowAuthor Commented:
Hi,

JBond2010
tks for your suggesstion, however this post I already tried and it did not help my case still same issue.

n1wgk
Appreciate your link, although not realted but I tried to use same logic for the proposed dll and tried to apply for DPS.dll which is the dll for Diagnosic Policy Service but same did not help. Still same issue. Don't really know if my dll is corrupt. My feeling is that I have security issues.

Let me breif you on some background.

Originally my Laptop HP DV6-2170ee was bought 4 months ago with a pre-installed Windows 7 64 bits Home edition. As I use it to deveopp software in VB and still hv older 16 bits version had to upgrade to Ultimate 64 bits via the Windows Upgrade.

This Upgrade completly messed up my pc as seems there is a fault in it as it did not install properly as so many keys in my registry shoed with Access Denied.

So I llooked up every post and every forum and was able to solve all my issues by manually correcting the registry basically granting Administrator and System full control in most of the keys.

I may have had to run a change of ownership in the keys sometimes to allow administrator to take control whcih maybe have put me where I am now.

The question is simple what are the required permissions in what keys in the registry so DPS can start correctly.

Tks rgds
gowflow
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
gowflowAuthor Commented:
Appreciate any help on my issue.

Here is the Errors I find in Event viewer when I startup the system. Please anyone help would be greatly appreciated. Erors are only 5 and the most important one I guess is Diagnostic Policy Service not starting Error 5 Access Denied. Please see details in code below.

Rgds/gowflow
Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-Kernel-EventTracing" Guid="{B675EC37-BDB6-4648-BC92-F3FDC74D3CA2}" /> 
  <EventID>2</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>2</Task> 
  <Opcode>12</Opcode> 
  <Keywords>0x8000000000000010</Keywords> 
  <TimeCreated SystemTime="2010-11-10T07:39:37.590148100Z" /> 
  <EventRecordID>619</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="2100" ThreadID="2156" /> 
  <Channel>Microsoft-Windows-Kernel-EventTracing/Admin</Channel> 
  <Computer>WKSGMNLBBUU002</Computer> 
  <Security UserID="S-1-5-19" /> 
  </System>
- <EventData>
  <Data Name="SessionName" /> 
  <Data Name="FileName" /> 
  <Data Name="ErrorCode">3221225506</Data> 
  <Data Name="LoggingMode">268443650</Data> 
  </EventData>
  </Event>

==================================================

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-Dhcp-Client" Guid="{15A7A4F8-0072-4EAB-ABAD-F98A4D666AED}" /> 
  <EventID>1001</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>3</Task> 
  <Opcode>75</Opcode> 
  <Keywords>0x4000000000000000</Keywords> 
  <TimeCreated SystemTime="2010-11-10T07:40:39.912257500Z" /> 
  <EventRecordID>2377</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="1252" ThreadID="2024" /> 
  <Channel>Microsoft-Windows-Dhcp-Client/Admin</Channel> 
  <Computer>WKSGMNLBBUU002</Computer> 
  <Security UserID="S-1-5-19" /> 
  </System>
- <EventData>
  <Data Name="HWLength">6</Data> 
  <Data Name="HWAddress">002682661761</Data> 
  <Data Name="StatusCode">121</Data> 
  </EventData>
  </Event>

=====================================================

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> 
  <EventID Qualifiers="49152">7000</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8080000000000000</Keywords> 
  <TimeCreated SystemTime="2010-11-10T07:38:37.985244000Z" /> 
  <EventRecordID>169541</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="684" ThreadID="688" /> 
  <Channel>System</Channel> 
  <Computer>WKSGMNLBBUU002</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="param1">Conexant Polaris IR Transceiver</Data> 
  <Data Name="param2">%%1058</Data> 
  </EventData>
  </Event>

=======================================================

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> 
  <EventID Qualifiers="49152">7023</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8080000000000000</Keywords> 
  <TimeCreated SystemTime="2010-11-10T07:38:38.325244500Z" /> 
  <EventRecordID>169545</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="684" ThreadID="580" /> 
  <Channel>System</Channel> 
  <Computer>WKSGMNLBBUU002</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="param1">Diagnostic Policy Service</Data> 
  <Data Name="param2">%%5</Data> 
  </EventData>
  </Event>

===========================================================

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-Security-SPP" Guid="{E23B33B0-C8C9-472C-A5F9-F2BDFEA0F156}" EventSourceName="Software Protection Platform Service" /> 
  <EventID Qualifiers="49152">8211</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2010-11-10T07:41:06.000000000Z" /> 
  <EventRecordID>94936</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>WKSGMNLBBUU002</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>0x80070005</Data> 
  <Data /> 
  </EventData>
  </Event>

=============================================================

Open in new window

0
 
gowflowAuthor Commented:
Sorry Gentlmen but none of your suggestions helped. I was able to fix my problem in doing a Repair Upgrade to Windows 7. I found the solution in the Microsoft Answer site. Here is the link for those who may run in similar situation.

http://social.answers.microsoft.com/Forums/en-US/w7security/thread/8c812684-e790-43b9-beea-3a8759f2dc7f

I will have to accept this as the answer. Sorry and tks your effort anyway.
Regs/gowflow
0
 
gowflowAuthor Commented:
None of the proposed solutions helped fix my issue. I found it myself on Microsoft site.
0
 
gowflowAuthor Commented:
None of the proposed solutions helped fix my issue. I found it myself on Microsoft site.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now