Skip to main content
  1. Posts/

Setting File Permissions in Windows

·1 min·
windows windows
Table of Contents

Icacls merupakan command-line utility di Windows yang dapat digunakan admin TI untuk mengubah daftar kontrol akses atau izin pada file dan folder.

Menggunakan perintah icacls adalah cara yang sangat efisien karena dapat mengubah semua izin file pada folder tertentu dan tidak perlu repot mengubahnya satu per satu.

Show permission
#

Cek permission folder atau file

icacls file.txt
file.txt BUILTIN\User:(I)(F)
         NT AUTHORITY\SYSTEM:(I)(F)
         BUILTIN\Administrators:(I)(F)

Basic permission

F - Full access
M- Modify access
RX - Read and execute access
R - Read-only access
W - Write-only access

Example
#

Mengubah semua izin file pada folder tertentu

icacls Documents\* /grant User:F /T /C

Backup ACL

icacls Documents\* /save backupacl.txt /T /C

Restore ACL

icacls Documents\*

Untuk mengatur ulang semua permission file dan folder.

icacls Documents\* /t /q /c /reset

Related

Setting Samba Share di Windows
·2 mins
windows windows
Instalasi Windows 8 ke Hard Drive Eksternal
·2 mins
windows windows
Migrasi OS Windows 8.1 ke SSD
·2 mins
windows windows
Error saat Mengatur Static Route ke Windows
·1 min
windows windows
Forfiles Command Windows
·1 min
windows windows
Modifying Headers Consul
·1 min
consul consul