VMware Horizon Community
SFM_Operations
Contributor
Contributor

Flex config.

Configured uem as follows: https://www.ivandemes.com/export-import-file-type-associations-fta-successfully-using-uem/

Setup the shares.. but I get this error in flexengine.log:

FlexUtils::ExecuteCommand: Error 2 calling '\\server\uem\GetUserFTA.exe > C:\Users\testuser\AppData\Local\Microsoft\Windows\UserFTA.config'

I am local admin on pc just for testing purposes.. if I run the command via

Tags (1)
7 Replies
ijdemes
Expert
Expert

Did you try using cmd.exe /c in as part of the command line?

cmd.exe /c \\server\uem\GetUserFTA.exe > C:\Users\testuser\AppData\Local\Microsoft\Windows\UserFTA.config

\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
Pim_van_de_Vis

Error 2 means 'The system cannot find the file specified'.

So please check the path to the executable and the .config file, because there is probably an error there.

You could leverage the variable %UEMConfigShare% that gets created automatically by the UEM agent.

%UEMConfigShare%

Sample value = Path to UEM Configuration Share.

E.g. \\fileserver\share\FlexConfig\Prod\general

DEMdev
VMware Employee
VMware Employee

Hi SFM_Operations,

As Pim_van_de_Vis already indicated, error 2 means that the file does not exist. In this case, it's \\server\uem\GetUserFTA.exe that is missing. Just to make sure: you downloaded GetUserFTA.exe, copied it to your file share, and created the UEM Logoff Task using the path to your actual share?

Also, you really need to start the command of the logoff task with cmd /c, as per ijdemes​' instructions. Otherwise the output redirection using > won't work.

Sravan_k
Expert
Expert

Hi SFM,

Have you tried the above solutions and tested the out come?

please provide your feedback here

Thank you,

Vkmr.

0 Kudos
MarkusHartmann
Contributor
Contributor

hi there - as i read in another post, the GetUserFTA is obsolete now, and we can also user SetUserFTA /get - is this correct?

Running an Instant Clone Pool with 1803.

0 Kudos
smith_ll
Enthusiast
Enthusiast

Is SetUserFta.exe /get the right format now do you know?

0 Kudos
ijdemes
Expert
Expert

It's SetUserFTA.exe get as stated in the following article:

SetUserFTA: UserChoice Hash defeated – Set File Type Associations per User or Group on Windows 8/10 ...


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
0 Kudos