Configuring Dizzion Frame for full ProfileUnity and FlexApp
This document describes the process require to implement full ProfileUnity and FlexApp for Dizzion Frame environments, with or without Enterprise Profiles enabled. This article applies to ProfileUnity and FlexApp version 6.8.5 and newer.
What You’ll Need
- ProfileUnity Console installed
- Optional - Any required Cloud Storage credentials added to the “Cloud Storage” section of the Administration screen
- ProfileUnity Configuration INI stored somewhere accessible, ie a file-share or Cloud Storage
- Frame account and sandbox with the following:
- REQUIRED - Fully-update first using the latest Frame Agent Setup Tool:
https://docs.dizzion.com/downloads#frame-agent-setup-tool-fast - Any desired supporting software installed
- Any required security policies applied
- Full access to start sessions, take backups and publish to production
- REQUIRED - Fully-update first using the latest Frame Agent Setup Tool:
- At least one Frame test user account – different from the account used for the sandbox
- ProfileUnity and FlexApp Client Tools - Downloaded from your ProfileUnity Console or latest hot-fix
- REQUIRED - Additional files: (included in the below-linked zip unless otherwise specified)
- Clientsettings.xml (generated from your ProfileUnity Console)
- Full-ProfileUnity-on-Frame.reg
- FGA User Scripts\definition.yml (or use as example and modify your own)
- FGA User Scripts\ProfileUnity-Logon.ps1
- FGA User Scripts\ProfileUnity-Logoff.ps1
Configuring the Sandbox
- Start a session to the sandbox – you are logged in as the local administrator account “Frame”.
- Download or copy the following items into a new folder outside of the Frame user’s profile. Because the sandbox can use the same local user that production machines use, you need to keep Frame’s user profile clean and consistent.
- ProfileUnity Client Tools
- If using the client-tools.zip from the hot-fix page or the “ProfileUnity Tools” section of the Administration screen of your ProfileUnity Console, extract the contents into a new folder.
- Clientsettings.xml
- On the Administration screen of your ProfileUnity Console, find the “Client Settings” section and change the “Communication Type to Broker Messages” dropdown to “FlexDisk VMDK ProfileDisk and FlexApp” and click the blue “Update” button at the top-right.
- In “Client Settings” section, click the “Download or Deploy Client Settings”.
- Place the clientsettings.xml file in the same folder as the ProfileUnity client-tools were extracted.
- FGA User Scripts\definition.yml, ProfileUnity-Logon.ps1, ProfileUnity-Logoff.ps1
- Place these 3 files into “C:\ProgramData\Nutanix\Frame\FGA\Scripts\User”, overwriting the original, empty definition.yml. (make sure this isn't a custom xml first!)
- On the sandbox, right-click the Start button, select “Apps and Features”, find “ProfileUnity Client” and click the “Uninstall” button.
- Navigate to the folder where the client-tools were extracted.
- Right-click “LwL.ProfileUnity.Client.Startup.Update.exe” and “Run as administrator”.
Full ProfileUnity client-tools will now be installed. - Next, double-click “Full-ProfileUnity-on-Frame.reg” to import the settings into the Registry.
- Right-click “LwL.ProfileUnity.Client.Startup.Update.exe” and “Run as administrator”.
- Within your Group Policy, if you haven't created one yet, or using “gpedit.msc” locally:
- Right-click “Administrative Templates” and click “Add/Remove Templates…”.
- Click the “Add…” button, browse to the path where the client-tools were extracted, select the “ProfileUnity.adm” file, click the “Open” button and then the “Close” button.
- Expand User Config, Classic Administrative Templates, Liquidware, click on ProfileUnity.
- Edit the “Enabled” setting and change to “Enabled”.
- Edit the “INI File Path” setting and specify the location where you have or will deploy your Configuration (INI) file(s) to.
- If using cloud storage, continue with the following 2 steps:
- Back in your ProfileUnity web console, Administration screen, Cloud Storage where you’ve already populated your cloud credentials and click the Copy to Clipboard icon for the corresponding client-side cloud storage credential.
- Paste that value into the appropriate cloud credential setting in "gpedit.msc" of the sandbox.
- Close the session to the sandbox, publish it to production and take a manual backup.
- ProfileUnity Client Tools
Creating and Deploying a ProfileUnity Configuration
- From your ProfileUnity Console’s “Configuration Management” screen, click the red “Create” button at the top-right.
- Click “Guided”, select the appropriate template for your needs and click “Next”.
- If using Cloud Storage, and you have not already added your console and client cloud credentials, click the “Add Cloud Credentials” button and fill in all required fields, once for your console-level credentials and once for your client-level credentials.
- When prompted, specify the path where user profiles will be stored and click “Next”.
- NOTE - The screen mentions the path should end with “%USERNAME%”, but for non-domain joined Frame we instead need to use “%FRAME_USER_EMAIL%” on the end.
- On the “Confirm Your Settings” screen, copy the deployment path shown to your clipboard, click “Finish” and “Yes” to the question in the dialog about proceeding without deploying. You will now have a new Configuration listed.
- Navigate to Filter Management on the left bar and click the "Create" button at the top-right.
- Name the new Filter "Frame Pool-Type is Production"
- Change the first drop-down from "And" to "Or".
- Under the Condition drop-down, select "Registry Value"
- Under Value, enter: (the | before production is a "pipe" character)
HKEY_CURRENT_USER\Environment\FRAME_POOL_GROUP_TYPE|production - Click "Add".
- Repeat with new value data, under the Condition drop-down, select "Registry Value"
- Under Value, enter: (the | before persistent is a "pipe" character)
HKEY_CURRENT_USER\Environment\FRAME_POOL_GROUP_TYPE|persistent_desktop_production - Click "Add".
- Click "Save".
- Navigate to Configuration Management, click the name of the new Configuration.
- Click “Main”
- Above "Require Filter for Execution" setting, click the "Enable Filter" checkbox.
- Select the new Filter "Frame Pool-Type is Production".
This Filter ensures that ProfileUnity and FlexApp do not run within the sandbox. - Click the “Return” arrow button at the top to go back to the Module list.
- Click “User Defined Scripts”
- Click "Add User Defined Script Rule".
- Set "Description" to “End explorer.exe”.
- Set "Type" to Executable
- Paste the following text into the File field:
taskkill.exe /F /FI "USERNAME eq %username%" /IM explore.exe - Click “Save” to add the new rule.
- Click the “Update” button at the top-right.
- Click "Add User Defined Script Rule".
- Click “Main”
- From Configuration Management, click the “Deploy Configuration” (circled down-arrow) icon toward the right of your new config to deploy it to your configuration path.
You’re now ready to start using full ProfileUnity and FlexApp on Frame, with or without Enterprise Profiles.