samsquared2

New Member
Joined
Aug 19, 2025
Messages
11
When I try to start the service I get a 1067 error - service terminated unexpectedly. The event viewer shows a .Net error with Event ID 1025:

Application: SharedServiceHost.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unhandled exception in OnStart: System.ArgumentNullException: Value cannot be null.
Parameter name: providerServiceInfo
at Microsoft.WindowsServerSolutions.Productivity.EmailProviderService.ParseProviderServiceInfoString(String providerServiceInfo)
at Microsoft.WindowsServerSolutions.Productivity.EmailProviderService.GetHostedEmailServices()
at Microsoft.WindowsServerSolutions.Productivity.EmailProviderService.CreateProviderHosts()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderServiceBase._OpenHosts()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderServiceBase.OnStart(String[] args)
Stack:
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderServiceBase.OnStart(System.String[])
at Microsoft.WindowsServerSolutions.Productivity.EmailProviderService.OnStart(System.String[])
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Two services it depends on are running. I also ran sfc /scannow and although it found and fixed some corrupt files, it still won't start. I also downloaded and ran the NetFxRepairTool which re-registered and restarted the Windows Installer service but that didn't help either.
 

Solution
Thanks for the full stack trace — that pinpoints it. The “providerServiceInfo” null error is thrown by the Windows Server Essentials Email Service when its provider metadata is missing/corrupt. In plain English: the Email service is trying to load “email providers” (Office 365/Hosted Exchange integration), but the configuration it reads is empty or broken, so it crashes at startup.
Before fixing it, quick sanity check
  • Do you actually use WSE’s email integration (Office 365/Hosted Exchange) on this box? If you only use Essentials for client backups, you can safely disable this service and ignore the error.
If you do NOT use email integration (simplest)
1) Open Services (services.msc).
2) Find “Windows Server Essentials Email...
Thanks for the full stack trace — that pinpoints it. The “providerServiceInfo” null error is thrown by the Windows Server Essentials Email Service when its provider metadata is missing/corrupt. In plain English: the Email service is trying to load “email providers” (Office 365/Hosted Exchange integration), but the configuration it reads is empty or broken, so it crashes at startup.
Before fixing it, quick sanity check
  • Do you actually use WSE’s email integration (Office 365/Hosted Exchange) on this box? If you only use Essentials for client backups, you can safely disable this service and ignore the error.
If you do NOT use email integration (simplest)
1) Open Services (services.msc).
2) Find “Windows Server Essentials Email Service”.
3) Set Startup type = Disabled, click Stop if running, OK.
Nothing else in Essentials (client backup, dashboard, Anywhere Access) depends on this service.
If you DO want the service to run (repair path)
1) Check the Essentials logs for more detail
  • Event Viewer > Applications and Services Logs > Microsoft > Windows Server Essentials > ProviderFramework and ManagementService.
  • Note any warnings about provider parsing/loading just before the 1067.
2) Rebuild the provider metadata (GUI only)
  • Dashboard > Services > Email (or the Office 365 integration page).
  • If it shows a configured provider, click “Remove integration” (or Disconnect).
  • Then re-run the email integration wizard and finish sign-in. This recreates the provider entries the service needs.
3) If the wizard won’t open or still fails, clear the broken entries and let Essentials recreate them
  • Close the Dashboard.
  • Open Registry Editor (regedit.exe) and export a backup of:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server
  • In Registry Editor, press Ctrl+F and search for ProviderServiceInfo. For any Email/HostedEmail or ProviderFramework keys where ProviderServiceInfo exists but is blank, delete that specific provider subkey (only the obviously empty/broken entries). Don’t remove unrelated providers.
  • Restart the server, then open the Dashboard and run the email integration wizard again.
4) Ensure the minimal .NET/WCF features are present (sometimes removed by hardening)
  • Server Manager > Manage > Add Roles and Features > Features > .NET Framework 4.6 Features:
    • WCF Services → HTTP Activation (and Non-HTTP Activation if you had it before).
  • Reboot and retry starting the Windows Server Essentials Email Service.
5) Last‑resort reset of Essentials provider framework (if the above still fails)
  • From Programs and Features > Turn Windows features on/off, confirm “Windows Server Essentials Experience” dependencies are intact.
  • If you recently restored from image or had power loss, running a repair install of the Essentials components (or an in‑place repair of Server 2016) can re-lay the provider files and config. Only do this after a full backup.
Why this happens
  • Power outages/reinstalls can leave the ProviderFramework registry or metadata files partially written (empty ProviderServiceInfo strings). The Email service starts, enumerates providers, hits an empty string, throws ArgumentNullException, and Service Control Manager reports 1067.
If you prefer, I can walk you through the exact registry locations with you sharing what you see for:
  • Event Viewer entries under “Windows Server Essentials/ProviderFramework”
  • A screenshot of the registry search results for ProviderServiceInfo
And if you decide you don’t need email integration at all, disabling the service is the cleanest fix.
 

Solution
A couple of things under the "repair" option:

1. Event Viewer > Applications and Services Logs > Microsoft > Windows Server Essentials > ProviderFramework and ManagementService. This path does not exist.
2. I did not find "Dashboard > Services > Email (or the Office 365 integration page)" nor can I find an email integration wizard.

Before I go further, I noticed that the SMTP Server feature has not been activated and it seems that it should be.
 

Short answer: don’t enable SMTP. The “Windows Server Essentials Email Service” is not an SMTP server; it’s the plugin host that powers the old Essentials “Hosted/Office 365 email” integration. When its provider metadata is missing it crashes with providerServiceInfo null (your 1067). If you don’t actually use the Essentials email integration, the clean fix is simply to disable this service — it won’t affect client backups or the Dashboard.
What to do now
  • If you don’t use email integration
    • Services (services.msc) > Windows Server Essentials Email Service > Startup type: Disabled > Stop. You can ignore the Event Viewer errors going forward because the service won’t start.
  • If you do want Essentials’ email integration running
    • The missing “Email/Office 365” page in the Dashboard and the absent “Windows Server Essentials” event log branch suggest the integration was never set up (or its provider entries were wiped). Essentials won’t show the Email section until that wizard is run. Re-enable it like this:
      1) Open the Essentials Dashboard and look for the Microsoft/Office 365 integration wizard (in some builds it appears under Home/Get Started or Services). Run it and complete sign‑in; this recreates the provider entries the service needs. If you still can’t find it, the service is optional—disabling is acceptable.
      2) Make sure .NET 4.x WCF HTTP Activation is installed (Server Manager > Add Roles and Features > .NET Framework 4.x Features > WCF Services > HTTP Activation), then restart the server and try starting the service again.
Why SMTP won’t help
  • The “SMTP Server” Windows feature is an IIS 6.0 SMTP relay. It’s unrelated to Essentials’ Email Service and won’t fix a providerServiceInfo crash. If you don’t need to relay mail from this server, leave SMTP off.
If you’d like, tell me whether you actually use the Essentials/Office 365 integration. If not, we can mark this solved by disabling the service. If yes, I’ll give you a quick, GUI‑only checklist to surface the wizard in your Dashboard and re-create the provider config.
 

I do want to use the email feature. I found "Set up Exchange Server Integration" but when I run it, I get an error that says "Cannot locate an Exchange Server on the network". In my first install 2 years ago, this was not a problem and it required no additional installs or configuration to have email working.
 

Thanks — useful info. First, two quick confirmations from what we already saw: the SharedServiceHost/EmailProviderService crash is caused by missing/corrupt provider metadata (providerServiceInfo = null), and the “Exchange Server Integration” wizard won’t finish because it can’t find an Exchange endpoint to create that provider entry.
Before I give step-by-step checks, one question: are you integrating with an on‑prem Exchange server (Exchange running on another machine in your LAN) or with Office 365 / hosted Exchange (Microsoft 365)? The troubleshooting path is different for each — pick one of the two below and follow the GUI tests/steps.
A — If you use Office 365 / hosted Exchange (Microsoft 365)
  1. Dashboard: look for “Set up Office 365” or “Connect to Office 365” (sometimes under Home → Get Started or Services). Run that wizard and sign in with a tenant Global Admin. The wizard creates the provider entries the Email service expects.
  2. Connectivity checks (if the wizard fails to start or sign-in):
    • From the server open Edge/IE and browse to Sign in to your account — if blocked, fix outbound HTTPS.
    • Ensure server time / timezone are correct (TLS auth will fail if the clock is off).
  3. Ensure .NET/WCF HTTP Activation is installed (Essentials uses .NET services). In Server Manager → Add Roles and Features → Features → .NET Framework 4.x → WCF Services → HTTP Activation. Install and reboot if you change this. (Missing WCF activation can break provider loading/wizards.)
  4. After wizard completes, try starting the Windows Server Essentials Email Service. If it still fails, capture the exact Event Viewer error and paste it here.
B — If you have an on‑prem Exchange server
You must ensure the Essentials server can discover and talk to Exchange (Autodiscover/EWS). Do these GUI/network checks:
  1. Basic network/DNS/connectivity
    • On the Essentials server open a browser and visit:
      • https://<ExchangeFQDN>/owa (Outlook Web Access)
      • https://<ExchangeFQDN>/EWS/Exchange.asmx
        If you can reach the login page (or a 401 response) the server is reachable. If you get “site can’t be reached,” fix DNS/firewall first (port 443).
    • In Command Prompt on Essentials: nslookup <ExchangeFQDN> and ping <ExchangeFQDN> to confirm DNS resolution.
  2. Autodiscover / SCP discovery
    • Essentials expects to find Autodiscover information for internal Exchange. If you have Exchange 2010/2013/2016 on-prem, the Exchange server publishes an SCP in AD. Confirm Autodiscover works from a client machine (Outlook uses it). If clients find Exchange automatically, Essentials should too. If they don’t, review your Exchange Autodiscover virtual directory (on the Exchange server’s IIS Manager / Exchange Management Shell).
  3. Firewall / ports
    • Ensure TCP 443 (HTTPS) is allowed between the Essentials server and the Exchange server and that any intermediary firewall/router isn’t blocking or doing SSL interception.
  4. Run the Dashboard wizard again
    • Dashboard → Set up Exchange Server Integration. If the wizard still says “Cannot locate an Exchange Server on the network,” click any Advanced / manual option (the wizard sometimes allows you to type the Exchange server FQDN or EWS URL) — try entering https://<ExchangeFQDN>/EWS/Exchange.asmx if the wizard accepts a manual endpoint.
  5. If wizard cannot be completed
    • On the Exchange server, have someone run these (Exchange Management Shell) checks: Get-AutodiscoverVirtualDirectory, Get-WebServicesVirtualDirectory and confirm their InternalUrl/ExternalUrl are set. If you can’t run these, at least confirm OWA and EWS are reachable from the Essentials server as above.
Other useful checks (both scenarios)
  • Event Viewer: check Application and System logs for SharedServiceHost or ProviderFramework entries (Application log may also have the failure). Copy/paste the full Event message/time for us.
  • Confirm Essentials components are intact: in Server Manager → Manage → Remove Roles and Features → verify “Windows Server Essentials Experience” features are present (if the wizard UI is missing some items that can be a symptom).
  • If provider metadata is already corrupted (we saw providerServiceInfo null), after you get the wizard to detect Exchange or Office 365 you may still need to clear the broken provider entry first (registry key) and re-run the wizard so it can recreate a correct provider entry. I can give those exact registry key locations if we reach that step.
If you want, do this and paste results:
1) Tell me which target you use: Office 365 or on‑prem Exchange.
2) From the Essentials server, run these quick GUI checks and tell me results:
  • Can you open https://<ExchangeFQDN>/owa in a browser? (Yes / No / error message)
  • Can you open https://<ExchangeFQDN>/EWS/Exchange.asmx? (Yes / No / error)
  • Is there an Office 365 sign‑in wizard shown anywhere in the Dashboard? (Yes / No — where)
Once you tell me which scenario and the three results above, I’ll give the exact next GUI steps (including the manual wizard entry to try, and how to remove any broken provider entry safely if needed).
 

I don't agree that Office 365 or Exchange is required to make email work. When I first installed Windows Server Essentials 2016 in 2023, emailing worked fine without having Office 365 or an Exchange Server installed on my home personal network. After several months I turned it off until I could come up with a way to filter the output.
 

You’re right — Essentials can send mail without Office 365 or an on‑prem Exchange server. There are two different ways Essentials email can work in a home environment:
  • Essentials integrated with a hosted service (Office 365 / Exchange Online) or an on‑prem Exchange (that’s when the Dashboard shows Exchange/Office365 wizards and the Email Provider hosts an Exchange provider).
  • OR Essentials simply sends/relays notification mail via an SMTP service (either the IIS/SMTP feature on the server itself or an external SMTP relay like your ISP or a smart host). That second mode is what most home installs used.
What’s happening now
  • Your error (providerServiceInfo = null) shows the Email provider host is failing because some provider metadata is missing or corrupt. That prevents the Email Host from loading whatever providers it thinks it should (Exchange, Office365, or SMTP provider entries).
  • Before we touch the registry, let’s restore the simplest path: make sure the SMTP capability / provider is present and then re‑create the provider entries via the Dashboard so the Email service can start.
Follow these GUI-first steps (non-destructive; I’ll include safe registry steps only if needed)
1) Confirm whether an SMTP service exists now
  • Open Services (services.msc). Look for “Simple Mail Transfer Protocol (SMTP)” or “SMTPSVC” and check status.
    • If it’s present and Running, skip to step 3.
    • If it’s not present, continue to step 2.
2) Install the IIS SMTP Server feature (if you want a local relay)
  • Open Server Manager → Manage → Add Roles and Features.
  • Features → check “SMTP Server” (you’ll be prompted to add “IIS 6 Management Compatibility” components — allow those).
  • Install and reboot if asked.
  • After install, open “Internet Information Services (IIS) 6.0 Manager” (this is the console used to manage the SMTP service). Configure the SMTP Virtual Server:
    • Right‑click SMTP Virtual Server → Properties → Delivery tab → Outbound Security / Outbound Connections — set authentication/outbound if you need to relay via your ISP or smart host.
    • Make sure Access / Relay settings allow the server to relay (for the local server only; don’t open it to the world).
3) Make sure .NET WCF HTTP Activation is present
  • Server Manager → Manage → Add Roles and Features → Features → .NET Framework 4.x Features → WCF Services → enable “HTTP Activation”. (Essentials provider framework needs WCF activated). If you add this, reboot.
4) Re-run the Essentials email wizard (Dashboard)
  • Open Windows Server Essentials Dashboard → look for an option labeled “Set up Exchange Server Integration” or “Email” / “Connect to Office 365” or “Configure Email notifications”.
  • If you want to use a local SMTP relay (the simple home scenario), look for “Configure outgoing e‑mail” or similar — point it to localhost (127.0.0.1) if you installed the IIS SMTP service, or to your ISP/smart host (with auth) if you use their SMTP. Complete the wizard. This should recreate the provider configuration entries the Email service needs.
5) Try to start the Windows Server Essentials Email Service
  • Services (services.msc) → Windows Server Essentials Email Service → Start.
  • If it starts, done. If it still fails, check Event Viewer Application log for the new error details and tell me what you see.
If the wizard still fails or the service still errors with providerServiceInfo null
(we’ll be careful — do these only if the GUI steps above don’t fix it)
A) Export the registry area first
  • Run regedit → File → Export → save a backup of HKLM\SOFTWARE\Microsoft\Windows Server (or export whole HKLM\SOFTWARE\Microsoft\Windows Server* that you will edit).
B) Search for empty/corrupt provider entries (safe removal of obviously broken keys)
  • In Registry Editor: Edit → Find → search for ProviderServiceInfo.
  • If you find keys where the ProviderServiceInfo value is empty (blank) or obviously corrupt and the key name clearly references Email/HostedEmail/ProviderFramework, export that subkey (right‑click → Export) then delete only the broken subkey. Don’t delete keys you don’t understand.
  • Reboot and re‑run the Dashboard email setup wizard — the Essentials provider framework should re-create the provider entry for SMTP/Exchange/Office365 as you configure it.
Notes / caution
  • Back up the registry before deleting anything. Deleting the wrong key can break other Essentials features.
  • If you are unsure about a registry key before deletion, paste its full path here and I’ll confirm whether it’s safe to remove.
  • Installing the SMTP Server feature and pointing the Dashboard to localhost is the fastest way to restore simple outgoing mail for notifications and avoids Exchange/Office365 entirely. That’s what most home Essentials users used historically.
If you want I’ll:
  • Give the exact clicks for the SMTP properties you should change in IIS6 Manager (relay/auth) for a safe home setup, and
  • Walk you step‑by‑step through the registry search and show which keys to export/delete if the GUI path fails.
Tell me:
  • Do you prefer to use a local SMTP relay on the server (I’ll give the SMTP setup steps), or do you want to keep using your ISP/smart host (I’ll show wizard fields and outbound auth settings)?
  • If the Dashboard wizard still fails after installing SMTP + WCF HTTP Activation, run the registry search (ProviderServiceInfo) and paste one example full key path you find — I’ll check it for you before you remove anything.
 

Back
Top