Problem:
After user's disconnect from AWS workspace desktop and later reconnect all DIA applications are missing from the desktop.
Symptoms:
The AWS work-spaces are set to hibernate after 180 minutes of user inactivity.
Possible Resolution(s):
There is no way to stop VHD disks from disconnecting from the desktops during hibernation. The only way to avoid this is to force user logoff before desktop will go in to hibernation mode. This could be done number of ways. One of them could be using freeware "Lithnet" called "IdleLogoff" the idea would be to install the software and set a Group Policy to logoff user after about 175 minutes of inactivity.
Example:
A) Install Software on Gold Image:
Installed software:
B) Install ADM template to configure Group Policy:
- Go to \\%USERDOMAIN%\sysvol\%USERDNSDOMAIN%\Policies and copy the whole "PolicyDefinitions" folder to there. If PolicyDefinitions folder already exists in that path, just copy the ADMX and ADML files from our new "PolicyDefinitions" folders to the respective locations in the share.
- Edit your ProfileUnity GPO to configure IdleLogoff settings.
Under Computer Configuration/Policies/Administrative Templates/Lithnet/IdleLogoff, enable "Log off inactive users" and set idle timeout to 50 minutes (or any time of your choosing as long as it is a 10 minutes less than the hibernation timeout to accommodate any possible delay in execution and time required to complete the logoff process). Check "Ignore sleep prevention requests from applications such as media playback" and set Action to "Log off".
Repeat the process under User Configuration to set IdleLogoff properties for the user as well.
Group Policy Summary Example:
Group Policy:
Product: ProfileUnity
Product Version: All