Why can not I change the network type to a Windows 7 / Windows Server 2008?

For Windows 7 network types, the secret lies in the GATEWAY entry. Any network you connect on that doesn’t have a DEFAULT GATEWAY provided with, becomes PUBLIC and you cannot change it’s type.

The solution is simple, specify the DEFAULT GATEWAY IP in the network properties and you are done.

There had been other suggestions like requesting the system to treat any future networks to be PRIVATE/WORK, but that will make a serious security issue if your computer is exposed in an environment that cannot really be trsuted, so, don’t do that.

Exchange 2010 Virtual directory: disable the kernel mode authentication

In a elevated PowerShell: (example: EWS dir)

cd $env:windir\system32\inetsrv
.\appcmd.exe unlock config "-section:system.webserver/security/authentication/windowsauthentication"
.\appcmd.exe set config "dirpath/ews" "-section:windowsAuthentication" "-useKernelMode:False" /commit:apphost

Quit and run from a standard command line:

iisreset /noforce

and the  Internet Address Management Wizard

Optional:

Set:

%windir%\system32\inetsrv\appcmd.exe set config /section:system.webServer/security/authentication/windowsAuthentication /useKernelMode:false

List:

%windir%\system32\inetsrv\appcmd.exe list config /section:system.webServer/security/authentication/windowsAuthentication