- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-16-2025 07:58 AM
This is an interesting case don't know if it has been answered before. We have a couple of users who need to perform tasks in the snap-ins like Task Scheduler or Services which is a child process under Microsoft Management Console.exe.
There is no option in EPM to elevate only the child process tasksch.msc, and we do not want to elevate the entire MMC.exe for the user. Is there a workaround to this in the elevate policies?
Or is there an option to use a script execution policy to start a script that provides the user access to start/stop a service or edit a task in task scheduler?
It is a pretty niche question I havn't seen an answer to on here so wanted to ask. Anything is appreciated!
10-16-2025 12:02 PM
You are right, nothing for task scheduler but there is for services. That services configuration gives users the ability to play with services.
For task scheduler, what we did was use the MMC elevation but with parameters for taskschd.msc. So for example, create a new definition in your elevate policy.
Filename: mmc.exe
Publisher signature: Microsoft Windows
Location (in directory): C:\Windows\System32\
Parameters: C:\Windows\System32\taskschd.msc
Then apply the policy. Navigate to taskschd.msc, launch it and it will prompt you with the EPM prompt that its elevating.
Hope that helps. It took us awhile to figure that one out.
10-16-2025 10:16 AM
Hi @Ryan Kuczer
Yes in my understanding it should be possible by creating a PowerShell script that can launch child process without elevating MMC using Script Policy.
https://docs.cyberark.com/epm/latest/en/content/webservices/scriptpolicies.htm
10-16-2025 11:32 AM
The "administrative task" policy in advanced policies allows you to define which snap ins get elevated within MMC.
10-16-2025 11:51 AM
.NET Configuration
Application Server
Authorization Manager
Certificate Services
Certificate Templates
Certificate snap-in
Device Manager
DHCP Manager
Disk Defragmenter
Disk Management
Distributed File System
DNS Manager
Event Viewer
Fax Service Manager
File Server Management
Group Policy Editor
Hyper-V Manager
Indexing Service
Internet Authentication Service
Internet Information Services (IIS)
Local Users and Groups
Performance Monitor
Remote Desktop
Removable Storage Manager
Removable Storage Operator Requests
Resultant Set of Policy
Routing and Remote Access
Services Configuration
Shared Folders
SQL Server Configuration Manager
Telephony
Terminal Services
Update Services
Windows Firewall
Windows Management Instrumentation (WMI)
Windows Internet Naming Service (WINS)
Here is the list from CyberArk EPM, I am on SaaS, version: 25.9.0.5007. I do not see one called Task Scheduler, is it called something else?
10-16-2025 12:02 PM
You are right, nothing for task scheduler but there is for services. That services configuration gives users the ability to play with services.
For task scheduler, what we did was use the MMC elevation but with parameters for taskschd.msc. So for example, create a new definition in your elevate policy.
Filename: mmc.exe
Publisher signature: Microsoft Windows
Location (in directory): C:\Windows\System32\
Parameters: C:\Windows\System32\taskschd.msc
Then apply the policy. Navigate to taskschd.msc, launch it and it will prompt you with the EPM prompt that its elevating.
Hope that helps. It took us awhile to figure that one out.
10-16-2025 12:12 PM
Thank you so much!!!
Just want to confirm for the location and parameters, that you used \ and not /.
My path is: C:\Windows\System32\taskschd.msc.
10-16-2025 12:38 PM
Yes, thats correct. I wrote it exactly as it looks in our policy and tested. Prior i couldnt elevate taskschd.msc and after i applied the policy, I got the EPM prompt. It should work.
10-17-2025 04:37 AM
Nice this may be useful for us to know as we run mutliple scripts to install wsl2 and we need to use this to finish off the install in the user context I believe, many thx!
10-17-2025 04:37 AM
Nice this may be useful for us to know as we run mutliple scripts to install wsl2 and we need to use this to finish off the install in the user context I believe, many thx!
10-17-2025 12:34 PM
I am still having issues with the above, do you have any different options selected @Phillip Hornat ?
10-17-2025 01:04 PM
That looks exactly like what I have but we dont use the "include child processes" option. Odd.
I disabled my policy and I can no longer elevate it so I am positive that policy is providing the elevation. I see no difference with yours outside of the child processes. We have no policy elevating MMC outside of that one as my MMC.exe shows it as grey listed default policy.
I did check the box for child processes to see if it would break the policy but it still worked after that so pretty sure that isnt going to cause a problem.
10-20-2025 07:03 AM
Hi @Phillip Hornat ,
Thank you for getting back to me i really appreciate it!
Interesting ok, must be something on my end in my environment causing the issue then. Will report back when I find out what it was. Might be policy priority.
10-21-2025 08:44 AM
Hi @Phillip Hornat ,
In regards to the Services Config option do you know if there is a way to give a user access to an individual service? And not all services with the standard Admin Task : Services Config?
10-27-2025 11:04 AM
@Ryan Kuczer Yes you can! Instead of creating an application policy, create a user policy and select services. You can then define the specific services you want them to have.
We blacklist all our security tools so that users cannot disable the services using this method but you can give permission to services this way as well.
Hope that helps!
11-05-2025 11:10 AM
Thanks! Do you have any idea why the user would still be blocked? I have given them full access via the services access policy. I do see they are getting the error since they are not in the local security policy Log on as a service right, would that fix it? I know it is a niche question so no worries if not
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

