User Tools

Site Tools


windows:give-full-rights-to-current-logged-user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

windows:give-full-rights-to-current-logged-user [2019/10/04 22:36] (current)
odefta created
Line 1: Line 1:
 +====== Give full (and recursive) rights to the current user on a file/folder ======
 +
 +Run the following command:
 +
 +  icacls.exe <​C:/​path/​to/​folder>​ /grant %username%:​(OI)(CI)F
 +  ​
 +  OI – object inherit – recursively ​ for child files
 +  CI – container inherit – recursively for child folders
 +  F – full rights
 +
  
windows/give-full-rights-to-current-logged-user.txt · Last modified: 2019/10/04 22:36 by odefta