Cannot delete roaming profile


THE INFORMATION IN THIS ARTICLE APPLIES TO:
  • WAFS version 3.6.1 and earlier

This is issue is resolved in version 3.6.2

SYMPTOM

When WAFS replicates a roaming profile, a user or administrator might not be able to delete the user's roaming profile directory and/or subdirectories. 

Depending on the level of the directory selected for deletion, the user or administrator might receive the message "Error Deleting File or Folder - Cannot remove folder <Folder>: The directory is not empty" or the folder will appear to delete, but then be replicated again from the WAFS Server.

RESOLUTION

Before you can delete a roaming profile directory and/or subdirectories, you need to remove the "Read-only" attribute on the applicable roaming profile subdirectories under the WAFS Job's ("RoamingProfiles") P directory in the WAFS Server vault ("AD").

To remove the read-only attribute from multiple subdirectories

  1. Open a Windows Command Prompt on the WAFS Server computer.
    1. Click Start, then click Run. The Run dialog box appears.
    2. In the Open box, type cmd, then click OK (or press ENTER).
  2. Change directories to the top level directory of the profile you want to delete. For example, type:
  3. cd c:
    cd AD\RoamingProfiles\P\jsmith
  4. Using the attrib command, recursively remove the read-only setting from child files/folders. Type:
  5. attrib -R -S -H * /S /D

    You can now delete the directory from any Agent using an administrator account. When deleting WAFS-replicated folders from the Agent machine, you must use SHIFT+DEL.