VMware Horizon Community
harrymsg
Contributor
Contributor

How to save/roam locally created desktop shortcuts and files

Coming from Profile Unity and am trying to determine how to capture locally created desktop icons and files and have them roam in UEM.   Profile Unity would copy them up to the share at logoff and back down at logon. Advice on how to best do that in UEM?

Reply
0 Kudos
10 Replies
opie81
Enthusiast
Enthusiast

Redirect the Desktop folder to a network share is the recommended path.

Reply
0 Kudos
HartmutEhl
Enthusiast
Enthusiast

"Files" could be dangerous, maybe someone places a big presentation here ....

Old School:

[IncludeFiles]
<Desktop>\*.lnk
<Desktop>\*.url
<Desktop>\*.sap

under personalization

Reply
0 Kudos
harrymsg
Contributor
Contributor

OK, trying that.  What I'm seeing is Desktop folder created on share but nothing syncs like you would expect to see.  Does it required Microsoft Folder Redirection to be enabled as well or am I missing something in the UEM configs.  Seems pretty straightforward but anything I create on the desktop doesn't sync to the share.  Or vice-versa, creating a file on the share doesn't sync to the desktop.  

Reply
0 Kudos
harrymsg
Contributor
Contributor

Thanks.  Unfortunately, even putting those in the config don't seem to be working at logon or logoff.  I'm missing something...

Reply
0 Kudos
Raymond_W
VMware Employee
VMware Employee

Can you please post your logfile in debug mode ?

Enabling debug logging for a single user in VMware User Environment Manager (2113514) | VMware KB

Kind regards, Raymond Twitter: @raymond_himself
Reply
0 Kudos
harrymsg
Contributor
Contributor

Pretty generic Error code.   I have verified I can browse and write to the folder from the client.

2017-02-16 16:42:15.070 [INFO ] Starting Flex Engine v9.0.0.156 [IFP#00252042-3e7>>]

2017-02-16 16:42:15.070 [INFO ] Running as Group Policy client-side extension

2017-02-16 16:42:15.070 [DEBUG] Performing path-based import

2017-02-16 16:42:15.070 [DEBUG]    User: METROAD\zentest (A), Computer: VDITEST004, OS: x86-win7 (BuildNumber 7601, ServicePack 1, SuiteMask 100, ProductType 1/4, Lang 0409, IE 11.0.9600.18537, VMware VDM 7.0.3.4717913, ProcInfo 1/2/2/2, UTC-05:00S), PTS: 1120/5720/1CT

2017-02-16 16:42:15.070 [DEBUG]    Profile state: local (0x00000304)

2017-02-16 16:42:15.070 [DEBUG]    Recursively processing config files from path '\\metrogr.org\vdi\Profiles\UEM\general'

2017-02-16 16:42:15.070 [DEBUG]    Using profile archive path '\\metrogr.org\vdi\Profiles\UEMprofiles\zentest\archives'

2017-02-16 16:42:15.070 [DEBUG]    Logging to file '\\metrogr.org\vdi\Profiles\UEMprofiles\zentest\logs'

2017-02-16 16:42:15.070 [DEBUG]    Log file will be overwritten when larger than 512 kilobytes

2017-02-16 16:42:15.125 [DEBUG] Setting import status flag

2017-02-16 16:42:15.144 [ERROR] Error 0x80070005 redirecting 'Desktop' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Desktop' ('Desktop Redirection.xml')

2017-02-16 16:42:15.148 [ERROR] Error 0x80070005 redirecting 'Documents' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Documents' ('Desktop Redirection.xml')

2017-02-16 16:42:15.152 [ERROR] Error 0x80070005 redirecting 'Downloads' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Downloads' ('Desktop Redirection.xml')

2017-02-16 16:42:15.156 [ERROR] Error 0x80070005 redirecting 'Favorites' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Favorites' ('Desktop Redirection.xml')

2017-02-16 16:42:15.160 [ERROR] Error 0x80070005 redirecting 'Music' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Music' ('Desktop Redirection.xml')

2017-02-16 16:42:15.164 [ERROR] Error 0x80070005 redirecting 'Pictures' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Pictures' ('Desktop Redirection.xml')

2017-02-16 16:42:15.172 [ERROR] Error 0x80070005 redirecting 'ProgramsMenu' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Programs Menu' ('Desktop Redirection.xml')

2017-02-16 16:42:15.176 [ERROR] Error 0x80070005 redirecting 'Videos' folder to '\\metrogr.org\vdi\profiles\UEMprofiles\%username%\Videos' ('Desktop Redirection.xml')

2017-02-16 16:42:15.176 [DEBUG] Deleted application blocking configuration

2017-02-16 16:42:15.176 [DEBUG] Processing pre-import UEM tasks

2017-02-16 16:42:15.180 [DEBUG] Skipping disabled UEM import task ('Delete Windows 5.x Start Menu.xml')

2017-02-16 16:42:15.180 [DEBUG] Skipping disabled UEM import task ('Delete Windows 6.x Start Menu.xml')

2017-02-16 16:42:15.187 [DEBUG] Skipping disabled UEM settings import ('Dutch.xml')

2017-02-16 16:42:15.191 [DEBUG] Skipping disabled UEM settings import ('German.xml')

2017-02-16 16:42:15.195 [DEBUG] Skipping disabled UEM drive hiding setting ('Hide some drives.xml')

2017-02-16 16:42:15.199 [INFO ] No ADMX-based settings applied

2017-02-16 16:42:15.199 [DEBUG] Skipping disabled UEM triggered task ('Close Calculator at lock.xml')

2017-02-16 16:42:15.199 [INFO ] Configured message for trigger 'Unlock' ('Message at unlock.xml')

2017-02-16 16:42:15.203 [INFO ] Configured UEM refresh for trigger 'IP-dependent Unlock' ('Refresh Applications at unlock.xml')

2017-02-16 16:42:15.203 [INFO ] Configured UEM refresh for trigger 'IP-dependent Connect' ('Refresh Printers at reconnect.xml')

2017-02-16 16:42:15.211 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Acrobat Reader.INI'.

2017-02-16 16:42:15.215 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Acrobat Reader.INI' added to DirectFlex cache.

2017-02-16 16:42:15.215 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Calculator.INI'.

2017-02-16 16:42:15.219 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Calculator.INI' added to DirectFlex cache.

2017-02-16 16:42:15.219 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Notepad.INI'.

2017-02-16 16:42:15.219 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Notepad.INI' added to DirectFlex cache.

2017-02-16 16:42:15.222 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Paint.INI'.

2017-02-16 16:42:15.222 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Paint.INI' added to DirectFlex cache.

2017-02-16 16:42:15.222 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\PaintDotNet.ini'.

2017-02-16 16:42:15.226 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\PaintDotNet.ini' added to DirectFlex cache.

2017-02-16 16:42:15.226 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\VLC.ini'.

2017-02-16 16:42:15.230 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\VLC.ini' added to DirectFlex cache.

2017-02-16 16:42:15.230 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Wordpad.INI'.

2017-02-16 16:42:15.234 [INFO ] Config file '\\metrogr.org\vdi\Profiles\UEM\general\Applications\Wordpad.INI' added to DirectFlex cache.

2017-02-16 16:42:15.234 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\Access.INI'.

2017-02-16 16:42:15.234 [DEBUG] Conditions: Evaluating condition set 'Microsoft Office 2013.xml'

2017-02-16 16:42:15.238 [DEBUG] Conditions: Check for path 'C:\Program Files\Microsoft Office\Office15' = true

2017-02-16 16:42:15.242 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\Excel.INI'.

2017-02-16 16:42:15.242 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.246 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\InfoPath.INI'.

2017-02-16 16:42:15.246 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.250 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\OneNote.INI'.

2017-02-16 16:42:15.250 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.250 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\Outlook.INI'.

2017-02-16 16:42:15.250 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.254 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\PowerPoint.INI'.

2017-02-16 16:42:15.254 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.258 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\Publisher.INI'.

2017-02-16 16:42:15.258 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.262 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\Shared Settings.INI'.

2017-02-16 16:42:15.262 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.265 [DEBUG] Found flag file for '\\metrogr.org\vdi\Profiles\UEM\general\Microsoft Office 2013\Word.INI'.

2017-02-16 16:42:15.265 [DEBUG] Conditions: Condition set 'Microsoft Office 2013.xml' was previously evaluated to true

2017-02-16 16:42:15.297 [DEBUG] Conditions: Check for path 'C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe' = false

2017-02-16 16:42:15.297 [INFO ] Skipping UEM shortcut due to conditions ('Acrobat Reader 11.xml')

2017-02-16 16:42:15.301 [DEBUG] Scheduled UEM shortcut for async processing ('Calculator.xml')

2017-02-16 16:42:15.316 [DEBUG] Conditions: Check for path 'C:\Program Files\microsoft office\office15\excel.exe' = true

2017-02-16 16:42:15.320 [DEBUG] Scheduled UEM shortcut for async processing ('Excel 2013.xml')

2017-02-16 16:42:15.328 [DEBUG] Scheduled UEM shortcut for async processing ('MS Paint.xml')

2017-02-16 16:42:15.332 [DEBUG] Scheduled UEM shortcut for async processing ('Notepad.xml')

2017-02-16 16:42:15.336 [DEBUG] Conditions: Check for path 'C:\Program Files\microsoft office\office15\outlook.exe' = false

2017-02-16 16:42:15.336 [INFO ] Skipping UEM shortcut due to conditions ('Outlook 2013.xml')

2017-02-16 16:42:15.336 [DEBUG] Conditions: Check for path 'C:\Program Files\Paint.NET\PaintDotNet.exe' = false

2017-02-16 16:42:15.336 [INFO ] Skipping UEM shortcut due to conditions ('Paint.NET.xml')

2017-02-16 16:42:15.340 [DEBUG] Conditions: Check for path 'C:\Program Files\microsoft office\office15\powerpnt.exe' = true

2017-02-16 16:42:15.344 [DEBUG] Scheduled UEM shortcut for async processing ('Powerpoint 2013.xml')

2017-02-16 16:42:15.347 [DEBUG] Skipping disabled UEM shortcut ('UEM ADMX-based settings Refresh.xml')

2017-02-16 16:42:15.347 [DEBUG] Skipping disabled UEM shortcut ('UEM FTA Refresh.xml')

2017-02-16 16:42:15.347 [DEBUG] Skipping disabled UEM shortcut ('UEM Helpdesk Support Tool.xml')

2017-02-16 16:42:15.351 [DEBUG] Skipping disabled UEM shortcut ('UEM Management Console.xml')

2017-02-16 16:42:15.351 [DEBUG] Skipping disabled UEM shortcut ('UEM Printer Refresh.xml')

2017-02-16 16:42:15.355 [DEBUG] Conditions: Check for path 'C:\Program Files\Immidio\Flex Profiles\Flex+ Self-Support.exe' = true

2017-02-16 16:42:15.359 [DEBUG] Scheduled UEM shortcut for async processing ('UEM Self-Support.xml')

2017-02-16 16:42:15.359 [DEBUG] Skipping disabled UEM shortcut ('UEM Shortcut Refresh.xml')

2017-02-16 16:42:15.363 [DEBUG] Skipping disabled UEM shortcut ('UEM SyncTool Autostart.xml')

2017-02-16 16:42:15.363 [DEBUG] Skipping disabled UEM shortcut ('UEM SyncTool SyncNow.xml')

2017-02-16 16:42:15.367 [DEBUG] Scheduled UEM shortcut for async processing ('UEM User Environment Refresh.xml')

2017-02-16 16:42:15.371 [DEBUG] Conditions: Check for path 'C:\Program Files\VideoLAN\VLC\vlc.exe' = true

2017-02-16 16:42:15.379 [DEBUG] Scheduled UEM shortcut for async processing ('VLC Player.xml')

2017-02-16 16:42:15.383 [DEBUG] Scheduled UEM shortcut for async processing ('VMware Website.xml')

2017-02-16 16:42:15.387 [DEBUG] Conditions: Check for path 'C:\Program Files\microsoft office\office15\winword.exe' = true

2017-02-16 16:42:15.390 [DEBUG] Scheduled UEM shortcut for async processing ('Word 2013.xml')

2017-02-16 16:42:15.398 [DEBUG] Scheduled UEM shortcut for async processing ('Wordpad.xml')

2017-02-16 16:42:15.402 [INFO ] Successfully created file type association ('abc.xml')

2017-02-16 16:42:15.406 [DEBUG] Conditions: Check for path 'C:\Program Files\Paint.NET\PaintDotNet.exe' = false

2017-02-16 16:42:15.406 [INFO ] Skipping UEM file type association due to conditions ('jpg.xml')

2017-02-16 16:42:15.406 [DEBUG] Broadcasting UEM file type association changes

2017-02-16 16:42:15.406 [INFO ] Importing UEM settings 'Add VMware to Favorites.zip' (\\metrogr.org\vdi\Profiles\UEM\general\FlexRepository\Settings\File\Add VMware to Favorites.zip)

2017-02-16 16:42:15.414 [DEBUG] Read 1 entry from profile archive (size: 403; compressed: 263)

2017-02-16 16:42:15.414 [INFO ] Successfully imported UEM settings ('Add VMware to Favorites.xml')

2017-02-16 16:42:15.414 [INFO ] Importing UEM settings 'Create 'Readme' file on Desktop.zip' (\\metrogr.org\vdi\Profiles\UEM\general\FlexRepository\Settings\File\Create 'Readme' file on Desktop.zip)

2017-02-16 16:42:15.418 [DEBUG] Placeholders: Found 1 placeholder in path 'Desktop/README[Flex#].txt'

2017-02-16 16:42:15.418 [DEBUG] Placeholders: Resolved to path 'Desktop/README.txt'

2017-02-16 16:42:15.418 [DEBUG] Placeholders: Placeholders will be replaced in file content using automatically detected code page

2017-02-16 16:42:15.422 [DEBUG] Placeholders: Found 2 placeholders in file 'Desktop/README[Flex#].txt'

2017-02-16 16:42:15.422 [DEBUG] Read 1 entry from profile archive (size: 518; compressed: 315)

2017-02-16 16:42:15.422 [INFO ] Successfully imported UEM settings ('Create 'Readme' file on Desktop.xml')

2017-02-16 16:42:15.422 [INFO ] Importing UEM settings 'Registry demo.zip' (\\metrogr.org\vdi\Profiles\UEM\general\FlexRepository\Settings\Reg\Registry demo.zip)

2017-02-16 16:42:15.430 [DEBUG] Placeholders: Found 1 placeholder in path 'Registry/Flex Profiles[Flex#].reg'

2017-02-16 16:42:15.430 [DEBUG] Placeholders: Resolved to path 'Registry/Flex Profiles.reg'

2017-02-16 16:42:15.430 [DEBUG] Placeholders: Placeholders will be replaced in file content using automatically detected code page

2017-02-16 16:42:15.430 [DEBUG] Placeholders: Found 2 placeholders in file 'Registry/Flex Profiles[Flex#].reg'

2017-02-16 16:42:15.433 [DEBUG] ImportRegistry::Import: Calling '"C:\Windows\REGEDIT.EXE" /S "C:\Users\zentest\AppData\Local\Temp\FLXF036.tmp"' (RPAL: l=0 (D/E), r=1)

2017-02-16 16:42:15.472 [DEBUG] Read 1 entry from profile archive (size: 860; compressed: 346)

2017-02-16 16:42:15.472 [INFO ] Successfully imported UEM settings ('Registry demo.xml')

2017-02-16 16:42:15.476 [INFO ] Triggering scheduled UEM actions

2017-02-16 16:42:15.484 [DEBUG] Processed 26 Flex config files (19 successful, 7 added to DirectFlex cache)

2017-02-16 16:42:15.484 [DEBUG] Processed 2 UEM import tasks (2 disabled)

2017-02-16 16:42:15.484 [DEBUG] Processed 8 UEM settings imports (6 successful, 2 disabled)

2017-02-16 16:42:15.484 [DEBUG] Processed 1 UEM drive hiding setting (1 disabled)

2017-02-16 16:42:15.484 [DEBUG] Processed 4 UEM triggered tasks (3 successful, 1 disabled)

2017-02-16 16:42:15.484 [DEBUG] Processed 22 UEM shortcuts (11 scheduled, 3 skipped, 8 disabled)

2017-02-16 16:42:15.484 [DEBUG] Processed 2 UEM file type associations (1 successful, 1 skipped)

2017-02-16 16:42:15.484 [DEBUG] Processed 1 UEM folder redirection setting (1 successful)

2017-02-16 16:42:15.906 [DEBUG] Started DirectFlex injection

2017-02-16 16:42:15.910 [DEBUG] Launched FlexEngine in DirectFlex mode

2017-02-16 16:42:15.910 [INFO ] Done (839 ms) [<<IFP#00252042-3e7]

Reply
0 Kudos
Raymond_W
VMware Employee
VMware Employee

Ok first, your folder redirection doesn't work...couple of questions:

  • Did you configure UEM in/on a clean environment/desktop or straight into the environment where ProfileUnity was installed(or maybe still is) ?
  • Did you create a UEM config file to save the desktop shortcuts ?

Raymond

Kind regards, Raymond Twitter: @raymond_himself
Reply
0 Kudos
harrymsg
Contributor
Contributor

So I moved the user to an OU that doesn't have the organization GPOs, including Profile Unity, in order to troubleshoot and narrow this down.  By doing so, folder redirection works.   So now a matter of adding them one at a time, starting with Prof Unity to see if that breaks it.   Progress at least.

Reply
0 Kudos
harrymsg
Contributor
Contributor

Ha. Found the needle in the haystack. 

Wasn't Profile Unity or Folder Redirection policies but this policy under our default user policy that was set to Enabled:

Administrative Templates--Desktop--Prohibit User from manually redirecting Profile Folders

Description:

Prevents users from changing the path to their profile folders.

By default, a user can change the location of their individual profile folders like Documents, Music etc. by typing a new path in the Locations tab of the folder's Properties dialog box.

If you enable this setting, users are unable to type a new location in the Target box.

I changed it to Unconfigured and that allowed UEM Redirection to work. 

Reply
0 Kudos
Raymond_W
VMware Employee
VMware Employee

Great ! Good to see it is resolved !

Kind regards, Raymond Twitter: @raymond_himself
Reply
0 Kudos