16 March 2012

AppSense - How to delete or add users to a group

Hi,

I want to add a group to the local administrator group on logon dependent on the existence of a specific EXE file. So as you could do this with group policies built in function.

But there is a way to do this with AppSense Environment Manager. So the first thing I am doing is to check for a specific exe-File on x86 or x64 and if this exists I am firing a custom execute to add the group "Testgroup" to the local Administrators group:

The only "problem" with this command is that you have to be connected to the network for this to function correctly.


michael.obernberger

No comments:

Post a Comment