VMで、WIndows のクローンを作成する場合などに、SID , SusClientId が重複しないようにする。
元となるVMを作成。
コマンドプロンプトを起動。
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>cd c:\windows\system32\sysprep
c:\Windows\System32\sysprep>sysprep.exe -generalize -oobe -shutdown
sysprepの処理が実行される。


Win2088R2をESXi上にインストールしているので、元イメージをコピー
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # pwd
/vmfs/volumes/datastore1
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # ls -l
drwxr-xr-x 1 root root 1260 Jul 2 05:33 Win2008R2-1
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # mkdir Win2008R2-2
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # ls -l drwxr-xr-x 1 root root 1260 Jul 2 05:33 Win2008R2-1
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # vmkfstools -i Win2008R2-1/Win2008R2-1.vmdk Win2008R2-2/Win2008R2-2.vmdk
Destination disk format: VMFS zeroedthick Cloning disk 'Win2008R2-1/Win2008R2-1.vmdk'... Clone: 100% done.
新規VMを作成、コピーした vmdk ( Win2008R2-2.vmdk ) を仮想ディスクとして指定。

コピーした VM を起動。
sysprep により、セットアップ画面が表示される。

元となるVMを作成。
コマンドプロンプトを起動。
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>cd c:\windows\system32\sysprep
c:\Windows\System32\sysprep>sysprep.exe -generalize -oobe -shutdown
sysprepの処理が実行される。
Win2088R2をESXi上にインストールしているので、元イメージをコピー
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # pwd
/vmfs/volumes/datastore1
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # ls -l
drwxr-xr-x 1 root root 1260 Jul 2 05:33 Win2008R2-1
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # mkdir Win2008R2-2
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # ls -l drwxr-xr-x 1 root root 1260 Jul 2 05:33 Win2008R2-1
/vmfs/volumes/4b2bbcee-6534cf93-80a1-00237dea5800 # vmkfstools -i Win2008R2-1/Win2008R2-1.vmdk Win2008R2-2/Win2008R2-2.vmdk
Destination disk format: VMFS zeroedthick Cloning disk 'Win2008R2-1/Win2008R2-1.vmdk'... Clone: 100% done.
新規VMを作成、コピーした vmdk ( Win2008R2-2.vmdk ) を仮想ディスクとして指定。
コピーした VM を起動。
sysprep により、セットアップ画面が表示される。
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.