I thought it was about time to go back and play with Windows Nano Servers! So in this post, I am going to try and explain how to get a create an SMB File Share running on Windows Nano Server.
[themify_box style=”note”]
Note: My Nano server is based in azure so some screenshots may look different.
[/themify_box]
To start we need to install the Windows Server Storage Package. This package will allow us to create a file share on Windows Nano Server.
We first need to make sure we have installed the Nano Server Package Provider. This can be done by following a previous guide “Installing Packages on Nano Server” if you have not done so already.
Connect to your Nano Server via PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To install the Microsoft-NanoServer-Storage-Package enter the following command in the open PowerShell session. As my Nano server is set to the UK I need to add the –Culture switch in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Once the package has installed, you should see a message saying the server needs a restart to complete the installation.
This can be done by typing the following
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Once the server has started again, you will need to connect back up to it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now we have the package installed we need to create a folder that we are going to share. For this article, I am going to just create the folder on the root of C:\
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To check that the share has created use the following
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To grant permissions on the share we can use the following
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You should now have a share on Nano Server. This can be very useful when you need to copy files to Windows Nano Server and don’t want to use PowerShell…
I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.
Reading Time: 4minutesAt work, I am using a few B-Series VMs in Azure. For what we use them for, they are mostly ok until recently. One of my VMs started to get sluggish and when checking, I Read more
Reading Time: 4minutesMicrosoft has just released a new Insider version of Project Honolulu (version 1802 as of writing this article) which can be downloaded from here. You will need to be a member of the Windows server Read more
Reading Time: 3minutesIn this article, I am going to continue on with my Docker journey and walk through how to uninstall Docker on both Windows 10 and Windows Server 2016. It is always good to get the Read more
0 Comments