Category: File Services

Distributed File System – Namespace Server Removal

The following is a step by step guide to removing a Distributed File System (DFS) namespace server for a Microsoft Active Directory (AD) integrated DFS namespace.

  1. Export the DFS namespace configuration with the following command:
    1. dfsutil /root:\\domain.com\namespace /export:namespace.txt /verbose
  2. In the DFS Management console right click and delete HOSTNAME under the Namespace Servers tab for the Microsoft Active Directory intergrated DFS namespace.
    1. \\domain.com\namespace
  3. Remove the file shares on HOSTNAME.
    1. \\hostname\namespace
  4. Verify the folder for the file share in step (3) is empty, then delete it.
    1. C:\DFSRoot\namespace
  5. This completes the process.

Distributed File System – Remove Orphaned Namespace

The following is a step by step guide on removing an orphaned Distributed File System (DFS) namespace in a Microsoft Active Directory environment.

  1. Open Active Directory Service Interfaces Editor (adsiedit.msc)
  2. Connect to the Default naming context
  3. Navigate to DC=domain,DC=com,CN=System,CN=Dfs-Configuration
  4. Delete the object for the orphaned DFS namespace
  5. Run repadmin /syncall (if you have more than one Microsoft Active Directory domain controller)

Windows Server 2012 – Create and Configure Shares

You may use the following method to create and configure a share (with basic settings) in Windows Server 2012.

Begin by opening the Server Manager then navigating to File and Storage Services > Shares.

00

On the Shares page click TASKS > New Share….

01

This is a very basic configuration (designed to get you accustomed to the platform) so in the New Share Wizard on the Select Profile page choose SMB Share – Quick then click Next >.

02

On the Share Location page choose the location of the share then click Next >. In this example, I chose a custom location of E:\shares.

03

On the Share Name page type the name of the share and add a description (optional) then click Next >.

04

On the Other Settings page leave the default setting (Allow caching of share) then click Next >.

05

On the Permissions page you may click the Customize permissions… button the create a custom set of permissions for your share. After customizing click Next >.

06

On the Confirmation page verify your configuration then click Create.

07

The Results page will inform you if the creation of the share was successful or unsuccessful. In this example, the creation was successful so click Close.

08

Enjoy!


Microsoft Windows Server 2012 – Adding the File Services Role

You may use the following method to install the File Server role on a server that is running the Windows Server 2012 operating system.

On the default menu of the Server Manager GUI click the Add roles and features option.

00

When the Add Roles and Features Wizard dialog box opens click Next > on the Before You Begin page.

01

On the Installation Type page select Role-based or feature-based installation.

02

On the Server Selection page use the Select a server from the server pool radio button and choose the correct server and click Next >.

03

On the Server Roles page navigate to File And Storage Services > File and iSCSI Services and check the box to select File Server then click Next >.

04

On the Features page click Next >.

05

On the Confirmation page select the check box to Restart the destination server automatically if required and click Yes in the Add Roles and Features Wizard prompt then click Install.

06

On the Results page click Close.

Enjoy!