Using Memtime on Servers with Roaming Profiles
Setting up the Memtime Folder for Roaming Profiles (WTS / RDS)
This guide explains how to move the Memtime folder from %LOCALAPPDATA% to the roaming area (%APPDATA%) and then link it using a symbolic link.
This ensures that Memtime data is available identically across all terminal servers when using Roaming Profiles, FSLogix, or Citrix UPM.
1. Background
%LOCALAPPDATA%is not roaming-capable and usually remains local to each server host.%APPDATA%(AppData\Roaming), on the other hand, is automatically synchronized in classic Roaming Profiles and FSLogix/UPM.- By moving the Memtime folder to
%APPDATA%and creating a symbolic link at the original location, Memtime can still access%LOCALAPPDATA%while keeping the data roaming-capable.
2. One-Time Manual Migration (Test User)
1. Log out the user and ensure Memtime is not running.
2. Move the Memtime folder:
robocopy "%LOCALAPPDATA%\Memtime" "%APPDATA%\Memtime" /E /MOVE
3. Remove the old folder and create the symbolic link:
rmdir "%LOCALAPPDATA%\Memtime" /S /Q
mklink /D "%LOCALAPPDATA%\Memtime" "%APPDATA%\Memtime"
3. Automated Solution via Logon Script
To apply the redirection automatically for all users, the following script can be saved as Redirect-Memtime.cmd and deployed via GPO:
Path:
User Configuration → Windows Settings → Scripts → Logon
Script content:
@echo off
set "ROAMING=%APPDATA%\Memtime"
set "LOCAL=%LOCALAPPDATA%\Memtime"
:: If roaming folder does not exist, move local folder if present
if not exist "%ROAMING%" (
if exist "%LOCAL%" (
echo [INFO] Moving Memtime from LOCALAPPDATA to APPDATA (Roaming)
robocopy "%LOCAL%" "%ROAMING%" /E /MOVE
) else (
echo [INFO] Creating new roaming folder
mkdir "%ROAMING%"
)
)
:: Remove local folder if it still exists
if exist "%LOCAL%" (
rmdir "%LOCAL%" /S /Q
)
:: Create symbolic link if not present
if not exist "%LOCAL%" (
mklink /D "%LOCAL%" "%ROAMING%"
)
-
The script runs at every login, regardless of which RDS host the user signs into.
-
Prerequisite: The roaming area (
%APPDATA%) is replicated via Roaming Profiles, FSLogix, or Citrix UPM. -
Caution: Large amounts of data may slow down login – check the size of the Memtime folder.
-
Important: Do not make global changes to
%LOCALAPPDATA%, as this can affect many other programs.
4. Testing Before Rollout
Before a full deployment, test the configuration with a test user:
-
Log out the test user.
-
Run the script or manually move the folder and set the link.
-
Log in again and ensure Memtime works correctly and data is synchronized across servers.
If you have any questions, feel free to contact support@memtime.com.