samsquared2

New Member
Joined
Aug 19, 2025
Messages
17
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.
 

I installed the IIS SMTP Server feature (step 2) but did not do the following because I'll be using a gmail account:

- 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).

Step 3: Verified info
Step 4: "Set up Exchange Server Integration" Still gets an error that says "Cannot locate an Exchange Server on the network"
Step 5: Trying to start the service still fails with the same error as before.

I searched the entire registry for "ProviderServiceInfo" but it does not exist.
 

Good — thanks for the details. Two short points up front, then a clear GUI-first plan you can follow.
  • The Event error we saw is caused by the Essentials Email host failing because provider metadata is missing/corrupt (providerServiceInfo = null). That’s why the service bails on start.
  • Because you want to use Gmail[1] as your outbound relay, the simplest, most reliable fix is to provide Essentials with a working local SMTP relay that can authenticate/TLS to Gmail — then point Essentials to that local relay so it can create its provider entry and start successfully.
GUI-first plan (recommended, non-destructive)
1) Install & configure a small local SMTP server that supports TLS/auth (I recommend hMailServer — free, Windows-native)
  • Download and install hMailServer .
  • During install choose the built-in database or use the bundled option. Start the hMailServer Administrator.
  • Add a domain (use something simple like localdomain.local). Add an account (eg. no-reply@localdomain.local) — this is the sender address Essentials will use.
  • In Settings → Protocols → SMTP → Delivery of e-mail → set “SMTP relayer” to smtp.gmail.com and Port = 587.
  • Enter your Gmail address as username and the Gmail app password as password (regular Gmail password won't work if 2‑step auth is on).
  • Check “Server requires TLS” (or “Use STARTTLS”) — hMailServer supports this.
  • Save and start the hMailServer service. Test that hMailServer can send mail: hMail has a built‑in test or send a small test message from the admin console.
Why hMailServer: it will accept unauthenticated SMTP from localhost (Essentials) and then forward authenticated/TLS to smtp.gmail.com — which avoids the IIS6 SMTP limitation (IIS6 SMTP can’t do modern SMTP+TLS auth by itself).
2) Configure Essentials to use the local relay
  • Open Windows Server Essentials Dashboard.
  • Go to Settings (or the Dashboard area for Notifications / E-mail). Look for “Configure outgoing e‑mail” / “E‑mail notifications” (this is the place where you specify SMTP server).
  • Set SMTP server = 127.0.0.1 (or the server’s LAN IP), Port = 25 (or whatever hMail listens on), leave authentication OFF (Essentials will deliver to hMail without auth because it’s localhost). Set the “From” address to the account you created (no-reply@localdomain.local). Save.
3) Try to start the Windows Server Essentials Email Service
  • Services → Windows Server Essentials Email Service → Start.
  • If the service starts successfully the provider entry should be created and the Event 1025 error should stop.
4) Test by forcing a notification or using the Dashboard test e‑mail option.
If service still fails after the above
  • Check the Application event log for the new error text/time (paste it here).
  • We’ll then try a safe registry search for provider entries and only remove obviously blank/corrupt items after exporting them.
Notes / important details
  • Gmail specifics: Google requires either (a) an app password created under your Google account (if you have 2‑Step Verification enabled) or (b) enabling “Less secure apps” on older accounts (not recommended / often unavailable). Use an app password.
  • Alternative to hMailServer: Stunnel + IIS SMTP or other mail relay tools — but hMailServer is easiest for most home setups.
  • Don’t enable the IIS SMTP virtual server to relay directly to smtp.gmail.com — IIS6 SMTP lacks native modern TLS+auth and will fail or require complicated stunnel workarounds.
If you want, I can:
  • Give the exact hMailServer field values and a short checklist for creating a Google app password; or
  • Walk you through the Dashboard steps to point to localhost (I can list exact menu clicks if you tell me what Dashboard options you see).
Which would you like me to send next: full hMailServer step-by-step with screenshots/fields, or the Dashboard clicks to point Essentials at localhost once hMailServer is running?

Sources:
[1] smtp.gmail.com
 

hMailServer is no longer supported and the last release was in 2021. Also, it requires .Net 2.0 to install which I'd rather not do. There must be some other way to accomplish emailing from Windows Server Essentials 2016
 

Thanks — good clarification. hMailServer is fine as an example but you’re right to avoid old/unsupported components. There are safer, modern ways to get Essentials emailing to work without installing .NET 2.0. Briefly: Essentials needs a working SMTP outbound provider so its Email service can create provider metadata and start. If you don’t want hMailServer, pick one of these supported approaches (I’ll give step‑by‑step for whichever you choose):
Summary of workable options
  • Option A — Use a hosted SMTP relay (recommended): sign up for a modern SMTP relay (SendGrid, SMTP2GO, Mailgun, Amazon SES, etc.) and point Essentials’ outgoing mail settings at that host with the username/password and TLS. No extra software required on your server.
  • Option B — Use Gmail directly (if you prefer Gmail): create a Google “App password” (if your account uses 2‑Step Verification) and configure Essentials’ outgoing SMTP to smtp.gmail.com, port 587, TLS, with your Gmail account and the app password. No extra servers required.
  • Option C — Use IIS SMTP + a TLS relay wrapper (stunnel) — if you must route via localhost but need modern TLS/auth support without hMailServer. stunnel provides a secure tunnel to smtp.gmail.com (or other SMTP host) and lets IIS SMTP deliver locally. This is more work and slightly more advanced but avoids installing a full mail server.
Why these will fix the providerServiceInfo problem
  • The Email service fails on start because it can’t load a provider entry. Once Essentials can successfully configure an “Outgoing e‑mail” provider (SMTP settings), the provider metadata will be created and the Email service will stop crashing. So the goal is to get a valid SMTP configuration in the Dashboard (or recreate provider metadata via the wizard). Using a modern SMTP relay or Gmail app password is the least friction route.
Which to pick
  • If you want the simplest/resilient route with minimal server config: Option A (hosted SMTP) — many providers have free tiers and are straightforward to configure.
  • If you want to stay with Gmail: Option B. It requires creating an app password (if you use 2FA) and then entering smtp.gmail.com:587 + credentials in the Dashboard.
  • If you must keep everything local or your ISP blocks outbound SMTP: Option C (IIS SMTP + stunnel) — I can walk you through the stunnel config.
Step‑by‑step for Option B (Gmail) — GUI steps you can try now
1) Create an App Password (if your Google account uses 2‑Step Verification)
  • Sign into your Google Account → Security → 2‑Step Verification → App passwords → create one for “Mail” on “Windows Server” (or similar). Copy the generated 16‑char app password.
2) Configure Essentials outgoing mail (Dashboard)
  • Open Windows Server Essentials Dashboard.
  • Go to Settings (or Dashboard → Notifications / E‑mail / Configure outgoing e‑mail).
  • Enter:
    • SMTP server: smtp.gmail.com
    • Port: 587
    • Use TLS / StartTLS: ON (if there’s a checkbox)
    • Authentication: enable and enter your full Gmail address as the username and the App Password from step 1 as the password.
    • From address: the e‑mail you want notifications to come from (can be your Gmail address).
  • Save.
3) Start the Windows Server Essentials Email Service
  • Services (services.msc) → Windows Server Essentials Email Service → Start.
4) Test
  • In the Dashboard email settings there’s usually a “Send test e‑mail” button — use that. Also check Application event log for any new errors.
If the Email service still fails with the same providerServiceInfo error
  • Tell me the new Application event log entry (full text and time) and we’ll proceed to safely recreate provider metadata. If the wizard still won’t create the provider entry we’ll do a safe registry search for provider-related keys (I’ll tell you exactly what to export and which keys are safe to remove). I won’t ask you to delete anything until you paste the key paths so I can confirm.
If you prefer Option A (hosted SMTP) I can show the simple Dashboard fields (they’re the same format as Gmail) — example using SMTP2GO:
  • SMTP server: smtp.smtp2go.com
  • Port: 587
  • TLS: ON
  • Username: the SMTP2GO username
  • Password: the SMTP2GO password
If you prefer Option C (IIS SMTP + stunnel)
  • I’ll walk you through: install stunnel (current build), create an stunnel service that listens on localhost (e.g. 127.0.0.1:2525) and forwards to smtp.gmail.com:465 using TLS, then configure IIS SMTP or Dashboard to use localhost:2525 as the smart host and supply the Gmail credentials inside stunnel’s config (or via a small relay that supports auth). This is more involved; I’ll give exact stunnel conf lines if you want it.
One more check before you pick
  • You said you couldn’t find the Dashboard email wizard or the ProviderFramework event log path earlier. After you configure outgoing mail (Option A or B), the wizard should automatically populate provider metadata. If still not, please confirm whether “Windows Server Essentials Experience” is installed (Server Manager → Manage → Remove Roles and Features → Features — check the Essentials Experience is listed). If that feature is missing/corrupt we’ll repair it before proceeding.
Which approach would you like to try now — Option A (hosted SMTP), Option B (Gmail app password), or Option C (stunnel + IIS SMTP)? Tell me which and I’ll give the exact GUI clicks/field values (and the App‑Password checklist for Gmail if you pick B).
(If it helps, this troubleshooting approach — creating a usable SMTP provider so the Email host can create provider metadata — is the same fix others have used when providerServiceInfo was missing. )
 

I'll try Option A. It looks like smtp2go has a free plan without time limits so let's use that.
 

Good — SMTP2GO is a fine choice. Below are clear, GUI-first steps to (A) create an SMTP2GO account and get credentials, (B) configure Windows Server Essentials to use SMTP2GO as the outgoing SMTP provider, and (C) verify & troubleshoot so the Windows Server Essentials Email Service can start. I’ll also include quick tests you can run. If anything fails, paste the Application event log entry and I’ll walk through the next safe steps. (Reminder: the providerServiceInfo null error you saw happens when Essentials can’t create a valid provider entry; giving it a working outbound SMTP provider normally fixes that. )
A — Create an SMTP2GO account and get SMTP credentials
  1. Sign up
    • Browse to smtp2go.com → Sign Up and create a free account. Verify your account by clicking the confirmation link in the verification e‑mail.
  2. Get SMTP settings / credentials
    • Sign in to the SMTP2GO dashboard.
    • Go to Settings → SMTP Credentials (or SMTP Settings). Copy the SMTP hostname and port (smtp.smtp2go.com, 587 is standard).
    • Note the SMTP username and password shown (or create a new credential pair). That is what you will enter in Essentials if you supply auth, but because we will point Essentials to the external relay directly you will enter these into the Dashboard fields.
  3. Verify sender address policy (optional)
    • If you want higher deliverability, add/verify your sending domain in the SMTP2GO dashboard per their instructions (not required to test).
B — Configure Windows Server Essentials (GUI)
  1. Open the Essentials Dashboard
    • Start → Windows Server Essentials Dashboard.
  2. Open E‑mail/Outgoing mail settings
    • In the Dashboard, click Settings (it’s the cog/gear).
    • In the Settings page look for an “E‑mail” or “E‑mail notifications / Outgoing e‑mail” tab/option. (If you don’t see E‑mail in Settings, open Dashboard → Notifications or look under the “Services” or “Home” pages — the outgoing SMTP settings are in the same area.)
  3. Enter SMTP2GO details
    • SMTP server: smtp.smtp2go.com
    • Port: 587
    • Use TLS / STARTTLS: ON (check the TLS/SSL or StartTLS box if present)
    • Authentication: ON — enter the SMTP2GO username and password you copied from the SMTP2GO dashboard.
    • From: set the From address you want the server to use (example: no-reply@yourdomain.tld or your real mailbox). Use a valid address.
    • Save the settings.
C — Start the Windows Server Essentials Email Service & test
  1. Start the service
    • Open Services (services.msc) → locate “Windows Server Essentials Email Service” (or SharedServiceHost if that’s shown) → Right‑click → Start.
    • If it starts successfully, you’re done; the provider should be created and the 1067/1025 error will stop.
  2. Test e‑mail from Dashboard
    • In Dashboard’s E‑mail settings there is usually a “Send test e‑mail” button — use it to send a test message to your inbox.
    • If the test fails, note the error and time.
D — Quick connectivity & test checks (if tests fail)
  1. Test network connectivity to SMTP2GO from the server
    • Open PowerShell (Admin) and run:
      Test-NetConnection smtp.smtp2go.com -Port 587
    • Result should show TcpTestSucceeded : True. If False, check firewall or ISP blocking outbound SMTP.
  2. Send a one-off test message from PowerShell (will confirm TLS/auth)
    • Replace username/password/from/to and run as Administrator:
      $cred = New-Object System.Management.Automation.PSCredential("SMTP2GO_USERNAME",(ConvertTo-SecureString "SMTP2GO_PASSWORD" -AsPlainText -Force))
      Send-MailMessage -From "no-reply@yourdomain.tld" -To "you@domain.tld" -Subject "Test" -Body "Test body" -SmtpServer "smtp.smtp2go.com" -Port 587 -UseSsl -Credential $cred
    • If this sends, SMTP2GO and network are good.
E — Troubleshooting if the Windows Server Essentials Email Service still fails with 1025 / 1067
  1. Check Application event log for the exact new error (Application log / last 5 minutes). Paste the full Event message here if it fails — I’ll read it.
  2. Confirm Essentials features & .NET WCF HTTP Activation
    • Server Manager → Manage → Add Roles and Features → Features → .NET Framework 4.x → WCF Services → make sure “HTTP Activation” is checked. Reboot if you add it.
    • Also confirm “Windows Server Essentials Experience” is installed (Server Manager → Manage → Remove Roles and Features → Features). If that component is missing or corrupt, the Dashboard can’t create providers correctly.
  3. If the service still throws providerServiceInfo null
    • We will not delete registry keys blindly. Instead: export the Windows Server registry area first (regedit → File → Export → HKLM\SOFTWARE\Microsoft\Windows Server). Then run the Dashboard wizard again to re-create provider data. If wizard still can’t create providers, paste the exact registry keys/values you find that look like provider entries and I’ll advise which ones are safe to remove and re-create.
F — Other notes & best practices
  • SMTP2GO free plan has sending limits; check their free‑tier daily limit.
  • Make sure the “From” address you configure in the Dashboard is acceptable (some relays prefer a verified sender or matching domain).
  • Ensure outbound port 587 is allowed by any network firewall or ISP.
  • If your Essentials server is behind NAT, the outbound SMTP connection is initiated from the server — no inbound firewall changes are required.
If you want, I can:
  • Provide the exact Dashboard screenshots/field names to click (tell me which Dashboard view you see if labels differ), or
  • Walk you through the SMTP2GO PowerShell test step‑by‑step while you run it, or
  • If the Service still fails, tell me the full Application event text (copy/paste) and I’ll analyze the new error and give the precise registry-safe remediation.
Which would you like next — the PowerShell test now, or the exact Dashboard clicks to enter SMTP2GO creds?
 

Step C1 fails with the same event log error as before. Step D1 was successful. Step D2 fails with this:

Send-MailMessage : Mailbox unavailable. The server response was: From header sender domain not verified (samcox.org)
At line:1 char:1
+ Send-MailMessage -From "sam@samcox.org" -To "sam@samcox.org" -Subject ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpExcept
ion
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage

I did not do step A3 because I was reluctant to mess with DNS entries. The error above seems to indicate that it was a necessary step?
 

Thanks — that PowerShell error is the key: SMTP2GO is refusing the message because the From domain (samcox.org) is not verified in your SMTP2GO account. That is expected behavior for most modern SMTP relays — they require you to verify the sending identity (domain or specific sender) before they will relay mail that claims to come from it.
What you should do next (short plan)
1) Verify the sending identity in SMTP2GO (preferred: verify your domain).
2) Re-test the Send-MailMessage PowerShell test — confirm it can send.
3) Reconfigure the Essentials Dashboard (if needed) and start the Windows Server Essentials Email Service again.
Detailed, safe steps
A — Verify your sending domain in SMTP2GO (recommended)
  1. Sign in to the SMTP2GO dashboard.
  2. Find the sending / sender settings — usually called Sending Domains or Sender Verification.
  3. Add your domain (samcox.org). SMTP2GO will give you a TXT record to add to your DNS to prove ownership. It will look like a long verification token.
  4. In your domain registrar/DNS host add the TXT record exactly as shown (type=TXT, name/host=@ or the exact host they give, value=the token). Adding this does NOT change mail routing (it does not change MX records) — it only proves domain ownership.
  5. Back in SMTP2GO click Verify (or wait; they’ll detect the TXT). Verification can be nearly immediate but sometimes takes minutes-hours for DNS to propagate.
  6. Optionally add their SPF include to your SPF TXT (recommended for deliverability):
    • If you already have an SPF record, add: include:spf.smtp2go.com (merge into your existing record rather than creating a second SPF). Example merged SPF:
      v=spf1 include:spf.smtp2go.com include:_spf.google.com ~all
    • If you don’t have an SPF record, create one:
      v=spf1 include:spf.smtp2go.com ~all
      (Only one SPF TXT record should exist for the domain; edit not add.)
  7. (Optional for better deliverability) Configure DKIM in SMTP2GO — they will give you CNAME/TXT entries for DNS. Not required for operation but recommended.
B — Quick alternative to verify now (if you want a fast test)
  • If SMTP2GO supports verifying a single email address (some providers let you confirm a single sender by clicking a confirmation link sent to that address), verify an address you control and use that as the From temporarily. If that option exists it’s faster than domain DNS changes. Check SMTP2GO dashboard → Sender verification.
C — Re-test from PowerShell after verification
  • Once domain (or single sender) is verified, run the Send-MailMessage test again (replace credentials if you used new SMTP2GO credentials):
    $cred = New-Object System.Management.Automation.PSCredential("SMTP2GO_USERNAME",(ConvertTo-SecureString "SMTP2GO_PASSWORD" -AsPlainText -Force))
    Send-MailMessage -From "sam@samcox.org" -To "you@yourtestmail.tld" -Subject "SMTP2GO test" -Body "OK" -SmtpServer "smtp.smtp2go.com" -Port 587 -UseSsl -Credential $cred
  • If it succeeds, SMTP2GO is accepting mail from samcox.org.
D — Reconfigure Essentials & start the Email service
  1. In the Essentials Dashboard confirm outgoing mail settings are still set to smtp.smtp2go.com:587 with TLS and SMTP2GO credentials. Set From = sam@samcox.org. Save.
  2. Services (services.msc) → Windows Server Essentials Email Service → Start.
    • If it starts cleanly, the provider metadata should be created and the Event ID 1025 / 1067 error will stop.
E — If the Email service still fails after SMTP2GO accepts mail
  • Capture the exact new Application event log entry (full text and time) and paste it here. I will analyze it — we’ll only then look at provider framework registry entries and repair steps. Do NOT delete registry keys yet; I’ll guide each step.
Why DNS changes are safe (reassurance)
  • The verification TXT and SPF changes do not change where incoming mail is delivered — they do not touch MX records. Adding a TXT for verification and adding/adjusting SPF is standard and safe. If you want, I can give the exact TXT values to add once SMTP2GO shows them, and a one-line example to paste into your registrar’s DNS panel.
If you want immediate help now
  • Tell me whether you prefer to: A) Verify the domain via DNS and I’ll give exact SPF/DKIM guidance, or B) Look for a single-sender verification option in SMTP2GO to test quickly.
  • If you already added the TXT record, tell me the domain and I’ll check the DNS TXT lookup command for you (I’ll show you the PowerShell/nslookup command to check propagation).
 

After making the DNS changes (adding 3 CNAME records, not TXT or SPF), the email service still does not start but I can now send emails via SMTP2GO. I can provide the event log information for the service failure but I don't see the point of doing that because email works. I disabled the email service to stop health monitoring messages telling me it's not running.

Thanks for your help. I still feel that something got corrupted in the WSE 2016 install.
 

Thanks — great news that SMTP2GO is sending and you’ve got mail flowing. Your conclusion is fair: something in the Essentials provider metadata or the Email provider framework looks to be damaged (that’s what caused the providerServiceInfo null error), even though using an external SMTP relay gets around it.
A short summary and safe options
  • Current state (good): Outbound mail works through SMTP2GO. You disabled the Windows Server Essentials Email Service to stop the health alerts — that’s a perfectly acceptable workaround for a home server.
  • Why the remaining error matters: the built‑in Essentials Email Service still fails because it expects provider metadata that is absent/incorrect; that’s why SharedServiceHost.exe throws the ArgumentNullException and 1067/1025 error. Others who saw this were able to fix it by recreating provider entries or repairing the Essentials components.
If you want to restore the native Email Service (repair paths)
I’ll list safe diagnostics and increasing‑effort repair options. Do only what you’re comfortable with — you already have a working email path, so nothing below is urgent unless you want the native integration back.
1) Quick checks (non-destructive)
  • Confirm Essentials features and WCF activation:
    • Open Server Manager → Manage → Add Roles and Features → Features:
    • Ensure “.NET Framework 4.x” → “WCF Services” → “HTTP Activation” is installed.
    • Ensure “Windows Server Essentials Experience” feature is present.
  • Run DISM to repair component store (recommended if you haven’t):
    • Open elevated cmd / PowerShell:
      DISM /Online /Cleanup-Image /RestoreHealth
    • Then rerun SFC:
      sfc /scannow
      These fix many component corruptions.
2) Safe diagnostics to locate broken provider entries (I’ll guide — no deletes yet)
  • Export a backup of the Windows Server Essentials registry area:
    • Run regedit → File → Export → save HKLM\SOFTWARE\Microsoft\Windows Server (keep the .reg file).
  • Search for keys that contain a ProviderServiceInfo value using PowerShell (run as Admin):
    • Copy/paste:
      Get-ChildItem -Path 'HKLM:\SOFTWARE\Microsoft\Windows Server' -Recurse -ErrorAction SilentlyContinue |
      ForEach-Object {
      try {
      $p = Get-ItemProperty -Path $.PSPath -Name 'ProviderServiceInfo' -ErrorAction Stop
      if ($p.ProviderServiceInfo -ne $null -and $p.ProviderServiceInfo.Trim() -eq '') { Write-Output "BLANK: $($
      .PSPath)" }
      elseif ($p.ProviderServiceInfo -ne $null) { Write-Output "FOUND: $($_.PSPath)" }
      } catch { }
      }
    • This will show any keys that store provider metadata (or empty strings). Paste the output here and I’ll confirm the safe next step.
  • Check the Application event log after trying to start the service — paste the full 1025/1067 event text + timestamp if you want me to double‑check it.
3) If you find empty/corrupt provider keys (careful, but doable)
  • Export the specific key (right‑click → Export) before removing.
  • If a key clearly corresponds to Email/HostedEmail/ProviderFramework and its ProviderServiceInfo value is blank or gibberish, removing that single provider subkey lets Essentials recreate it when you run the Dashboard wizard. I’ll give the exact key path and removal command when you paste the search results so we both confirm it’s safe.
4) If registry repair doesn’t help — options with more impact
  • Reinstall / repair the Windows Server Essentials Experience feature:
    • You can remove and re-add the feature via Server Manager, but if this server is a domain controller or running other Essentials features, be cautious — removing Essentials Experience can have side effects. Back up server state beforehand.
  • In‑place repair install of Server 2016:
    • Mount matching Server 2016 media, run setup.exe → choose Upgrade / Keep files and apps. This replaces system files and repairs corrupted OS components without removing roles/applications. Make a full system backup first.
5) Practical low‑effort choices (what I’d recommend)
  • Keep SMTP2GO and leave the Essentials Email Service disabled (what you already did). That gives a stable, modern outbound path with minimal risk.
  • If you want the Dashboard’s native email features (e.g., Office 365 integration or other provider hosts) restored, I can walk you step‑by‑step through the safe registry checks and a controlled repair (export keys before any delete). That’s the lowest‑risk way to try to bring the native Email Service back.
If you want to proceed with fixing the native service, tell me which of these you prefer:
A) Run the safe diagnostics (PowerShell registry search I posted) and paste the results — I’ll identify any broken provider keys and the exact safe commands to export and remove them.
B) Try DISM / SFC first (I gave the commands) and then retry starting the service — tell me the event log if it still fails.
C) Skip repair — stick with SMTP2GO and I can show how to suppress the Dashboard health alert instead of disabling the service entirely.
Either way I can:
  • Walk you through the PowerShell queries and how to capture/paste the event logs, or
  • Provide step‑by‑step commands to remove a broken provider subkey safely (but only after you paste the key path).
Which would you like to do next?
 

Back
Top