Windows Container: Create local user on microsoft/nanoserver

Last time I showed you on how to download Windows Container images, this time we will work with one of the containers!

First of all download the microsoft/nanoserver image: docker pull microsoft/nanoserver

Now run the image: docker run -it microsoft/nanoserver cmd

The command "cmd" will open a cmd box on your container. To add users open Powershell by running powershell.exe in this container cmd windows.

And now we can add new users by using this command:

Finally add the user to the Administrators group:

For verification, run this script:

SharePoint 2013: An unrecognized HTTP response was received when attempting to crawl this item

Windows Container: hard links not supported with legacy writer