The first early preview version (Technical Preview) became available on October 1, 2014. Windows Server 2016 was released on September 26, 2016 at Microsoft's Ignite conference and became generally available on October 12, 2016.
Questions tagged [windows-server-2016]
1004 questions
17
votes
6 answers
Error connecting to a remote SQL server database Visual Studio 2017
I have an SQL server 2016 instance running on Windows server 2016,
I'm trying to connect to the DB from a remote PC in Visual Studio 2017 Community using the Server Explorer. The connection is successful and I can see the Databases available on the…

Fadi Banna
- 554
- 1
- 10
- 26
17
votes
5 answers
Linux Docker container on Windows Server 2016
What is the way to run Linux docker container on Windows Server 2016? With Docker for Windows it easy to do in Windows 10. Is the only way to install Docker Toolbox and ignore the build-in containers feature all together?

Natalia
- 554
- 1
- 6
- 16
17
votes
4 answers
Running Visual Studio Remote Debugger in Windows Container (Docker managed)
I try to run the Visual Studio Remote Debugger in a Windows Container on Windows Server 2016 TP4. Since it runs inside a container, there is no UI.
I try to run the remote debugger via:
.\msvsmon.exe /nostatus /silent /nosecuritywarn…

Mathias Conradt
- 28,420
- 21
- 138
- 192
16
votes
2 answers
How to run Linux Docker images on Windows Server 2016?
I have used docker for windows with linux containers on windows 10 sucessfully - but now I want to use a new shiny Windows Server 2016 for that task - but how?
I have installed the docker features using this guide:…

Christian Sauer
- 10,351
- 10
- 53
- 85
15
votes
5 answers
Running chocolatey in docker container fails
I have docker on windows server 2016. The Dockerfile contains some build tools to be installed via chocolatey. It fails every time when I am trying to build image from mentioned Dockerfile. The chocolatey tool is not running in container.
# Use the…

user2301
- 1,857
- 6
- 32
- 63
14
votes
3 answers
Why is IIS Worker Process locking a file?
My website is setup in the D:\RW_System\RW_Webroot\BrokerOffice.Admin folder (screenshot below). It's a .NET, C# WebForms application.
For whatever reason, when I want to deploy changes to the site, I try to copy the files over, but IIS locks…

AngryHacker
- 59,598
- 102
- 325
- 594
14
votes
2 answers
Slow Docker on Windows Run Step, Why?
I'm trying to create a new docker image with the following dockerfile, but it's taking an awful long time to finish one of the steps:
FROM microsoft/dotnet-framework:4.7
SHELL ["powershell"]
# Note: Get MSBuild 12.
RUN Invoke-WebRequest…

mbadawi23
- 1,029
- 2
- 21
- 43
13
votes
1 answer
How does ServicePointManager.ReusePort and SO_REUSE_UNICASTPORT alleviate ephemeral port exhaustion?
Windows 10 and Windows Server 2016 introduced the SO_REUSE_UNICASTPORT socket option. It was made available for use in .NET starting from version 4.6 via the ServicePointManager.ReusePort static property. I'm suffering from ephemeral port exhaustion…

Allon Guralnek
- 15,813
- 6
- 60
- 93
12
votes
2 answers
Linux Docker EE Containers on Windows Server 2016
Are there any update to date guides on how to use Linux containers in Docker EE for Windows Server 2016? All guides I have found (such as this one) are using the preview edition which from what I can tell is two major releases and 2 years out of…

Andrew Sumner
- 793
- 2
- 12
- 29
12
votes
3 answers
Can't run .NET Core 2.1(.1) application on Windows Server 2016
I'm trying to run a .NET Core application on my Windows Server 2016 instance. It builds/runs fine on my Windows 10 machine.
First I'm doing dotnet publish and I copy the published site to the Windows Server instance. I followed this guide and…

Ropstah
- 17,538
- 24
- 120
- 194
12
votes
2 answers
How to disable HTTP/2 on IIS of Windows Server 2016
We are running into some issues that seem to be affected by http2 and I want to turn it off temporarily to troubleshoot. I tried the registry keys outlined in this question but that did not help with Windows Server 2016.
How to disable HTTP/2 on IIS…

Shaun Bowe
- 9,840
- 11
- 50
- 71
11
votes
0 answers
postgres in Docker with data directory on named or bind volume works on Windows Server 2019 but not Windows Server 2016
I'm currently trying to run PostgreSQL 10.6.1 in a docker container (Base-Image is mcr.microsoft.com/windows/servercore:ltsc2016) that should be run on Windows Server 2016 Datacenter (Version 1607, Build 14393.2759).
Everything runs fine, including…

sven
- 4,161
- 32
- 33
11
votes
1 answer
Console App or Windows Service in Windows Container?
I am trying to build a Windows Container based Micro-Service on Server 2016 CTP5 using .net 4.5.
In the non-container world, I am using a console app deployed as a Windows Service that subscribes to a queue and does its work.
In a container, I can…

TalMcMahon
- 159
- 2
- 10
10
votes
1 answer
.NET Core console app fails to run on Windows Server
I have a relatively simple .NET Core console app. It has no external dependencies. I build it using the following:
dotnet publish -c Release -r win10-x64
It generates a \bin\Release\netcoreapp2.2\win10-x64 folder structure. This folder contains…

AngryHacker
- 59,598
- 102
- 325
- 594
10
votes
2 answers
SQL Server 2017 relative path issue
Encountered interesting problem after migrating to SQL Server 2017.
Absolute path test
backup database master to disk = 'C:\Temp\1\2\3\master.bak'
Backup is created in C:\Temp\1\2\3\ as expected.
Relative path test #1
backup database master to disk…

Alex Aza
- 76,499
- 26
- 155
- 134