12 | | The server needs suspending before the laptop is shutdown. This is accomplished with a small batch file that calls vmrun.exe to suspend the server, but it must be run as a local admin. So the laptops have additional admin users for Nick, Sue, Jay and Sue C. Laptops must be shut down using the script not the |
| 12 | Put the 'Virtual Machines' directory into "C:\Users\Public" and then create a shortcut to use vmrun.exe to start VMWare Player and launch the relevant VM. If that shortcut were in the 'All Users' startup directory it would start automatically. But putting shortcuts in the 'All Users' directory requires admin permission. DONE. |
| 13 | |
| 14 | The server needs suspending before the laptop is shutdown. This is accomplished with a small batch file that calls vmrun.exe to suspend the server, but it must be run as a local admin. So the laptops have additional admin users for Nick, Sue, Jay and Sue C. For UHL, Caroline Hughes has authorised the use of local admin rights. If, in future, a solution can be found to run vmrun.exe without admin rights, this can be changed. |
| 15 | |
| 16 | Laptops must be shut down using the script not the power button. Otherwise there is a risk of data loss because the guest system will have MySQL shut down without warning, and possibly data will be cached in memory and not yet written to disk. |
16 | | 4MMVLX1 is done, at least to this point, with the shortcut in my personal 'startup' directory. A support call has been logged asking for local admin rights. |
17 | | |
18 | | JLMVLX1 has had the VM image copied to it. |
19 | | |
20 | | |
21 | | On the Windows host machine, the 'all users' start menu has a shortcut to REDCap, and the 'default applications' item is removed. A batch file 'startup.bat' in the all users' startup applications folder triggers the starting of the VM. |
22 | | |
23 | | The batch file to close the VM only works for me, not for Sue. Is this a firewall issue? I've set the network (using the Local Security Policy) to be private, and that didn't help. Andy Carruthers suggests setting other users to 'power user' status (or failing that, 'local administrator' status) and seeing if that gives them enough rights to shutdown the VMs. If it does, that is an acceptable solution, given that it's only a couple of users and a couple of laptops. On testing power user is not sufficient, but local admin is. Caroline Hughes is processing applications for local admin status. |