Windows Server: How to install File and iSCSI Services and File Server Role Services

Summary: This article is designed to address installing File and iSCSI Services and File Server role services on a server running Windows Server Core.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Perform the following steps to install the File Server role service on a server running Windows Server Core.

  1. Type Start PowerShell in the Command Prompt window to start Windows PowerShell.
  2. To perform the installation type the following:
    Install-WindowsFeature File-Services

         Install-WindowsFeature File-Services comand 

Additional Information:

This information applies to Windows Server 2012 and Windows Server 2012 R2.

The File and Storage Services role is consisted of the File and iSCSI Services and Storage Services.

File and iSCSI Services is a grouping of role services and is consisted of the following role services:

  • File Server
  • BranchCache for Network Services
  • Data Deduplication
  • Distributed file system (DFS) Namespaces
  • DFS Replication
  • File Server Resource Manager
  • File Server VSS Agent Service
  • iSCSI Target Server
  • iSCSI Target Storage Provider
  • Server for NFS
  • Work Folders

The File and Storage Services are installed by default.

The File Server role service is installed after performing the cmdlet.

Install-WindowsFeature File-Services

Each of the File and iSCSI Services role services must be installed separately.

The following cmdlets are available for managing Server Message Block (SMB) Shares on a server running Windows Server Core:

Adds a deny access control entry for a trustee to the security descriptor of the SMB share

Block-SmbShareAccess

Forcibly closes a file that is open by one of the clients of the SMB server.

Close-SmbOpenFile

Forcibly ends the SMB session.

Close-SmbSession

Disables a constrained delegation authorization for an SMB client and server

Disable-SmbDelegation

Enables a constrained delegation authorization for an SMB client and server

Enable-SmbDelegation

Gets the list of SMB bandwidth caps for each traffic category.

Get-SmbBandwidthLimit

Retrieves the SMB client configuration

Get-SmbClientConfiguration

Retrieves the network interfaces used by the SMB client.

Get-SmbClientNetworkInterface

Retrieves the connections established from the SMB client to the SMB servers

Get-SmbConnection

Gets the constrained delegation authorizations for an SMB client

Get-SmbDelegation

Retrieves the SMB client directory mappings created for a server

Get-SmbMapping

Retrieves the SMB connections made between the SMB client network interfaces and the SMB server network interfaces.

Get-SmbMultichannelConnection

Retrieves the constraints that define how the SMB client uses network interfaces to connect to the servers

Get-SmbMultichannelConstraint

Retrieves basic information about the files that are open on behalf of the clients of the SMB server

Get-SmbOpenFile

Retrieves the SMB server configuration

Get-SmbServerConfiguration

Retrieves the network interfaces used by the SMB server.

Get-SmbServerNetworkInterface

Retrieves information about the SMB sessions that are established between the SMB server and the associated clients

Get-SmbSession

Retrieves the SMB shares on the computer.

Get-SmbShare

Retrieves the access control list (ACL) of the SMB share

Get-SmbShareAccess

Adds an allow access control entry (ACE) for a trustee to the security descriptor of the SMB share

Grant-SmbShareAccess

Creates a new SMB mapping

New-SmbMapping

Creates a new SMB multi-channel constraint for the specified server

New-SmbMultichannelConstraint

Creates a new SMB share

New-SmbShare

Removes SMB bandwidth caps

Remove-SmbBandwidthLimit

Removes the SMB mapping to an SMB share

Remove-SmbMapping

Removes one or more specified SMB multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers

Remove-SmbMultichannelConstraint

Deletes the specified SMB shares

Remove-SmbShare

Removes all the allowed access control entry (ACE) for a trustee from the security descriptor of the SMB share

Revoke-SmbShareAccess

Adds an SMB bandwidth cap

Set-SmbBandwidthLimit

Sets the SMB client configuration

Set-SmbClientConfiguration

Sets the ACL for the file system folder to match the ACL used by an SMB share

Set-SmbPathAcl

Sets the SMB server configuration

Set-SmbServerConfiguration

Modifies the properties of the SMB share

Set-SmbShare

Removes all the denied ACE's for the trustee from the security descriptor of the SMB share

Unblock-SmbShareAccess

Forces the SMB client to update the multi-channel-related information

Update-SmbMultichannelConnection


Additional information about File and iSCSI Services can be found on TechNet.This hyperlink is taking you to a website outside of Dell Technologies.

Videos

 

Affected Products

Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2

Products

PowerEdge C4130, Poweredge C4140, PowerEdge c6300, PowerEdge c6320, PowerEdge c6320p, PowerEdge C6400, PowerEdge C6420, PowerEdge C6520, PowerEdge C6525, Poweredge FC430, Poweredge FC630, PowerEdge FC640, Poweredge FC830, PowerEdge FD332 , PowerEdge FM120x4 (for PE FX2/FX2s), PowerEdge M630, PowerEdge M630 (for PE VRTX), PowerEdge M640, PowerEdge M640 (for PE VRTX), PowerEdge M830, PowerEdge M830 (for PE VRTX), PowerEdge MX5016s, PowerEdge MX740C, PowerEdge MX750c, PowerEdge MX840C, PowerEdge R230, PowerEdge R240, PowerEdge R250, PowerEdge R330, PowerEdge R340, PowerEdge R350, PowerEdge R430, PowerEdge R440, PowerEdge R450, PowerEdge R530, PowerEdge R530xd, PowerEdge R540, PowerEdge R550, PowerEdge R630, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R730, PowerEdge R730xd, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R830, PowerEdge R840, PowerEdge R930, PowerEdge R940, PowerEdge R940xa, PowerEdge T130, PowerEdge T140, PowerEdge T150, PowerEdge T30, PowerEdge T330, PowerEdge T340, PowerEdge T350, PowerEdge T40, PowerEdge T430, PowerEdge T440, PowerEdge T550, PowerEdge T630, PowerEdge T640 ...
Article Properties
Article Number: 000121413
Article Type: How To
Last Modified: 05 Sep 2025
Version:  10
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.