New
#20
I don't need that code, but I have my shortcut (or task) set to run as admin.
If you always shut down the VM, your code is much simpler. I pop on and off of my VM frequently, so I close the connection but want to pause or save it for quicker restart. My code gives me the option of how to exit each time without having to do it through the connection window menus. But yours is probably better for many people's applications.