21天让你成为Horizon View高手—Day18:Windows操作系统优化
概覽
?
完整的安裝優(yōu)化流程如下:
1.?創(chuàng)建目標虛擬機
2.?從介質(zhì)安裝客戶操作系統(tǒng)
3.?安裝VMware?Tools并使用優(yōu)化輔助工具bat文件進行操作系統(tǒng)優(yōu)化
4.?安裝應(yīng)用程序和View?Agent
5.?創(chuàng)建虛擬機模版或快照
?
2.?優(yōu)化步驟
2.1?創(chuàng)建目標虛擬機
1.
Windows?XP虛擬機參數(shù)???
參數(shù) | 注釋 |
操作系統(tǒng) | Windows?XP(32位或64位)With?SP3 |
硬盤 | Thin?Provisioning |
顯卡 | 自動檢測 |
軟盤 | 移除軟盤驅(qū)動器 |
CD/DVD | 設(shè)置為Windows?XP?ISO鏡像用于系統(tǒng)安裝 |
NIC適配器類型 | 默認設(shè)置 |
內(nèi)存規(guī)格 | 32位,1-3GB(不要超過3GB);64位1-4GB(取決于使用情況) |
BIOS-禁用端口 | 轉(zhuǎn)到虛擬機屬性的“選項”選項卡,選擇強制進入BIOS以禁用不需要的LPT?和?COM?端口 |
?
Windows?7虛擬機參數(shù)???
參數(shù) | 注釋 |
操作系統(tǒng) | Windows?7(32位或64位)With?SP1 |
硬盤 | Thin?Provisioning |
顯卡 | 自動檢測,如果需要開啟Aero特效,請勾選啟用3D圖形呈現(xiàn) |
軟盤 | 移除軟盤驅(qū)動器 |
CD/DVD | 設(shè)置為Windows?7?ISO鏡像用于系統(tǒng)安裝 |
NIC適配器類型 | VMXNET3,安裝熱修復(fù)補丁 對于?Windows?7?SP1: http://support.microsoft.com/kb/2550978 對于?Windows?7?SP1?之前的版本:http://support.microsoft.com/kb/2344941 |
內(nèi)存規(guī)格 | 32位,2-3GB(不要超過3GB);64位2-4GB(取決于使用情況) |
BIOS-禁用端口 | 轉(zhuǎn)到虛擬機屬性的“選項”選項卡,選擇強制進入BIOS?以禁用不需要的LPT?和?COM?端口 |
?
2.2?安裝操作系統(tǒng)和VMware?Tools
從介質(zhì)安裝客戶操作系統(tǒng)
1.?確保將?CD/ROM?設(shè)備設(shè)置為“開機時連接”并定向到?Windows?XP/7/8?ISO?映像。
2.?連接到虛擬機控制臺并響應(yīng)操作系統(tǒng)安裝向?qū)У奶崾尽?/p>
3.?必要時重新啟動。
4.?安裝VMware?Tools
5.?重新啟動
2.3?操作系統(tǒng)優(yōu)化
2.3.1?Windows?XP
1 | 安裝最新操作系統(tǒng)補丁 |
2 | 禁用Automatic?Updates服務(wù) |
3 | 禁用Index?Services服務(wù) |
4 | 禁用Wireless?Zero?Confirguration服務(wù) |
5 | 禁用Wired?AutoConfig服務(wù) |
6 | 禁用Security?Center服務(wù) |
7 | 禁用Themes服務(wù) |
8 | 命令行運行g(shù)pedit.msc,雙擊本地計算機策略->計算機配置->管理模版->Windows組件->終端服務(wù),設(shè)置“限制最大顏色深度”為24比特 |
9 | 設(shè)置桌面背景為“無” |
10 | 設(shè)置屏幕保護為“無” |
11 | 啟用完全硬件加速,控制面板->顯示->設(shè)置->高級->疑難解答 |
12 | 關(guān)閉Windows?XP主題效果,右鍵點擊“我的電腦”->“屬性”->“高級”,在性能設(shè)置欄,點擊“設(shè)置”,選擇“調(diào)整為最佳性能” |
13 | 修改虛擬內(nèi)存文件大小為512MB |
14 | 關(guān)閉系統(tǒng)還原 |
15 | 取消C盤索引服務(wù) |
16 | 刪除C:\Windows隱藏的更新程序目錄($hf_mig$除外),例如:$NtUninstallKBXXXXXX$ |
17 | 禁用Windows聲音 |
18 | 禁用磁盤計數(shù)器DISKPERF?–N |
19 | 注冊表優(yōu)化 HKLM\SYSTEM\CurrentControlSet\Control\Session?Manager\Memory?Management?“DisablePagingExecutive”=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache]?"Enabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]?"ServicesPipeTimeout"=dword:0002bf20 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Tour]?"RunCount"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]?"ErrorMode"=dword:00000002 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]?"NoRemoteRecursiveEvents"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]?"NtfsDisableLastAccessUpdate"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction] "Enable"="N" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout]?"EnableAutoLayout"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session?Manager\Power]?"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]?"CrashDumpEnabled"=dword:00000000? "LogEvent"=dword:00000000? "SendAlert"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket]?"UseGlobalSettings"=dword:00000001? "NukeOnDelete"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]?"DisablePasswordChange"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Internet?Explorer\Main]? "Force?Offscreen?Composition"=dword:00000001 HKEY_CURRENT_USER\Control?Panel\Desktop]? "MenuShowDelay"="150" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]?"NoDesktopCleanupWizard"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]?"NoNetCrawling"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]?"NoClose"=dword:00000001 |
20 | 磁盤清理 |
21 | 磁盤碎片整理 |
22 | 將優(yōu)化應(yīng)用到Default?User目錄 |
2.3.2?Windows?7
1 | 安裝最新操作系統(tǒng)補丁 |
2 | 禁用Windows服務(wù) ??Background?Intelligent?Transfer?Service ??Diagnostic?Policy?Service ??Function?Discovery?Resource?Publication ??HomeGroup?Listener ??HomeGroup?Provider ??Offline?Files ??Security?Center ??SuperFetch ??Windows?Defender?服務(wù) ??Windows?Media?Player?Network?Sharing?Service |
3 | 修改本地組策略gpedit.msc ??計算機配置-管理模版-Windows組件-Windows錯誤報告-禁用Windows錯誤報告(已啟用) ??計算機配置-管理模版-Windows組件-Windows更新-配置自動更新(已禁用) ??計算機配置-管理模版-系統(tǒng)-系統(tǒng)還原-關(guān)閉系統(tǒng)還原(已啟用) |
4 | 注冊表優(yōu)化 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]?"NtfsDisableLastAccessUpdate"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]?"ServicesPipeTimeout"=dword:0002bf20 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]?"ErrorMode"=dword:00000002 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoRemoteRecursiveEvents"=dword:00000001 [HKEY_USERS\.DEFAULT\Control?Panel\Desktop] "ScreenSaveActive"="0" HKLM\SYSTEM\CurrentControlSet\Control\Session?Manager\Memory?Management] "ClearPageFileAtShutdown"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache] "Enabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]? "Enable"="N" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout] "EnableAutoLayout"=dword:00000000 [HKLM\SYSTEM\CurrentControlSet\Control\CrashControl] "CrashDumpEnabled"=dword:00000000 "LogEvent"=dword:00000000 "SendAlert"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session?Manager\Power]?"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]?"CrashDumpEnabled"=dword:00000000?"LogEvent"=dword:00000000?"SendAlert"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters] "DisablePasswordChange"=dword:00000001 HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application] "MaxSize"=dword:00010000 [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Security] "MaxSize"=dword:00010000 [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System] "MaxSize"=dword:00010000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket] "UseGlobalSettings"=dword:00000001 "NukeOnDelete"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Disk]? “TimeOutValue”=dword:000000be |
5 | 禁用啟動動畫 bcdedit?/set?bootux?disabled |
6 | 卸載Windows組件 ??Windows?Media?Center ??DVD?Maker ??Tablet?PC組件 |
7 | 設(shè)置虛擬內(nèi)存大小 |
8 | 禁用IPv6 |
9 | 禁用持續(xù)跟蹤文件最后訪問時間 fsutil?behavior?set?disablelastaccess?1 |
10 | 禁用?Windows?客戶體驗改進計劃 1?打開控制面板,單擊操作中心?>?更改操作中心設(shè)置。 2?單擊客戶體驗改進計劃設(shè)置。 3?選擇否,我不想加入該計劃并單擊保存更改。 4?打開控制面板,單擊管理工具?>?任務(wù)計劃程序>Microsoft?>?Windows節(jié)點,打開Application?Experience文件夾。 6?禁用?AITAgent?和?ProgramDataUpdater?任務(wù)。 7?在任務(wù)計劃程序庫?>?Microsoft?>?Windows?節(jié)點中,打開Customer?Experience?Improvement?Program文件夾。 8?禁用合并計算器、KernelCEIPTask?和使用?CEIP?任務(wù)。 |
11 | 禁用磁盤掃描計劃 1?打開控制面板,單擊管理工具?>?任務(wù)計劃程序>Microsoft?>?Windows節(jié)點,打開Defrag文件夾。 2?禁用?ScheduledDefrag?任務(wù)。 |
12 | 禁用注冊表備份計劃 1?打開控制面板,單擊管理工具?>?任務(wù)計劃程序>Microsoft?>?Windows節(jié)點,打開Registy文件夾。 2?禁用RegIdleBackup任務(wù)。 |
13 | 禁用Microsoft?Feeds?Synchronization 單擊開始?>?控制面板?>?網(wǎng)絡(luò)和?Internet?>?Internet?選項>內(nèi)容>源和網(wǎng)頁快訊,單擊設(shè)置,取消選擇自動檢查源和網(wǎng)頁快訊的更新。 |
14 | 以管理員權(quán)限運行Command.bat進行優(yōu)化,重新啟動 |
15 | 磁盤清理 |
16 | 整理磁盤碎片 |
轉(zhuǎn)載于:https://blog.51cto.com/virtualyourdesk/1218450
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的21天让你成为Horizon View高手—Day18:Windows操作系统优化的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 国家发改委、国家统计局:加强物流统计监测
- 下一篇: 【Windows7系统新特性】