Introduction
In this article, I’m going to show you how to create a shared folder in Windows Server 2016, using Server Manager.
This is an easy step by step tutorial you can follow to quickly create a shared folder on your file server, assign the access permissions, and define users’ quotas.
Create A Shared Folder With Server Manager
There are other simple ways to create a shared folder, but I’m going to use the Server Manager because it allows me to tackle all the shared folder aspects (Share name, Data encryption, access permissions, Quotas…) in a single place.
Step 1
In the File Server Open Server Manager. Click On “File and Storage Services” => Click on “Shares“
On the “SHARES” panel, click on the tasks menu, then click on “New Shares“, to launch the New Share Wizard.
NB: If you don’t see the “Shares” option, that means that the file server role is not installed!
Step 2
Select the profile
On the first page of the wizard, you need to select the profile for this share. There are mainly five profiles;
- SMB Share – Quick: This profile represents the fastest way to create a file share and it’s suitable for general file sharing. You can always configure advanced options, like quotas later on.
- SMB Share – Advanced: Select this profile if you want to configure advanced options for your share; like Quotas and type of files stored in the share (General files, Backup, and archive files, Hyper-v files …etc.).
- SMB Share – Applications: This profile creates an SMB file share with settings appropriate for Hyper-V, certain databases, and other server applications.
- NFS Share – Quick: Use this profile to share files with UNIX-based computers.
- NFS Share – Advanced: To create shares with UNIX-based computers, using advanced options.
Select the “SMB Share – Advanced” profile to be able to configure advanced options.
Step 3
Select the server and path for the share.
On this page, select the server on which you want to create the shared folder. If you are managing only the local server on the Server Manager dashboard you’ll only see the local server on the server list.
Next, you have to specify the share location, either by selecting a volume or by typing a custom path.
If you choose a volume for your share location, Windows Server will create a folder under the root folder of the selected volume and name it “Shares“. You can’t change this name.
If you want to custom the path location, you need to select “Type a Custom path” option, then you can browse and select or create the appropriate path.
Best Practices: Create a top-level folder under which you’ll organize all the shares (Ex: E:\Shares). Under this folder create sub-folders and organize them according to job roles and security requirements.
Step 4
Configure share settings;
On this page, you can configure additional settings for your share, like enabling caching, which makes the contents of the share available to offline users.
You can also encrypt data access; this secures the data against unauthorized access while the data is transferred to and from the share through the network. However, this option will not encrypt the share contents on the disk.
Step 5
Specify permissions to control access
At this step, you need to attribute access permissions to the share.
Click on the “Customize permissions” => then click on the “Share” panel.
In the “permission entries,” by default, the Everyone group has full access rights to the share.
Remove the Everyone group, click on the “Add” button and add the users or group of users you want to allow access to this share.
Best practices: Give access permissions rights to groups instead of to individual users.
In the permission Entry for the group you choose, select “Allow” in the permission type.
In the permissions checkbox list, select the appropriate permissions (Read, change, or full control) you want to give to the users’ group.
Step 6
Specify folder management properties
On the “Specify folder management properties” page, you can specify the purpose of the folder and type of files stored in it.
This will allow you to set up rules that automatically classify files based on their content. Then you can perform specific actions on them, such as moving the files tagged as a backup to a specific folder or encrypting user files
To create a user share, select “Group Files“, then click Next.
Step 7
Apply a quota to the shared folder
You can apply a quota to the shared folder, this allows you to control the disk space.
If you set small quota and you notice later that you need more space you can always change it later.
Step 8
Confirm your selections and create the share
Review your selections, and if there is something wrong, you can step back, by clicking on the previous button and make changes.
Finally, click on the Create button to create the share.
Please leave a comment below and share this article on your preferred social media platform, so that other persons can benefit.
Related
Sharing folders makes them accessible to network users and probably you need to do. After you’ve configured disks on the server, you must share files/disks to enable network users to access files and disks. When sharing files and folders also you can enable administrators and clients to access the files, folders offline even when the server is off.
Sharing files and managing permissions with advanced settings are one of important strategy an administrator must know. Here in this article, we will discuss fully on share files and folders in Windows server 2016, no matter it’s possible to do it in Windows server 2012 and 2008 R2. So let’s get started.
Before start sharing files make sure that the advanced sharing settings is configured correctly from control panel with firewall settings then select the folder you want to share. Here we will share files with File and Storage Services, it’s already available in windows server by default.
1. Go to Server manager click File and Storage Services then click shares>tasks>New share to create a folder share on server.
2. Select a share profile for the folder you want to share then click Next.
SMB Share Quick: (SMB) is the standard file sharing used by all versions of Windows. SMB Share Quick provides basic SMB sharing with full share and NTFS permission.
SMB Share Advanced: Provides SMB sharing with full share and NTFS permission and access to services provided by File Server Resource Manager.
SMB Share Application: Provides SMB sharing with settings suitable for Hyper-V and other applications.
NFS Share Quick: (NFS) is the standard file sharing protocol used by most UNIX, Linux. NFS Share Quick provides NFS sharing with authentication permission and access to services provided by File Resource Manager.
NFS Share Advanced: Provides NFS Sharing with authentication and permission and access to services provided by File Resource Manager.
3. Now select the server and select a volume on the server or specify the folder path you want to share. To share a custom path, choose Type a custom path and browse the folder then click Next.
4. On the specify share name page, type a share name and click Next.
5. Here you have to select the sharing options you need, if you don’t know the definition read then mark them if required.
- Select any or all of the following options:
Enable Access-Based Enumeration: Prevents users from seeing files and folders
they do not have permission to access. - Allow Caching Of Share: Enables offline users to access the contents of this share.
- Enable BranchCache On The File Share: Enables BranchCache servers to cache
files accessed from this share. - Encrypt Data Access: Causes the server to encrypt remote file access to this share.
6. Now Specify the permissions to control access read or write by clicking on Customize permissions then add, remove or change users permission and click Next.
7. Confirm that the shared settings are configured properly and click Create.
The share was created successfully with its appropriate permissions, click close.
To check the folder shared go to Network>your computer then your shared files will be there.
Also you can see them by typing \\yourcomputername\ in the file explorer.
Configure file Shares using file Explorer
1. Navigate to the folder then right click and select Properties, click on sharing tab then click Advanced sharing.
2. Mark on Share this folder and enter a share name then click on permissions to add, remove or change permissions of users and click ok.
When the folder sharing is configured properly, click Apply then ok. Your folder will be shared successfully.
Also, you can manage caching of the folder by clicking on caching and select the one you want. (Caching enables offline files for the users those who have enabled offline files. You can choose if the folder should be available offline or not.
All right, this was all about configured file shares in windows server 2016, hope it would be helpful and informative.
If you have any question regarding this ask here.
Обновлено:
Опубликовано:
В качестве примера используется Windows Server 2012 R2 (2016, 2019). Инструкция разбита на несколько шагов и представляет из себя полный цикл настройки файлового хранилища для использования в малых и средних компаниях.
Выбор оборудования и подготовка сервера
Установка Windows и настройка системы
Базовые настройки файлового сервера
Тюнинг файлового сервера или профессиональные советы
Настройка средств обслуживания
Тестирование
Шаг 1. Выбор оборудования и подготовка сервера
В качестве сервера, желательно, выбрать профессиональное оборудование. Системные требования для файлового сервера не высокие:
- Процессор может быть самый простой;
- Оперативная память также не сильно используется;
- Дисковая система — самый основной компонент. Ее объем зависит от специфики бизнеса. Примерная формула — не менее 15 Гб на пользователя и не менее 1 Тб на сервер. До 50 пользователей можно рассматривать диски SATA, после — SAS или SSD.
Например, для компании в 300 пользователей подойдет сервер с процессором Xeon E3, 8 Гб ОЗУ и 5 Тб дискового пространства на дисках SAS 10K.
Дополнительные требования
- Для обеспечения сохранности информации при выходе из строя жесткого диска, необходим RAID-контроллер. Настройка последнего выполняется из специального встроенного программного обеспечения, которое запускается при загрузке сервера;
- Сервер должен быть подключен к источнику бесперебойного питания;
- Необходимо предусмотреть резервное копирование. Для этого нужен дисковый накопитель (внешний жесткий диск) или другой сервер.
Подробнее о выборе оборудования читайте статью Как выбрать сервер.
Шаг 2. Установка Windows и настройка системы
Установка системы
На этом шаге все стандартно, за исключением одного нюанса: разбивая во время установки Windows жесткий диск, стараемся выделить небольшую часть (70 — 120 Гб) для системы и все остальное под данные. Если выделить много дискового пространства для системного раздела, увеличится время его обслуживания и фрагментация, что негативно скажется на производительности и надежности системы в целом.
Настройка системы
- Проверяем правильность настройки времени и часового пояса;
- Задаем понятное имя для сервера и, при необходимости, вводим его в домен;
- Если сервер не подключен напрямую к сети Интернет, стоит отключить брандмауэр;
- Для удаленного администрирования, включаем удаленный рабочий стол;
- Устанавливаем все обновления системы.
Шаг 3. Базовые настройки файлового сервера
Это стандартные действия, которые выполняются при настройке обычного файлового сервера.
Установка роли и вспомогательных компонентов
Как правило, данная роль устанавливается вместе с Windows. Остается только это проверить и доустановить компоненты, которые нужны для полноценной эксплуатации сервиса.
Открываем Диспетчер серверов. Он может быть запущен из панели быстрого запуска.
Нажимаем Управление — Добавить роли и компоненты.
В открывшемся окне оставляем Установка ролей и компонентов и нажимаем Далее.
В следующем окне выбираем нужный сервер (выбран по умолчанию, если работаем на сервере, а не через удаленную консоль) и нажимаем Далее.
Среди ролей находим Файловые службы и службы хранилища, раскрываем ее и проверяем, что установлены галочки напротив следующих компонентов:
- Службы хранения;
- Файловый сервер;
Если данные службы не установлены, выбираем их и нажимаем Далее.
В окне Выбор компонентов просто нажимаем Далее.
Откроется окно Подтверждение установки компонентов. Нажимаем Установить и после окончания процесса перезагружаем сервер.
Настройка шары (общей папки)
Создаем первую папку, которую хотим предоставить в общее использование. Затем кликаем по ней правой кнопкой мыши и нажимаем Свойства:
В открывшемся окне переходим на вкладку Доступ и нажимаем Расширенная настройка:
Ставим галочку Открыть общий доступ к этой папке и нажимаем кнопку Разрешения:
Предоставляем полный доступ всем пользователям:
* конечно же, мы не будем давать доступ всем пользователям, но для этого есть вкладка безопасность (см. ниже).
Нажимаем OK и еще раз OK.
Теперь переходим на вкладку Безопасность и нажимаем Дополнительно:
В открывшемся окне нажимаем Отключение наследования и Преобразовать унаследованные разрешения в явные разрешения этого объекта.
Нажимаем OK и Изменить.
Выставляем необходимые права на папку, например:
Совет: старайтесь управлять правами на ресурсы только при помощи групп. Даже если доступ необходимо предоставить только одному человеку!
Теперь нажимаем OK два раза. Папка настроена для общего использования и в нашем примере доступна по сетевому пути \\fs1\Общая папка.
Шаг 4. Тюнинг файлового сервера или профессиональные советы
Данные настройки, по сути, представляют секреты того, как сделать файловый сервер лучше, надежнее и безопаснее. Применяя их, администраторы создают более правильную и профессиональную среду ИТ.
DFS
С самого начала стоит создавать общие папки в пространстве имен DFS. На это есть две основные причины:
- При наличии или появлении нескольких файловых серверов пользователям будет удобнее находить общие папки в одном месте.
- Администратор легко сможет создать отказоустойчивую систему при необходимости.
Как создать и настроить DFS читайте в статьях Как установить и настроить DFS и Как установить и настроить DFS с помощью Powershell.
Теневые копии
Позволят вернуться к предыдущим версиям файлов. Это очень полезная функция позволит не только восстановить некорректно отредактированный документ, но и вернуть случайно удаленный файл или папку.
Как настроить и пользоваться данной возможностью, читайте подробнее в инструкции Как включить и настроить теневые копии.
Аудит
Аудит позволит вести протокол доступа к данным — понять, кто и когда удалил важные данные или внес в них изменения.
О том, как настроить данную возможность читайте статью Как включить аудит доступа к файлам Windows.
Анализатор соответствия рекомендациям
В диспетчер управления серверами Windows встроен инструмент для проверки конфигурации сервера — анализатор соответствия рекомендациям. Чтобы им воспользоваться переходим в диспетчере в Локальный сервер:
Находим раздел «Анализатор соответствия рекомендациям» и справа кликаем по ЗАДАЧИ — Начать проверку BPA:
Рассмотрим решения некоторых рекомендаций.
1. Для XXX должно быть задано рекомендованное значение.
Это набор однотипных рекомендаций, для выполнения которых нужно обратить внимание на описание и задать значение параметро, которое в нем указано. Например, для CachedOpenLimit в описании проблемы есть описание решения — «Задайте для CachedOpenLimit рекомендуемое значение 5». Чтобы это сделать, открываем Powershell от администратора и вводим команду:
Set-SmbServerConfiguration -CachedOpenLimit 5
* мы задаем параметру CachedOpenLimit значение 5, как это и рекомендовано анализатором.
На запрос, уверены ли мы, что хотим выполнить команду, отвечаем утвердительно.
Остальные параметры задаем аналогичными действиями.
2. Файл Srv.sys должен быть настроен на запуск по требованию.
В командной строке от имени администратора вводим:
sc config srv start= demand
3. Создание коротких имен файлов должно быть отключено.
В командной строке от имени администратора вводим:
fsutil 8dot3name set 1
Шаг 5. Настройка средств обслуживания
Ни одна инфраструктура не может полноценно существовать без мониторинга и резервного копирования. Предупредить о возможной проблеме, узнать о последней раньше пользователей или иметь возможность восстановить данные — показатели высокой ответственности и профессионализма системного администратора.
Резервное копирование
Для файлового сервера все просто — необходимо резервировать все рабочие папки и файлы. Лучшим решением будет ежедневное копирование новых данных, и с определенной периодичностью (например, раз в месяц), создавать полный архив.
Мониторинг
Мониторить стоит:
- Сетевую доступность сервера;
- Свободное дисковое пространство;
- Состояние жестких дисков.
Шаг 6. Тестирование
Тестирование состоит из 3-х основных действий:
- Проверить журналы Windows и убедиться в отсутствие ошибок. В случае их обнаружения, необходимо устранить все проблемы.
- Выполнить действия анализатора соответствий рекомендациям.
- Провести живой тест работы сервиса с компьютера пользователя.
There are many ways to setup shared folder in Windows Server 2016. You can use Server Manager to share a folder. You can also use folder properties share option to share a folder. This article shows steps to share a folder in Windows Server 2016 using folder properties share option.
Step 1. Right-click and click properties of a folder that you want to share in your network.
Step 2. Select Sharing tab and click Advanced Sharing option.
Step 3. Under Advanced Sharing option, check Share this folder option. Share name is same as folder name, but you can change if you wish. If you change the share name then users will have to use the share name to access the shared folder. It’s always best to leave folder name and share name same to avoid any confusion. Click on permissions option to modify the share permission. Share permission can be Read, Change and Full Control. It’s easier to give full access share permission and then use NTFS folder permission to control access to the folder and it’s contents.
Click Apply to save the changes from both Share Permissions and Advanced Sharing dialog box.
Step 4. To verify if the folder got shared, you can see the folder properties above now shows network path – \\MBG-DC01\Marketing. This is also called UNC path.
Step 5. You can copy the UNC patch and search it in the windows explorer or using Run application to open and browse the shared folder. You can also mount the shared folder as a drive letter in This PC (My Computer). The PC accessing this UNC path needs to resolve server name that’s sharing the folder. In this example the PC accessing the Marketing shared folder needs to resolve and reach MBG-DC01 when using Ping. If the PC accessing the shared folder is joined to domain then it will most likely work, if it’s not joined to the domain then DNS server IP configured in the PC needs to resolve the host name to IP. If there is no DNS then you can also use IP address of the server instead of computer name, for example, \\192.168.0.30\Marketing.
The following two tabs change content below.
- Bio
- Latest Posts
Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. You can hire him on UpWork. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.
In this article we see about NTFS sharing folders in Server manager. Open Server manager and file and storage Services
Click on share and right side tab click Tasks and click on new Share.
Select profile for sharing and select SMB Share -Quick and Click on Next.
Select location of server and Volume of the path and click on Next.
Type the sharing folder name given as Testing Documents, We can see local path to share and remote path to share and Click on Next.
In configure share setting select all three and Click on Next.
Select Default permissions for new NTFS folder and click Customize permissions.
Further Customize permission Select and click on OK.
After Customizing Permissions, Click on Next.
Click on Create to confirm the Share creation.
Now, Sharing folder has been successfully created.
#WindowsServer2016 #NTFS #howtocreatefolderinserver2008 #2012 #createfolderinserver #FileShare
-
Founder & Author, Windowstechpro