Software.  I need to make it full control

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


If you are trying to script the change, use the attrib command


Answered 10/16/2012 by: SMal.tmcc
Red Belt

  • attrib -r -s "c:\path to sofware\*.*" /S /D
Please log in to comment



Right-click on folder, click on properties, go to the security tab, give the desired account full control.

Answered 10/16/2012 by: Ben M
Ninth Degree Black Belt

Please log in to comment

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 StrProgram1 StrProgram2


set wshShell = Nothing

Answered 10/17/2012 by: anshul
Orange Belt

Please log in to comment

I use either the cacls command or the icacls command.


Answered 10/17/2012 by: chucksteel
Red Belt

Please log in to comment

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"

Answered 10/17/2012 by: oreillyr
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity