When you run a Windows 8 modern UI (previously called Metro) app that has background tasks, you must explicitly choose if it is allowed to run background tasks.
Is there a way to automate this?
I have tried watching the registry with ProcMon and dumped registry changes before and after allowing the app to run in background but exporting and importing the differences did not work.
I also tried copying the c:\Users\\Settings\settings.dat file and it also didn't work.
Any hacky help is appreciated.