Script avvio VMware Workstation 9 + WSX Server

 

Precisando che senza VMware non si vive 😀 ecco il mio classico script che serve per avviare i servizi VMware solo quando effettivamente si sta usando il computer. I post precedenti hanno riscosso un gran successo e sono felice che in giro per il web esistono tanti altri utenti pignolo che non gradiscono avere mille mila servizi attivi quando effettivamente non servono a nulla.

Il funzionamento è il medesimo rispetto agli script precedenti. In questa versione ho però aggiunto anche l'attivazione del servizio WSX Server. La nuova funzionalità introdotta da VMware che permette di controllare tutte le vm condivise in Workstation e anche quelli di ESXi tramite browser, utilizzando solamente HTML5. A mio avviso un bel passo avanti.

Questo pacchetto non è compreso nel setup di VMware Workstation 9, si tratta di un pacchetto .msi opzionabile gratuitamente scaricabile dal sito di VMware nella sezione Workstation.

Se non avete installato il pacchetto VMware WSX Server editate lo script e mettete un apostrofo davanti alle stringhe:

startService("VMware WSX")

stopService("VMware WSX")

'/*
' * This script first starts services for VMWARE, then starts VMWARE Workstation.
' * Once VMWARE stops, services are stopped and terminated again.
' * Prerequisites for this script:
' * Modify: Computer Management -> Services -> VMware USB Arbitration Service -> Startup Type:Manual
' * Modify: Computer Management -> Services -> VMware Nat Service -> Startup Type:Manual
' * Modify: Computer Management -> Services -> VMware DHCP Service -> Startup Type:Manual
' * Modify: Computer Management -> Services -> VMware Authorization Service -> Startup Type:Manual
' * Modify: Computer Management -> Services -> VMware Workstation Server -> Startup Type:Manual
' * Modify: Computer Management -> Services -> VMware WSX Server -> Startup Type:Manual
' * Remove HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\VMware hqtray
' * Remove HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\vmware-tray
' * Modify: Disable VMware Network Adapter VMnet1 network interface
' * Modify: Disable VMware Network Adapter VMnet8 network interface
' *
' * written 080821 by w_m0zart / Marc Nijdam. http://www.nijdam.de/marc.html
' * modified by Angaran Stefano http://blog.upyou.it
' * modified by Andrea Giacomin http://www.badalis.it
' */

Lo script è scaricabile qua sotto:

vmware_StartStop_vmware_9 (1140 download )

 

E come sempre, buona virtualizzazione 🙂