zoukankan      html  css  js  c++  java
  • 如何把你的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 FilesVMwareVMware ViewClientinwswc.exe”
    shutdown -s -t 0
     
    3. 在同一级目录中创建start.vbs
    Set WshShell = CreateObject("WScript.Shell")
    WshShell.Run Chr(34) & "C:clientview.bat" & Chr(34), 0
    Set WshShell = Nothing
    3、编辑注册表,替换当前用户登录的shell.
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
    "Shell"="wscript c:\client\start.vbs"
    4. 修改windows用户登录方式,让windows自动用你设定的用户名密码登录。
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]
    "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_MACHINESOFTWAREPoliciesVMware, Inc.VMware VDMClient]
    "ServerURL"="https://viewserver"
    "UserName"="test1"
    "DomainName"="testdomain"
    "Password"="testpassword"
    "DesktopName"="desktop1"
    "DesktopLayout"="FullScreen"
    "NonInteractive"="true"
    "connectUSBOnStartup"="true"
    "connectUSBOnInsert"="true"
    "EnableShade"="false" 
  • 相关阅读:
    我的WCF之旅(1):创建一个简单的WCF程序
    网页设计中颜色的搭配
    CSS HACK:全面兼容IE6/IE7/IE8/FF的CSS HACK
    UVa 1326 Jurassic Remains
    UVa 10340 All in All
    UVa 673 Parentheses Balance
    UVa 442 Matrix Chain Multiplication
    UVa 10970 Big Chocolate
    UVa 679 Dropping Balls
    UVa 133 The Dole Queue
  • 原文地址:https://www.cnblogs.com/h2zZhou/p/6702281.html
Copyright © 2011-2022 走看看