Thank you for your explanation as to why this was happening. We too were having issues along the same lines as you. If I can make a quick suggestion that might work better in some cases, rathe...
See more...
Thank you for your explanation as to why this was happening. We too were having issues along the same lines as you. If I can make a quick suggestion that might work better in some cases, rather than writing/using a PowerCLI script and scheduling the refresh of these VMs. For our non-persistent automated linked-clone desktop pool, we simply applied a GPO that disables the ability to shutdown the VM by the user. I noticed that you already have a GPO to make the default option on the Start Menu "Logoff", so why not take this a step further and also enable Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands from the Start Menu as well? That way the user won't even have the ability to shutdown the VM in the desktop pool in the first place. It may not work for everyone, and depends heavilty on how you have GPOs setup in your AD environment, but might be another option.