I need to make some folders and files to have full access, how do I change them from read only
Software. I need to make it full control
If you are trying to script the change, use the attrib command
if you are creating folder through a msi you can give permission directly there
or else you can write vbscript
On Error Resume Next
Dim wshShell,strProgram, strWin,strParam
Set wshShell = CreateObject("WScript.Shell")
strProgram = wshShell.ExpandEnvironmentStrings("%systemdrive%")
strProgrammes = wshShell.ExpandEnvironmentStrings("%ProgramFiles%")
StrProgram = chr(34) & StrProgram & "\Siemens" & chr(34)
strParam = " /t /e /g everyone:F"
strParam1 = " /t /e /g users:F"
StrProgram1 = "cacls " & strProgrammes & strParam
StrProgram2 = "cacls " & strProgrammes & strParam1
set wshShell = Nothing
Use SetACL through custom Action Table with
If you are sure you need to give them full permissions (i.e. allow the user to delete you can change the below change value to full.
SetACL.exe -on "C:\my dir" -ot file -actn ace -ace "n:domain1\user1;p:change"