Follow

How to migrate users from "Folder Redirection - UNC path" to VHD "local path"

Product: ProfileUnity FlexApp

Product Version: 5.x

Expires on: 365 days from publish date

Updated: November 26, 2013

 

Problem:

My applications are not working because my ProfileUnity setting is redirecting Application Data and Local Application Data to UNC path or a drive letter.  I need to migrate the files from those UNC path locations and redirect the users to VHD.

 

Symptoms:

Applications (For example Report Builder) will fail to install or keep saved user settings.

 

Possible Resolution(s): 

Summary of steps:

  1. Create Virtual Disk using ProfileUnity  (redirect to path) 
  2. Create New Folder Redirection Rule for Application Data (which will also copy data to new location)
  3. Create New Folder Redirection Rule for Local Application Data (which will copy data to new location)\
  4. Verify location of the two Folder Redirection rules. (Important) Update ini
  5. Users login 
  6. Clean up ProfileUnity configuration and UNC Paths

Steps in Details:

 

Step 1) Create a Virtual Disk Rule

Edit Configuration go to Virtual Disks, click "Add Virtual Disk Rule"

  • Mount Location: Mount to Path
  • Mount Path: %userprofile%\Profile-VHD
  • Virtual Disk Path: \\Server\Share\%username%\Profile-VHD\Profile-VHD.vhd

Example:

VHD.jpg

Step 2) Create New Folder Redirection Rule for Application Data

Add second redirection rule for Application Data to your Folder Redirection section of ProfileUnity configuration

Go to "Folder Redirection" Click "Add Folder Redirection Rule"- Select "Advanced"

  • Filter: No Filter - Apply this to all (Suggested to use custom filter for testing before using "No Filter)
  • Sell Folder: Application Data
  • UNCHECK - "Only Redirect Local Shell Folders"
  • Redirect to Folder: %userprofile%\Profile-VHD\AppData\Roaming
  • Existing Files: Copy to New Location

Save

Example:

AppData.jpg

Step 3) Create New Folder Redirection Rule for Local Application Data

Add second redirection rule for Local Application Data to your Folder Redirection section of ProfileUnity configuration

Go to "Folder Redirection" Click "Add Folder Redirection Rule"- Select "Advanced"

  • Filter: No Filter - Apply this to all (Suggested to use custom filter for testing before using "No Filter)
  • Sell Folder: Local Application Data
  • UNCHECK - "Only Redirect Local Shell Folders"
  • Redirect to Folder: %userprofile%\Profile-VHD\AppData\Local
  • Existing Files: Copy to New Location

Save

Example:

Local.jpg

Step 4) Verify location of the two Folder Redirection rules. 

The two newly created rules (Step 2 and Step 3) must be located on the bottom of Folder Redirection section.

Example:

BottomOfTheList.jpg

 

Note: Verify that the sort order is set to "By Sequence" This will represent true order of execution. 

Example:

Sort_by_sequence.jpg

Update the configuration by clicking "Update" in upper right corner. Update.jpg

Download new default.ini to netlogon\profileunity directory

During ProfileUnity logon Folder Redirection rules will execute top-down, (Sorted by Sequence) including original Folder Redirection Rule executing first redirecting to UNC path, then new folder redirection rule will run copying all contents to new location (VHD) and overwriting the shell folder redirection after its finish copying the files. (Please be patient while it may be a little longer logon)

Step 5) User's login and log off.

Step 6) After all users have VHD files created on the user shares cleanup the ProfileUnity Configuration following these 3 simple steps:

  1. Delete all Folder Redirection Rules pointing to UNC path
  2. Save and upload new ini to netlogon\profileunity directory
  3. Delete all Application Data and Local Application Data directories in each user's profile directory (free disk space)

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.