996 Posted December 8, 2010 Share Posted December 8, 2010 Hello everyone!I've recently switched to Win7 Pro on a three year old notebook and I am very pleased. The machine went from "bogged down hard and soon to be replaced" to a performance machine.In order to save resources when I do not use Vmware Workstation, I have set all its services to manual and wrote a batch file to stert them only when I need to - and stop them thereafter:@echo offnet start "VMware Authorization Service"net start "VMware DHCP Service"net start "VMware NAT Service"net start "VMware USB Arbitration Service"start /wait "C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"net stop "VMware Authorization Service"net stop "VMware DHCP Service"net stop "VMware NAT Service"net stop "VMware USB Arbitration Service"taskkill /F /IM vmware-tray.exeexitNow.... the services start and stop just fine but Vmware does not run, with or without "start /wait". I've also tried the %programfiles% variable but it just doesn't work.Now I changed it to this:"C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"Now at least I get an error message:The filename, directory name, or volume label syntax is incorrect. Could somone please point me in the right direction? Link to comment Share on other sites More sharing options...
johnhc Posted December 8, 2010 Share Posted December 8, 2010 Hello everyone!I've recently switched to Win7 Pro on a three year old notebook and I am very pleased. The machine went from "bogged down hard and soon to be replaced" to a performance machine.In order to save resources when I do not use Vmware Workstation, I have set all its services to manual and wrote a batch file to stert them only when I need to - and stop them thereafter:@echo offnet start "VMware Authorization Service"net start "VMware DHCP Service"net start "VMware NAT Service"net start "VMware USB Arbitration Service"start /wait "C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"net stop "VMware Authorization Service"net stop "VMware DHCP Service"net stop "VMware NAT Service"net stop "VMware USB Arbitration Service"taskkill /F /IM vmware-tray.exeexitNow.... the services start and stop just fine but Vmware does not run, with or without "start /wait". I've also tried the %programfiles% variable but it just doesn't work.Now I changed it to this:"C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"Now at least I get an error message:The filename, directory name, or volume label syntax is incorrect. Could somone please point me in the right direction?996, t I think it should look like this:"C:\program files\VMware\VMware Workstation\VMware.exe" -x "C:\VM\Windows 7\Windows 7.vmx"Enjoy, John. Link to comment Share on other sites More sharing options...
996 Posted December 8, 2010 Author Share Posted December 8, 2010 Thank you, John! It works! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now