I have installed latest Docker Desktop. Currently unable to switch to Windows container. The option is blocked from task bar :

I am running Windows 10 Home 64-bit Build 19042.
I have installed latest Docker Desktop. Currently unable to switch to Windows container. The option is blocked from task bar :

I am running Windows 10 Home 64-bit Build 19042.
You need windows 10 Pro or Enterprise to have access to Windows containers.
The other answer will indeed switch your daemon mode to Windows, but you will not be able to pull any Windows container.
Update 2022: The link above now mentions that it should work for
I had spent hours debugging this issue and have to purchase win 10 pro license as well but still faced the same issue, by default it takes linux containers, switching to windows shows waiting forever, anyway here is how I fixed:
Windows Pro
Close/Shutt down the client by right clicking on the tiny icon on taskbar, and wait for a minute or two to have it close itself. 3.Open command prompt with Administrative rights
Type in this command:
c:\Program Files\Docker\Docker\resources>dockerd.exe
Open another command prompt with Administrative rights
C:\Program Files\Docker\Docker>DockerCli.exe -SwitchDaemon
Type "C:\Program Files\Docker\Docker>docker version" command to make sure it has switched to windows containers, it should look like attached screenshot
as per the latest Docker Desktop version, your settings should look like this 
Quit Docker Desktop, and open again, Hope it helps some.
I could not switch it easily, even using Altaf's approach. Eventually I went to Services (services.msc) and disabled Docker Desktop Service and updated docker service (Docker Engine) to make sure it can automatically start (for example, make sure the daemon.json config file exists in the location as the service command specified). Then I can verify the result by typing docker version (in non-Administrative command prompt).