How to install ASP.NET state session on Windows 2016

Go to Add Remove/Feature then Install ASP.NET 4.6 from .Net Framework 4.6 Features.

Once installed configure remote access

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection to 1.

Then set a service to autostart in services.msc

Once completed restart the service to enable remote connections.

Reboot is not required if you don’t change the Windows Registry settings.