Solved

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

Posted on 2010-11-08
7
5,292 Views
Last Modified: 2012-05-10
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
Comment
Question by:gowflow
  • 5
7 Comments
 
LVL 5

Expert Comment

by:Rick Johnson
ID: 34084031
I am not sure if this will help but check this link out...

http://bbs.blackviper.com/index.php?topic=2011.0
0
 
LVL 15

Expert Comment

by:JBond2010
ID: 34084045
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
 
LVL 29

Author Comment

by:gowflow
ID: 34087545
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 29

Author Comment

by:gowflow
ID: 34099840
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
 
LVL 29

Accepted Solution

by:
gowflow earned 0 total points
ID: 34106324
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
 
LVL 29

Author Comment

by:gowflow
ID: 34106370
None of the proposed solutions helped fix my issue. I found it myself on Microsoft site.
0
 
LVL 29

Author Closing Comment

by:gowflow
ID: 34134698
None of the proposed solutions helped fix my issue. I found it myself on Microsoft site.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Internet Explorer 11.0 fails to open 34 85
Need to make video of desktop 5 56
how to force a GPO update on all computers in a domain at once? 1 52
User Account issue 6 37
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question