To run a script with elevated permissions using User Environment Manager:
- Convert the script into an executable format.
Example:
Disclaimer: VMware is not responsible for the reliability of any data, opinions, advice, or statements made on third-party websites. Inclusion of such links does not imply that VMware endorses, recommends, or accepts any responsibility for the content of such sites.
Note: There are similar tools available for batch files, vb scripts, and so on.
- Use the UEM Management Console to enable Privilege Elevation.
- Create a UEM Privilege Elevation rule to elevate the script-executable.
You can use any of the three elevated application type rules (hash-based, path-based or publisher-based).
- If you want to run the script-executable at logon, create a UEM shortcut to the script-executable in the Startup folder.
Note: Do not enable the Run asynchronous check box on this UEM shortcut as you might experience timing issue and the script will not execute.