Solved

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

Posted on 2010-11-08
7
5,161 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:n1wgk
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now