Error on login either ‘-r’ or ‘-s’ must be specified


We recently upgraded to VMWare App Volumes 2.11 and had an issue on login to a Windows 7 VDI system where users were getting the following message:

“Error on login either ‘-r’ or ‘-s’ must be specified”

After submitting a ticket to VMware, the issue was with UEM 9.0 and the App Volumes 2.11 template file.


There is a switched built into the AppStacks script allvolattached_shellstart.bat. The call in the script is to use FlexEngine.exe -ra which is not used in UEM 9.0. You will need to adjust that to read FlexEngine.exe -UEMRefreshShortcuts for UEM 9.0.

For the existing AppStacks you can update the AppStack and make the changes during provisioning mode.

In Windows change to show hidden folders and hidden system folders. Browse to C:\SnapVolumesTemp\MountedDevices\ Open allvolattached_shellstart.bat with notepad and look for FlexEngine.exe -ra Change from -ra to -UEMRefreshShortcuts

Hope this helps you 🙂

SQLite Integration Unreal 4.12.5 easy?

I got excited to see code in the latest release of Unreal 4.12.5 to support SQLite intetration which I plan to use for dedicated servers for storing inventory and player data.

I followed lots of post down interesting rabbit holes. For your personal reading enjoyment, here they are.

This was my first stop, when googling the errors I was getting and it did get me close but I ended up looking further…

This find also helped a bit, but quickly realized that is probably is not what I need to be doing… search continues.

Good approach, and I thought I was on the right track, but did it does miss the exact step by step… so it didn’t end of working

In the end, I did find a solution. I made my own… Will it work in production? Too soon to tell, but… the code does compile and I will post the solution to the correct steps to at least get your code to compile. I might need to help Unreal with the changes, or maybe I am such a newbie I didn’t their instructions. Here, you decide 😉

*SQLite database support requires the ‘amalgamated’ source code for sqlite, obtainable at It also requires you to compile the engine from Github source code rather than using the precompiled binary builds from the Unreal Launcher.

Download and extract the Unreal source as per the instructions on Github, then extract the contents (.cpp, .h) from the sqlite amalgamated zip into Engine/Source/ThirdParty/sqlite/sqlite and build it using VisualStudio.

If you are already building the engine from source it is necessary to rebuild it once you’ve added the SQLite files.*