I am needing to change permissions on a set of reg keys after installing a program.

I have the regini.exe file on each computer as part of the image. I have written a text file witht he contents below


\registry\machine
software
avaya [1 5 7 17]


I am trying to figure out how to run this file within altiris, I am using the run script in altiris to make these changes.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Put the text file somewhere everyone has access to, then in your Create Script do

REM Run RegIni to Set Avaya Key Permissions
regini.exe "\\server\share\yourtextfile.ini"
Set the script to run as a user who has both administrative access to the machine as well as at least read access to the share with the text file, make sure it's set to run hidden, and that it's set to run on the client machine (and not the deployment server).

Alternatively, you could use a FileCopy action to put the INI on their machine, and it'll probably run as the system account, but unless your administrative users don't have access to HKLM\Software\Avaya (unlikely), I don't see any need to do that.
Answered 02/27/2009 by: usachrisk
Purple Belt

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