XIA Automation Tutorial

Automatically Bulk Create Directories in Microsoft Windows

This tutorial describes how to create directories in Microsoft Windows using XIA Automation.

Download Free 30-Day Trial

Tutorial Outcomes

Learn how to use XIA Automation to:

  • Green tick Create directories and assign permissions to existing users or groups
  • Green tick Create directories and assign permissions to users created in Active Directory by XIA Automation
  • Green tick Apply sharing and security settings to directories

1. Create the Automation Profile

Create a new automation profile in the XIA Automation Administration Tools. Set the permissions as required.

Screenshot of a new automation profile in XIA Automation
Create a new automation profile

2. Create the Directory Name Variable

Create a new String Variable so the end user can enter the directory name when they execute the profile. Ignore this step if you want a fixed value for your directory name.

Screenshot of a String Variable Definition
Create a variable for the directory name

3. Configure the Permissions selection

Either allow a user or group name to be entered manually by creating a String Variable, or allow the end user to select which user or group to apply directory sharing or security permissions to by creating a new Active Directory Search Variable. Ignore this step if you want a fixed value for your permissions.

Screenshot of the Active Directory Search Variable Definition in the New Variable Definition right click context menu

Use the Search settings to, for example, specify which Organizational Unit to list Security Groups from:

Screenshot of search settings in an Active Directory Search Variable Definition
Show only security groups in the Staff OU

The group for which the permissions will be applied can then be selected by the end user from a drop down when the profile is executed in the XIA Automation Server web interface:

Screenshot of the group drop down in the XIA Automation Server web interface

4. Configure the Directory Creation Task

Create a new Directory Creation Task.

Screenshot of the Create Directory Automation Task in the New Automation Task right click context menu

Configure the directory and share settings as required.

Screenshot of create directory task security permissions in XIA Automation
Assign your variables to the appropriate fields in the task settings

Assign the security permissions as required, for example, add the Active Directory Search Variable.

Screenshot of create directory task security permissions in XIA Automation
Assign the AD search variable to the security permissions

Alternatively, follow the steps in the create user accounts in Active Directory tutorial. The Create Directory Task can be added to the end of the Create Active Directory User automation profile and the unique username generated to create the user in Active Directory can be added to the directory permissions.

4. Create a Windows Directory

Execute the Automation Profile, either manually via the form input in the XIA Automation Server web interface , or in bulk via CSV, or automatically via file import.

Screenshot of the form input in the XIA Automation Server web interface
Create Windows directories via the web interface

For more information about file and directory tasks, please view the administrator's guide.

Try XIA Automation for free