October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

fdrespub.dll Missing: Repair the Windows Discovery Service

Length8 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

fdrespub.dll is a genuine Microsoft Windows system component, not a game DLL or Visual C++ runtime. When fdrespub.dll is missing or cannot load, repair Windows first and then check the Function Discovery Resource Publication service.

What fdrespub.dll is

fdrespub.dll belongs to the Function Discovery Resource Publication service. Its Windows service name is FDResPub. The service publishes your computer and attached resources so other computers can discover them across the network.

Microsoft lists this service as installed by default with a Manual startup type. It is hosted by svchost.exe, rather than being launched as a normal application. Microsoft’s Windows service guidance describes its role and default configuration.

Item Expected value
File fdrespub.dll
Product Microsoft Windows
Publisher Microsoft Corporation
Normal location %WinDir%System32fdrespub.dll
Service Function Discovery Resource Publication
Service name FDResPub
Startup type Manual by default
Main purpose Network discovery publication
Host process svchost.exe

Windows releases and builds can contain different file versions and sizes. There is no single file size, checksum, or version that applies to every Windows installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Microsoft Windows 11 (USB)
  • Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
  • Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
  • Make the most of your screen space with snap layouts, desktops, and seamless redocking.
  • Widgets makes staying up-to-date with the content you love and the news you care about, simple.
  • Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)

Errors associated with fdrespub.dll

You may see one of these loader messages:

  • “The program can’t start because fdrespub.dll is missing from your computer.”
  • “The code execution cannot proceed because fdrespub.dll was not found.”
  • “fdrespub.dll is either not designed to run on Windows or it contains an error.”

You may instead see a service-specific message:

  • “Windows could not start the Function Discovery Resource Publication service on Local Computer.”
  • “The FDResPub service terminated with the following error.”
  • A service timeout or Event ID 7023.

These messages do not always mean the file itself is missing. The DLL can exist while the service fails because of damaged dependencies, incorrect service configuration, networking problems, firewall settings, or Windows component corruption.

The issue commonly appears during Windows startup, while enabling Network Discovery, when opening the Network section in File Explorer, or while discovering network printers and other devices.

Fix fdrespub.dll with Windows Update, DISM, and SFC

This is the safest first repair when the error names fdrespub.dll directly.

1. Install pending Windows updates

  1. Press Windows key + I to open Settings.
  2. Select Windows Update.
  3. Select Check for updates.
  4. Install all available updates.
  5. Restart the computer, even if Windows does not immediately require it.

An interrupted update or damaged component store can leave protected Windows files unusable. Updating first also ensures that the repair tools use the current servicing components.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Run DISM

  1. Open Start.
  2. Type Command Prompt.
  3. Right-click Command Prompt and select Run as administrator.
  4. Select Yes at the User Account Control prompt.
  5. Enter:
DISM.exe /Online /Cleanup-image /Restorehealth
  1. Wait for the operation to finish. Do not close the window if progress appears to pause.
  2. Restart Windows if DISM reports that a restart is required.

DISM repairs the Windows component store, which is the source SFC uses when replacing damaged protected files. Microsoft explains this DISM and SFC repair sequence.

3. Run System File Checker

After DISM completes, open an elevated Command Prompt again and run:

sfc /scannow

Wait until verification reaches 100 percent. Then restart Windows and test the action that produced the error.

Success means SFC reports that it found and repaired corrupted files, or that it found no integrity violations. If SFC reports that it could not repair some files, run DISM again, restart, and repeat SFC once. If the same failure remains, continue to the recovery section below instead of downloading a replacement DLL.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If repeating DISM and SFC manually is becoming a guessing exercise, Outbyte PC Repair can scan for the damaged Windows components and show what needs attention; its repair functions are available with the full version, but it is optional and Windows servicing remains the primary fix.

Check whether the file is actually present

Before changing service settings, check the expected location.

  1. Press Windows key + E.
  2. Select the address bar.
  3. Enter:
%WinDir%System32
  1. Press Enter.
  2. Look for fdrespub.dll.

You can also check from an elevated Command Prompt:

dir "%WinDir%System32fdrespub.dll"

If the file is absent, do not copy one from another computer. Use Windows Update, DISM, and SFC first.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the file exists, right-click it, select Properties, and open the Digital Signatures tab. The signer should identify Microsoft. Also confirm that the file is inside the Windows directory, normally:

C:WindowsSystem32fdrespub.dll

The Windows directory may use a different drive or folder name on your installation, which is why %WinDir% is safer than assuming C:Windows.

A copy outside the Windows directory, an invalid Microsoft signature, or a service configuration pointing to an unusual executable deserves a malware scan and further investigation. It is not a reason to replace the file manually.

Check the FDResPub service

A missing DLL error and a failed service are related but not identical problems.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the Services console

  1. Press Windows key + R.
  2. Type:
services.msc
  1. Press Enter.
  2. Find Function Discovery Resource Publication.
  3. Double-click it.
  4. Check Startup type.

The normal Microsoft-documented default is Manual. Do not automatically change it to Automatic for every computer. If it is set to Disabled, change it to Manual, select Apply, and then select Start.

If Start fails, note the exact error and open the Dependencies tab. Microsoft identifies HTTP and RPC among the important dependencies. Other discovery services can affect network browsing, including Function Discovery Provider Host, SSDP Discovery, and UPnP Device Host, but do not start every networking service indiscriminately.

Inspect the configuration from Command Prompt

Open Command Prompt as administrator and run:

sc.exe query FDResPub
sc.exe qc FDResPub

The first command shows whether the service is running, stopped, or failing. The second displays its configuration and dependencies.

If an administrator deliberately disabled the service and you need to restore its normal demand-start configuration, run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sc.exe config FDResPub start= demand

There must be a space after start=. Restart Windows afterward and test Network Discovery again.

If the service is configured correctly and the DLL exists, the remaining problem may involve RPC, HTTP, the network stack, firewall rules, or another Windows component rather than fdrespub.dll.

Rank #2

Check antivirus quarantine and recent system changes

Security software can quarantine a system file after a detection or failed update.

  1. Open your antivirus or Windows security product.
  2. Open Protection history, Quarantine, or the equivalent area.
  3. Look for a detection involving fdrespub.dll.
  4. Confirm that the detected path is the expected Windows System32 location.
  5. Restore the file only when the file is digitally signed by Microsoft and the detection is clearly a false positive.
  6. Run DISM and SFC after restoring it.

Do not restore a file merely because its name matches. An unsigned copy or a copy located outside %WinDir%System32 should be treated as suspicious.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the failure began immediately after a Windows update, driver installation, cleanup operation, or security-product change, System Restore may be appropriate when a suitable restore point exists. Microsoft’s System Restore guidance explains how to roll back system files, drivers, registry settings, and installed programs without normally affecting personal files.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Repair related network and driver problems

If fdrespub.dll is present and Windows reports no file-integrity problem, focus on the service and network environment.

Check the following:

  1. Open Settings > Network & internet.
  2. Confirm that the active network is connected.
  3. Open the network’s properties and verify that the correct network profile is selected.
  4. Check Windows Security > Firewall & network protection.
  5. Make sure firewall rules have not disabled Network Discovery for the active profile.
  6. Restart Windows after changing a network setting.

If the problem started after a network-driver update:

  1. Right-click Start and select Device Manager.
  2. Expand Network adapters.
  3. Right-click the affected adapter.
  4. Select Properties > Driver.
  5. Record the provider and driver version.
  6. Use Update Driver, Roll Back Driver, or uninstall and restart only when appropriate for the recent change.
  7. Prefer the computer or adapter manufacturer’s official driver source.

If you are manually hunting through several driver versions, Outbyte Driver Updater can scan and identify outdated drivers; installation and repair features require the full version, and it is optional rather than a substitute for Windows servicing or the manufacturer’s driver.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Updating a driver will not repair a missing Windows system DLL by itself. It is relevant when the file exists but network discovery began failing after a driver or networking change.

Why regsvr32 is not the right repair

Do not routinely run:

regsvr32 fdrespub.dll
regsvr32 /u fdrespub.dll

regsvr32 is intended for DLLs that expose registration entry points such as DllRegisterServer. fdrespub.dll is a service DLL, not a normal self-registering COM component. Registering or unregistering it does not restore the Windows component store or repair the FDResPub service.

Microsoft documents regsvr32 syntax and behavior. Use it only when official documentation for a specific component explicitly requires it.

What not to do

Do not download fdrespub.dll from an unofficial DLL library or copy it from a random computer. That can introduce malware, provide the wrong Windows build, use the wrong architecture, or leave the underlying component-store damage untouched.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not assume that a 32-bit or 64-bit label alone makes a replacement safe. Windows uses special handling for System32 and SysWOW64 on 64-bit systems, and the correct file must match the installed Windows edition, architecture, build, signature, and servicing state.

Do not set FDResPub to Automatic as a universal fix. Microsoft lists Manual as the default, and changing startup behavior does not repair a corrupted DLL.

Do not delete and recreate the service unless a qualified administrator has first documented its configuration and created a recovery plan.

If DISM and SFC cannot repair the file

If Windows still reports the error after updates, DISM, SFC, and a restart:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Run sc.exe qc FDResPub and save the output.
  2. Open Event Viewer.
  3. Select Windows Logs > System.
  4. Look for errors at the time of the failure.
  5. Note references to FDResPub, RPC, HTTP, service timeouts, networking, or component servicing.
  6. Check whether the problem began after a known update or software change.
  7. Use System Restore if an appropriate restore point exists.
  8. If no restore point helps, use Windows recovery options or an in-place repair installation.

Back up important files before resetting or reinstalling Windows. Microsoft’s Windows recovery options cover repair and reinstall paths.

A manual replacement from a known-good installation should be considered only as an advanced recovery measure when Windows identifies the exact file and the matching Windows build, architecture, signature, and servicing state are verified. Windows repair or reinstallation is safer when those conditions cannot be established.

FAQ

Is fdrespub.dll a virus?

The genuine file is a Microsoft Windows system DLL normally located at %WinDir%System32fdrespub.dll. A file with the same name outside the Windows directory or without a valid Microsoft signature may be suspicious.

Do I need Visual C++, DirectX, or .NET?

No. fdrespub.dll is part of Windows and has no verified standalone Microsoft redistributable. Reinstalling those runtimes is not the primary fix.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Will repairing the DLL restore Network Discovery?

Not necessarily. Network discovery can still fail because of firewall settings, network profile configuration, service dependencies, RPC, HTTP, Winsock, or another discovery component.

Should FDResPub be set to Automatic?

Not by default. Microsoft lists Manual as the normal startup type. Restore it from Disabled to Manual when appropriate, then investigate dependencies if it will not start.

What if the file exists but Windows still reports an error?

Check the digital signature, run DISM followed by SFC, inspect sc.exe qc FDResPub, review System event logs, and investigate dependencies and recent networking changes.

Is it safe to copy fdrespub.dll from another PC?

Not as a general repair. A different Windows release, build, architecture, or servicing state can make the copied file incompatible. Use Windows servicing or an in-place repair instead.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
Microsoft Windows 11 (USB)
Microsoft Windows 11 (USB)
Make the most of your screen space with snap layouts, desktops, and seamless redocking.; FPP is boxed product that ships with USB for installation
$128.99
SaleBestseller No. 2

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How To Create Custom Stickers & Shoutouts In Monster Hunter WildsMonster Hunter WildsBlog20min
  2. How to Get XL Gogoat in Pokemon Legends Z-A (An Extra-Large Gogoat)Pokemon Legends Z-ABlog20min
  3. How to Get Rotting Lightbringer in Diablo 4Diablo 4Blog17min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.