Hello,
Welcome to Microsoft Q&A!
Do you know if these cases will be affected if we change Enabled="true" to Enabled="false"?
I could just talk from the native UWP side about this. I've made a simple test about this. Just created a blank UWP project and added the extension in the manifest file with Enabled = false
. When I restart the device, the UWP app will still restart. The document-UWP app startup task extension also mentioned that Enabled- For UWP apps, this attribute is ignored and the feature is implicitly disabled until the user first launches the app and the user confirms the app's request to enable activation at startup.
The value to Enabled attribute in the manifest does not affect the start behavior. For UWP apps, user needs to confirm the app's startup request before this feature works. If user does not request this, the app will not be launched automatically. You could also disable this in the Startup tab in Task Manager.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.