Forum Discussion

JDHIntercede's avatar
JDHIntercede
Brass Contributor
May 25, 2022

Control StartupTask with GPO?

I've been looking at the StartupTask functionality in MSIX, and I'm struggling to find any documentation on how it can be managed with GPO. This blog indicates that it can be done: https://blogs.windows.com/windowsdeveloper/2017/08/01/configure-app-start-log/ ("If the feature is disabled by local admin or group policy, then the user prompt is not shown, and startup cannot be enabled. The existing StartupTaskState enum has been extended with a new value, DisabledByPolicy."). What I'm trying to avoid is hardcoding an enabled StartupTask into the MSIX manifest that then can only be turned off by the user - since we distribute to enterprise environments, admins need to be able to disable this with GPO, regardless of what the manifest says.

 

Does anyone know how you'd actually do this, e.g. the GPO templates to use, etc? Thanks in advance.

1 Reply

Resources