時間:2017-07-04 來源:互聯網 瀏覽量:
今天給大家帶來怎樣優化電腦安裝VMware虛擬機後開機緩慢,電腦安裝VMware虛擬機後開機緩慢的方法,讓您輕鬆解決問題。
VMware這個軟件本身比較占內存,關聯服務多,安裝完軟件之後,就會關聯好幾個服務,而且這些服務都開啟自動啟動,這幾個服務會嚴重加長電腦開機時間,所以可以改服務改為手動,可以運行一次優化自動改掉所有服務,下次要用VM前要先運行下啟動才會打開相應的服務,不管運行哪個,都要先關閉VMware Workstation軟件.
優化:運行一次即可,運行後,VMware Workstation軟件對應的服務都會被改成手動;啟動:啟動對應的服務,要用VMware Workstation就要點一次,才會開啟,電腦沒有重啟,再次開VMware Workstation無需再點;停止:用於手動停止VMware Workstation相關服務,不用VMware Workstation是可以點擊下,優化電腦內存;恢複默認:就是恢複到默認VMware Workstation的狀態,一般不建議恢複。以下代碼用戶記事本可以編輯,後綴名用.bat或者.cmd,雙線內的代碼,不包含雙線。
優化啟動項:
===================================================
@echo off
sc config "vds" start= demand
sc config "VMAuthdService" start= demand
sc config "VMnetDHCP" start= demand
sc config "VMware NAT Service" start= demand
sc config "VMUSBArbService" start= demand
sc config "VMwareHostd" start= demand
pause.
===================================================
啟動:
===================================================
@echo off
sc start "VMAuthdService"
sc start "VMnetDHCP"
sc start "VMware NAT Service"
sc start "VMUSBArbService"
sc start "VMwareHostd"
pause.
===================================================
停止:
===================================================
@echo off
sc stop "vds"
sc stop "VMAuthdService"
sc stop "VMnetDHCP"
sc stop "VMware NAT Service"
sc stop "VMUSBArbService"
sc stop "VMwareHostd"
pause.
===================================================
恢複默認:
===================================================
@echo off
sc config "vds" start= demand
sc config "VMAuthdService" start= auto
sc config "VMnetDHCP" start= auto
sc config "VMware NAT Service" start= auto
sc config "VMUSBArbService" start= auto
sc config "VMwareHostd" start= auto
pause.
===================================================
也可以到參考鏈接中,進行下載!
以上就是怎樣優化電腦安裝VMware虛擬機後開機緩慢,電腦安裝VMware虛擬機後開機緩慢的方法教程,希望本文中能幫您解決問題。