How to run CMD with Administrator rights using Process Studio


I need to change registry values using AutomationEdge. Most feasible way is using command prompt in windows. Even though the current user has admin rights, the script to change the registry keys works only when CMD is run manually using ‘Run as Administrator’ option. This way, UAC popup comes after which Yes button needs to be clicked and then the command runs.

If we run the bat file having required commands directly, if fails saying ‘Access Denied’.

How to achieve all this using backend automation techniques available in process studio?