2016 Essentials – Anywhere Access setup fails
When setting up new 2016 Essentials or really any version of Essentials and you’re trying to create/add a domain to append to the remotewebaccess.com domain name the UI wizard fails with this error window:

“An error occurred while setting up your domain name: The domain name was not setup for your server. Wait a few minutes and run the wizard again. An unknown error occurred.
No matter how much time you wait, the same error pops up each time. The problem isn’t DNS, or the server itself but rather the Cert revocation checks for .Net Framework!!
To fix this you have to create a .reg file (call it what you want but it has to include the following settings:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v2.0.50727]
“SystemDefaultTlsVersions”=dword:00000001
“SchUseStrongCrypto”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319]
“SystemDefaultTlsVersions”=dword:00000001
“SchUseStrongCrypto”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v2.0.50727]
“SystemDefaultTlsVersions”=dword:00000001
“SchUseStrongCrypto”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft.NETFramework\v4.0.30319]
“SystemDefaultTlsVersions”=dword:00000001
“SchUseStrongCrypto”=dword:00000001
After making the reg file, merge, REBOOT the server or the Anywhere access wizard may still show above error message. After reboot, open Essentials Console and re-rerun the Anywhere Access wizard, user a Hotmail account to create the domain <customer>.remotewebaccess.com. Then click the wizard to install VPN and Remote Desktop Make sure the router and ISP are forwarding port 443 to the Essentials server.
UPDATE: December 5, 2022.
Tonight after having a similar issue with a 2016 Essentials server and Devices all turning to gray (Offline state) after installing the Anywhere Access to the server. (Had to manually install RRAS for Direct Access and VPN before the Anywhere Access wizard would install successfully – but that’s another blog I need to write). Installing the Direct Access role disconnected all the clients from the dashboard and no matter what we tried to “fix” the client nothing worked. argh!!
Options we tried on the Client:
1. Uninstalled the Connector;
2. Delete Data & Logs folders from \ProgramData\Microsoft\Windows Server;
3. Open Task Scheduler, delete all tasks under: Microsoft >Windows >Windows Server Essentials. Then delete this folder.
4. Delete the VPN SSTP connector.
5. Reboot client
6. Reinstall the Client connector. For most other occasions this should fix the clients.
In tonight’s case though, messing with the client did not fix it. What did finally work is found under this Blog by ShoemakerBrian.
Not sure how he found this solution but it instantly fixed the clients Online status:
Open Admin PowerShell and run command below, changing the IP with the IP address of the Essentials server:
Set-NetNatTransitionConfiguration –IPv4AddressPortPool @(“192.168.1.10, 6001-6601”, “192.168.1.10, 6603-47000”)
Brilliant! – All clients now showed up in the Dashboard.
Hope this helps everyone that runs into this issue. It’s a frustrating one and not many solutions out there.
Thanks very much, worked like a charm !!!
Thanks for passing it forward. This is info Msft doesn’t share enough.
Hi
Reg file did not work for me. Anything else I can try?
Thanks
Regards
Did you reboot after adding the reg keys
Hi
Reg file did not work for me. I am getting this issue on two separate Windows Server 2016 with Essentials. Is there anything else I can try?
Thanks
Regards
Is the error the same. Did you reboot after adding the reg keys. Can you send me a dump of the reg key?
Hi
So solution is to use an equivalent PowerShell script with ‘force’ as per this link; https://server-essentials.com/community/answers/anywhere-access-wizard-stop-working
Seem reg file method sometimes does not take effect.
Regards
So “\Microsoft.NETFramework” is incorrect, no?
It should be “\Microsoft\.NETFramework”?