Translate

Selasa, 29 Desember 2015

Permission error - Failed to enumerate objects in the container. Access is denied.

Here is how I solved my issue -
1. On the root folder, right click, select properties, select security tab.
2. Click Advanced
3. The window that pops up should show the current owner. Click "Change." The "Select User or Group" pop up box appears.
4. In the text box, type in your current user name (you should be an admin), and hit the "Check Names" button. Your name will be replaced with the "official" system name (i.e.,preceded by computer name and back slash).
5. Click OK
6. The box disappears, sending you back to the Advanced Security Settings window.
7. A new tick box appears below owner, with the text "Replace owner on subcontainers and objects" Select this tick box.
8. I also selected the tick box "Replace all child object permission entries with inheritable permission entries from this object", but I think I had to run this twice - once with this box ticked and once without.
9. Make sure that "everyone" appears on the Permission entries window, if not, click add. The same box that appears in step 4 shows up again. Type everyone, click "Check Names" and then "OK"
9. Hit apply

I also see that the folder ownership can be changed to "everyone" - I haven't tried changing all my folder owners to this, but doing so might eliminate this issue altogether if the drive is moved to a different computer.

Hope this helps someone, this problem and lack of documentation was quite aggravating.

Senin, 07 Desember 2015

Diagnostic policy service could not start on local computer. access denied

getting error "windows could not start the diagnostic policy service service on local computer. error access is denied.


First, let’s check for the status of Diagnostic Policy Service and make sure that it’s set to Automatic.

1. Click Start, type services.msc in the Start search box and hit Enter.
2. Locate the Diagnostic Policy Service.
3. Right-click the service and select Restart.
4. Now, right-click the Diagnostic Policy Service and select Properties.
5. Under General tab, make sure the Startup type is set to Automatic.

You may now check for the dependency services for Smart Card and make sure that the dependencies status is also set to Automatic.

To check for the dependency service, right-click Smart Card and select Properties and click the Dependencies tab.

Make sure the dependency service is started and set to Automatic.

You may also try doing a System Restore to a point when the issue didn’t exist and check if that fixes the issue.

OR,

go to start ,search and type:- cmd, right click on returned cmd.exe and select "run as administrator" at the prompt type:-


net localgroup Administrators /add networkservice
press enter then type:
net localgroup Administrators /add localservice
press enter then type:
exit
press enter and restart your computer

Open services and make sure the service is started.