?
Solved

Windows 7 64bit Pro. Diagnostic Policy Service, Error 5: Access is Denied

Posted on 2011-10-10
18
Medium Priority
?
979 Views
Last Modified: 2012-05-12
Hi,

I had my Laptop die last week so replaced it and ran a full restore from a very recent Shadow Protect backup.

All drivers are updated and working but the service Diagnostic Policy Service refuses to start and gives a Error 5: Access is Denied.  This is preventing me from using the LAN and WiFi connection only.  

I have tried many of the suggestions contained in EE including booting from install disk and running Windows Repair.  Also ran sfc /scannow and no errors reported.  Tried changing service to use admin account, no change, now back to Local Service.

I do not wish to have to reinstall Windows so open to sensible suggestions please :-)

Regards

Bruce
0
Comment
Question by:Bruce-Dev
  • 9
  • 6
  • 3
18 Comments
 
LVL 12

Accepted Solution

by:
xmlmagician earned 1000 total points
ID: 36941441
0
 

Author Comment

by:Bruce-Dev
ID: 36941545
I have worked through your first link previously and having read the second link it would appear the only solution is to buy an update from my current version of Windows as this may correct the problem.  I feel bad about giving MS more money to correct an o/s that can not simply work as designed (assuming it did have a design....)

Regards,

Bruce


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 12

Expert Comment

by:xmlmagician
ID: 36941710
if you have time i would suggest that you save all your important files format and start again, in most cases seems to be the most time efficient solution, i know that you will not find out what caused the problem but from experience it formatting it and having a clean start is the best way forward for me. think about it, how long have you spent try to resolve this? in that time would you had formatted and re-installed everything?

any other experts might have other suggestions.
0
 

Author Comment

by:Bruce-Dev
ID: 36941726
This laptop is my main development machine and will take about 2 weeks to rebuild with all software development environments and test all build states.  I do not have a spare 2 weeks so this is not an option.
0
 
LVL 12

Expert Comment

by:xmlmagician
ID: 36942175
ouch....in that case we better get on to it. i will save the preaching of imaging of important machines etc for later.

have you tried disabling both cards, restarting and then re-enabling them?
0
 

Author Comment

by:Bruce-Dev
ID: 36942253
I had a full and up to date image (in fact I run 3x backup routines on this system) but after restoring the image (using Shadow Protect) it had the issue.

I have tried removing and reinstalling all network devices.  In fact I tried a hardware independent restore and rebuilt the drivers from scratch - still no use.
0
 
LVL 12

Expert Comment

by:xmlmagician
ID: 36942545
it does not make sense, can you borrow a wifi usb stick of someone and see if that works. Does the network and the wifi card are displayed properly on the device manager?
0
 

Author Comment

by:Bruce-Dev
ID: 36942577
Both devices show as working fine.  The LAN card even shows data traffic.  I can use a 3g stick and gain access to the Internet so the basic mechanics are good.  But when I try and connect the system reports a problem then I run the Trouble shooter section and this takes me to the report that Diagnostic Policy Service is not active.

I have read extensively on the web and it would appear that this problem is not uncommon but there are no actual fixes.  Most users just end up re-installing Windows.....
0
 
LVL 66

Assisted Solution

by:johnb6767
johnb6767 earned 1000 total points
ID: 36942620
This is usually something very small and simple to fix....

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\DPS

Check the permissions. Make sure that the SYSTEM has Full Control, and that Users/Admins aren't set to DENY....

Additionally, lets isolate EXACTLY where your permissions failure is coming from (my standard answer regarding permissions failures).....

Process Monitor
http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx

Save this to the root of C as an Admin, and login the problem user. Do a RunAs with your Admin Credentials to launch it, and then set the the filter at the top to Include "Result" is "Access Denied" then "Include", and then try and recreate the errors by launching the app. Then go look at the logging, and it will tell you where the permissions are restrictive. Once you open those up, keep retrying until you get the desired results....

Keep track of your changes, as they can be scripted to deploy to the other systems......
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36942640
And in the Dependencies of the DPS service, whats listed?

I would expect that it shouldnt have any effect on your WIFI.....

I would be more concerned about these services running.....

Extensible Authentication Protocol
Network Connections
Network List Service
Network Store Interface Service  (Stopping this service will cause loss of network connectivity)
Wired AutoConfig
WLAN AutoConfig

I think what you are seeing is an unrelated symptom....

Do you have a valid IP address?
Can you ping your Default Gateway?
Can you ping yourself?
Can you ping 4.2.2.2?
0
 

Author Comment

by:Bruce-Dev
ID: 36942647
Interesting point - I will try these later.  At the moment I have abandoned the system and catching up with work on a backup system.  I will let you know tomorrow if any of these items are of importance.
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36942893
We'll be here.....
0
 

Author Comment

by:Bruce-Dev
ID: 36942910
I'll be back...
0
 
LVL 12

Expert Comment

by:xmlmagician
ID: 36947862
any joy?
0
 

Author Comment

by:Bruce-Dev
ID: 36947887
Just working through this now...  more sone.
0
 

Author Comment

by:Bruce-Dev
ID: 36960476
I was unable to locate the cause of this issue.  However, I restored an image taken a few days earlier and this worked perfectly.  I can only conclude that there was a corruption in to latest backup image.  I will split the points equally between you both and thank you for your efforts with this.

Regards,

Bruce
0
 

Author Closing Comment

by:Bruce-Dev
ID: 36960493
This problem seems to be quite common judging by the number of posts on the internet.  Not one of the posts I found (and I did find many) provided any clear solution.  Many of the people with this issue resulted in doing a clean install.  As my original PC had Vista with a option to downgrade to XP Pro which was taken.  Then this PC was upgraded to Windows 7 Pro, then Ultimate it was not possible to just install the o/s from scratch.  Microsoft should be providable an option for media to be available for such cases.  When I checked the only option was to buy a totally new licence - why?!

However, thank you again for your input and help to with this issue.

Regards,

Bruce
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

862 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