I cannot 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 
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 running 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.
- - , .
.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 288
تاريخ: پنجشنبه
24 تير
1395 ساعت: 3:08