能力值:
( LV2,RANK:10 )
|
-
-
2 楼
C:\Windows\System32>takeown /F C:\Windows\System32\AdapterTroubleshooter.exe C:\Windows\System32>icacls C:\Windows\System32\AdapterTroubleshooter.exe /grant administrators:/F
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
网上的例子,非常清楚: cd "%windir%\system32" takeown /f atmfd.dll icacls atmfd.dll /save atmfd.dll .acl icacls atmfd.dll /grant Administrator:(F) rename atmfd.dll x-atmfd.dll 大致意思就是先获取atmfd.dll的所有权,之后再获取该文件的控制权并对其命名。 其实利用这两个工具大致可以对很多平时遇到的无法自由管理的文件进行强制管理,例如改名、删除之类的。 当对一个文件或者文件夹修改完成后,如果需要对其进行恢复,包括对文件所有者、文件控制权的恢复,操作如下: cd "%windir%\system32" rename x-atmfd.dll atmfd.dll icacls atmfd.dll /setowner "NT SERVICE\TrustedInstaller" icacls . /restore atmfd.dll .acl
|
能力值:
( LV2,RANK:10 )
|
-
-
4 楼
icacls . /restore atmfd.dll .acl 改为 icacls . /restore atmfd.dll.acl
|
能力值:
( LV2,RANK:10 )
|
-
-
5 楼
icacls atmfd.dll /save atmfd.dll .acl 改为 icacls atmfd.dll /save atmfd.dll.acl
|
|
|