// Disable background for a specific app (by PackageFamilyName or AUMID) public static void DisableBackgroundForApp(string appUserModelId); // Global toggle for all background apps (UWP only) public static void SetGlobalBackgroundPermission(bool allow);
// Prevent Win32 app from starting in background (disable startup) public static void RemoveFromStartup(string appName, string executablePath); desactivar aplicaciones en segundo plano windows 11