Tuesday, May 27, 2014

Providing Permissions to File & Directory Using setacl.exe through Wise Scripts


File Permission:

item: Get Environment Variable
  Variable=SYSDRIVE
  Environment=SYSDRIVE
end


item: Execute Program
  Pathname="%SYSDRIVE%\setacl.exe"
  Command Line="%SYSDRIVE%\Windows\system32\add.dll" /file /grant "Users" /change
  Flags=00001010
end

Directory Permission:

item: Get Environment Variable
  Variable=SYSDRIVE
  Environment=SYSDRIVE
end


item: Execute Program
  Pathname="%SYSDRIVE%\setacl.exe"
  Command Line="%SYSDRIVE%\firefox" /dir /grant "Users" /change
  Flags=00001010
end

Check the below Screenshot for more commands



Note: Copy the highlighted content to notepad and change to .wse format and use it


2 comments:

  1. Sccm And Application Packaging: Providing Permissions To File And Directory Using Setacl.Exe Through Wise Scripts >>>>> Download Now

    >>>>> Download Full

    Sccm And Application Packaging: Providing Permissions To File And Directory Using Setacl.Exe Through Wise Scripts >>>>> Download LINK

    >>>>> Download Now

    Sccm And Application Packaging: Providing Permissions To File And Directory Using Setacl.Exe Through Wise Scripts >>>>> Download Full

    >>>>> Download LINK mT

    ReplyDelete