App-V .Net Security caspol
Hello all, I have a query around using caspol.exe for an App-V sequence.
I have a .Net application being virtualised that requires .Net security to be set for a URL using a command like the following
caspol -machine -q -addgroup All_Code -url //server/share/* FullTrust -name Name"
As .Net is on the base machine build, I assume that this command cant be captured within a sequence and would need to be run during a pre-launch script - is this correct?
I have tried running this as a pre-launch script, but as a normal user this reports access denied as users dont have rights to modify machine policy.
Is the only way to get round this issue to change the policy level to user from machine as shown?
caspol -user -q -addgroup All_Code -url //server/share/* FullTrust -name Name"
Appreciate your help.
I have a .Net application being virtualised that requires .Net security to be set for a URL using a command like the following
caspol -machine -q -addgroup All_Code -url //server/share/* FullTrust -name Name"
As .Net is on the base machine build, I assume that this command cant be captured within a sequence and would need to be run during a pre-launch script - is this correct?
I have tried running this as a pre-launch script, but as a normal user this reports access denied as users dont have rights to modify machine policy.
Is the only way to get round this issue to change the policy level to user from machine as shown?
caspol -user -q -addgroup All_Code -url //server/share/* FullTrust -name Name"
Appreciate your help.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
kkaminsk
13 years ago
Posted by:
carlosg
13 years ago
Hi kkaminsk thanks for the suggestion.
I think thats what I will do - chain the App-V package to a script running caspol in SCCM, so it has the required permissions.
I've tested the caspol with user security (caspol -user), however this doesnt appear to set the requried .Net permissions. So I cant use this approach as a pre-launch script, which is a shame.
It appears as though the application requires machine level permissions, otherwise it crashes.
Thanks again.
I think thats what I will do - chain the App-V package to a script running caspol in SCCM, so it has the required permissions.
I've tested the caspol with user security (caspol -user), however this doesnt appear to set the requried .Net permissions. So I cant use this approach as a pre-launch script, which is a shame.
It appears as though the application requires machine level permissions, otherwise it crashes.
Thanks again.
Posted by:
msenn
13 years ago
Posted by:
cygan
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.