Product Version: 5.5
Expires on: 365 days from publish date
Updated: October 10, 2013
I need to authenticate and redirect user's shell folders (Desktop, My Documents) to a file server which is part of the Domain using ProfileUnity
The share(s) on the domain file server will fail to map or redirect because all user's have different local accounts and they are not standard
Each local user is different, it is necessary to use one common user to authenticate to the server. This user should have the rights to entire home share.
Create a share on the server \\Server_01\Home and give user "tempuser" full rights to that share
Create a batch file called LocalUserMapping.bat
Contents of LocalUserMapping.bat:
@echo off -Echo off
echo %userdomain% | find /i "DOMAIN_NAME" >NUL && goto fin -This line check if the user is already part of the domain
net use \\Server_01\home /user:tempuser Pass54321! - This authenticates to the share with user "tempuser"
Note: If this is a security risk for your organization please look for other way's to accomplish same task. This is only an example how to accomplish this task quickly and efficiently with minimum down time.
Launch this batch file using "User Defined Scripts" in ProfileUnity configuration. This will authenticate to the share before "Folder Redirection" section of ProfileUnity runs.
Configure Folder redirection
- Shell Folder: Desktop
- Redirect to Folder: \\Server_01\home\%username%\Desktop
- Existing Files: Copy to New Location
- Only Migrate Existing Files on Primary Client: (Enabled)
Note: After migration of the data, restore the NTFS security to the shares.