Use dfscmd.exe for scripted DFS mappings

Use dfscmd.exe for scripted DFS mappings

Door: Arnout van der Vorst

When using DFS, you might want to consider adding DFS links for user home and profile directories to a DFS root. If you want to integrate this into a script, try the following command-line:

“%SystemRoot%dfscmd.exe” /map “%DFSHomeRoot%%AD_username%” “\%HomeServer%%HomeShare%%AD_username%”

Variable explanation:

%SystemRoot% = C:WINDOWSSystem32

  1. %DFSHomeRoot% = the DFS root you want the folder linked to
  2. %AD_username% = the sAMAccountName attribute for the user, in this case the name of the folder
  3. \%HomeServer%%HomeShare%%AD_username% = UNC path to the folder which needs the link

Geschreven door:
Arnout van der Vorst

Arnout van der Vorst is Identity Management Architect bij Tools4ever en al ruim 10 jaar in dienst. Arnout legt zich als Architect toe op het bedenken en ontwikkelen van nieuwe features, oplossingen en diensten van Tools4ever die aansluiten op de vraag uit de markt. Arnout studeerde Hogere Informatica aan de Hogeschool van Utrecht.

Anderen bekeken ook

SAP koppeling met Active Directory

SAP koppeling met Active Directory

06 september 2012

User- en toegangsbeheer in cloud applicaties: een uitdaging

User- en toegangsbeheer in cloud applicaties: een uitdaging

04 september 2012

De vooroordelen van Single Sign On

De vooroordelen van Single Sign On

29 november 2011

RBAC: sleutelrol, beheer en evolutie

RBAC: sleutelrol, beheer en evolutie

15 maart 2011

Single Sign On met terminal emulatie (VAX64, AS/400, Linux, SSH)

Single Sign On met terminal emulatie (VAX64, AS/400, Linux, SSH)

14 oktober 2010