When you get to see the Windows could not start the Function Discovery Resource Publication error message on your Windows 11 computer,, you can try our suggested solution below to resolve the issue.
1. Change Function Discovery Resource Publication service Startup Type
OR
2. Reset your Windows 11
For the first Method (Change Function Discovery Resource Publication service Startup Type) which to me is more effective, do the following:
-Press Windows key + R to invoke the Run dialog.
-In the Run dialog box, type services.msc and hit Enter to open Services.
-In the Services window, scroll and locate the Function Discovery Resource Publication service.
-Double-click on the entry to edit its properties.
-In the properties window, click the drop-down on the Startup type and select Automatic (Delayed).
-Click Apply > OK to save changes.
-Restart PC.
For more details or guide on this method, You can read through for yourself >>
https://www.thewindowsclub.com/windows-could-not-start-the-function-discovery-resource-publication