从View 5.1开始,View提供了一个新的功能,View组件中的角色管理可以支持物理桌面的使用,因此通过这个组件,可以企业管理员实现用户配置文件从Windows XP迁移Windows7的工作。 在角色管理中提供了一个命令行工具(migprofile.exe),用于整个迁移用户配置文件。
1、环境准备
首先下载角色管理独立安装程序,并在Win7桌面下安装。
VMware-personamanagement-5.2.0-987719.exe (适合32位操作系统)
VMware-personamanagement-x86_64-5.2.0-987719.exe (适合64位操作系统)



完成安装之后,可以在下面路径找到迁移所需要的命令行工具migprofile.exe utility.
? 安装View Agent环境 : install_directory\VMware\VMware View\Agent\bin\
? 安装角色管理独立软件包环境:install_directory\VMware\VMware View Persona Management\

2、迁移工具(migprofile)命令参数
migprofile.exe 命令参数如下:
migprofile.exe [/s:source_path] [/t:target_path] [/r-:] [/takeownership] [config_file]
3、迁移工具命令示例:
? 迁移\\file01\profiles文件夹下所有WinXP用户配置文件,并在相同的位置创建相应的Win 7用户配置文件。在迁移过程中会取得用户配置文件的所有权:
migprofile.exe /s:\\file01\profiles\* /takeownership
? 使用迁移配置文件migconfig.xml 进行迁移:
migprofile.exe migconfig.xml
? 将计算机 devvm-winxp 下用户ts115 的用户配置文件迁移至\\file01\profiles 目录下 。在迁移过程中会取得用户配置文件的所有权:
migprofile.exe /s:\\devvm-winxp\c$\documents and settings\ts115 /t:\\file01\profiles\ /takeownership
关于Migration Configuration File的介绍,请参考http://pubs.vmware.com/view-51/topic/com.vmware.ICbase/PDF/view-51-profile-migration.pdf
本文转自robbindai 51CTO博客,原文链接:http://blog.51cto.com/virtualyourdesk/1218457