خرید بک لینک

I caot access certain folders e.g. c:Program FilesWindowsApps. On command line I get error "access is denied" and windows explorer pops up a dialog box enter image description here

Clicking on continue here gives me access, but I would like get access using the command line; so that my other scripts do not run into this problem.

I found this question on Microsoft technet but could not make it work for me. Note that I am already ruing powershell as administrator.

PS C:WINDOWSsystem32> icacls "C:Program FilesWindowsApps" /grant i063510:F /inheritance:e
C:Program FilesWindowsApps: Access is denied.
Successfully processed 0 files; Failed processing 1 files
PS C:WINDOWSsystem32> icacls "C:Program Files" /grant i063510:F /inheritance:e
C:Program Files: Access is denied.
Successfully processed 0 files; Failed processing 1 files

If it matters, I am using Windows 10 upgraded from Windows 8.1.

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 24 تير 1395 ساعت: 3:08

صفحه بندی