0x80041321 exception when setting auto rss feed syncronization

Ever get an exception when enabling feed synchronization from the feed api?

IFeedsManager fs = new FeedsManagerClass();
fs.BackgroundSync(FEEDS_BACKGROUNDSYNC_ACTION.FBSA_ENABLE);

Exception: Task image is corrupt or has been tampered with. (hresult:0x80041321)

I’m not entirely sure what causes this, but basically the background task schedule job has become corrupt. The simple fix:

1) open an elevated command prompt
2) type
>msfeedssync disable
>msfeedssync enable

Which deletes the old task and then recreates it.

Leave a Reply

Your email address will not be published. Required fields are marked *