如何把你的Windows PC變成瘦客戶機


越來越多的用戶開始使用vmware view 4.5來做為企業桌面虛擬化的平台,通過view,所有的管理工作都轉移到數據中心,但是考慮到成本原因,很多人員還在使用PC機,有沒有辦法將PC機變成瘦客戶機呢?

方法當然是有的,vmware 官方也提供了這方面的指南,我在官方的基礎上做了一些修改。限於環境原因,本文僅使用windows系統來實現這個需求,如果你希望使用linux方式,請參考:

http://www.vmware.com/files/pdf/pc_to_thin_desktop.pdf

開工了:

1. 手工安裝view client 4.5
 
2. 在c:\client\下創建一個包含以下內容的View.bat文件:
@echo off
:View
“C:\Program Files\VMware\VMware View\Client\bin\wswc.exe”
shutdown -s -t 0
 
3. 在同一級目錄中創建start.vbs
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run Chr(34) & "C:\client\view.bat" & Chr(34), 0
Set WshShell = Nothing
3、編輯注冊表,替換當前用戶登錄的shell.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"Shell"="wscript c:\\client\\start.vbs"
4. 修改windows用戶登錄方式,讓windows自動用你設定的用戶名密碼登錄。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="administrator"
"DefaultPassword"="123456"
"AutoAdminLogon"="1"
"ForceAutoLogon"="1"
"LogonType"="0"
5. 如果您還需要修改CTRL+ALT+DELETE 選項,您可以使用注冊表或組策略方式來限制:

 

Policy
Setting
Remove Change Password
Enabled
Remove Lock Computer
Enabled

 

6. 修改view client 注冊表選項,使其自動登錄到指定桌面,並隱藏view client上方的工具欄
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\VMware, Inc.\VMware VDM\Client]
"ServerURL"="https://viewserver"
"UserName"="test1"
"DomainName"="testdomain"
"Password"="testpassword"
"DesktopName"="desktop1"
"DesktopLayout"="FullScreen"
"NonInteractive"="true"
"connectUSBOnStartup"="true"
"connectUSBOnInsert"="true"
"EnableShade"="false" 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM