ActiveDirectoryの移行（W2012R2 → W2016）

参考文献
　https://jp.fujitsu.com/platform/server/primergy/technical/construct/pdf/win2012-active-directory01.pdf

2台用意するのが面倒だったので、Win2012×1台　→　Win2016×1台　でやってみた。
IPアドレス変えたりなんだかんだはやってない

1. ADDS役割追加【操作：W2016】
　役割の機能の追加
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/070490af-9319-ced4-91e4-5c95430fc6ee.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/856b6583-fb81-fd90-c7d3-961f0e6f2fe0.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/346b4f69-b877-e4fd-b62c-164074417a97.png)
　
　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/2246d2ca-43dd-4d6d-d163-4224d08a5618.png)

　ADDSにチェックを入れる
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/e6c21f2b-bab9-52ca-cd48-df0ea78a27b5.png)

　機能の追加を押す
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/7f89891a-d540-d8ba-577a-f8e20d15b0a1.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/97a1a707-d587-2f33-99d8-9665f6b153de.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/c2d3df89-e96d-4bd3-9976-5d047158dcba.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/119f45d2-6aba-8a3a-caa3-fd8ba66771b5.png)

　インストール
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/f36b6c0e-c79c-1c37-ac4e-02a804622820.png)

　終わり（画面はそのまま）
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/0c0f83da-74a8-1522-e965-dcd318f0f4d3.png)






2. ドメコン昇格【操作：W2016】
　このサーバーをドメインコントローラーに昇格するを押す
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/1cccecba-1d03-05ab-9e2c-3c9b56af5fcc.png)

　ドメイン情報を入れる
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/9baac0e2-a6ca-36cf-89b8-03c5203dedd8.png)

　DSRMパスワードを入れる
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/3896be4b-f51b-e2b0-ed47-4b856b0066b9.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/067d28ea-dc92-de92-c5af-d6c3005e1e30.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/ac514102-d004-da16-75f7-ec603dbca15a.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/06894f5e-f802-f2ac-0ee9-01587e7b03f3.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/6a43fd79-ee8d-eb75-774a-5ef2bffca68c.png)

　次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/d2af0e42-0d89-cc7f-6876-cebcc5189734.png)

　インストール
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/bcba2cf7-712f-c92c-2adc-9808385ea06f.png)



ユーザーとかは移行される
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/f9cada7e-3688-da97-9a00-2fbc263e211d.png)


ゾーンはコピーされるけど、サーバの設定はコピーされない（画面は一例）
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/aada5d47-0b52-05c2-0563-f505e859ac91.png)




3. FSMO転送【操作：W2012】

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/54972b4f-8094-b6a6-bbdb-dc3886d9a7f7.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/7b4a269d-979f-35f2-3b25-eeba2d28372d.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/22e1eab2-4e81-69dc-0a07-b054dcc7a45c.png)
スナップインの追加と削除
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/838d2dd7-30d2-9d94-de8c-b1f1a8e43a5a.png)
ADスキーマを選んで追加→OK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/54d2ddbc-11cc-a6b9-316b-dea4ee9a0f6d.png)

ADスキーマを右クリックして、Adの変更
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/caa829ad-a201-9596-df2f-452fb5ea914c.png)

変更先を選んでOK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/d4a1528e-0c17-fe70-c05a-30998baa398c.png)

OK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/4312e9fe-b7f8-6ef7-e53d-aa4d5c08d43c.png)




操作マスターを選択
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/d687a568-7020-a5a9-3216-d5b907f20b7a.png)

変更
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/ec46010f-4c7f-a08f-f71a-c4ca0226aa1c.png)
はい
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/dbefb83c-6af9-134d-3e95-0c4ba8813d63.png)
OK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/654edf6e-2d68-4ac0-3a28-f5258b3e04a5.png)



ドメインと信頼関係
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/21d6bb6b-2a0f-dfcc-d846-04be643f2105.png)

Adの変更
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/ca875bd9-bcd1-ef26-867e-55f4004939f4.png)

OK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/dac79a3d-e48d-87a8-d27a-f389dd494b80.png)

操作マスター
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/71d5e719-107a-3e30-24dc-f81eba8cc323.png)

変更
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/5e26b23d-2711-e5aa-6589-f9c62ed597a2.png)


はい
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/8dd67755-9582-83ba-0a72-4b52fa287e07.png)


OK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/e1b0a12f-80fa-9d5d-1b1f-5e6d818465c2.png)


ユーザーとコンピューター
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/29389c34-31ff-4306-2599-d5f3e15f7514.png)

Adの変更
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/d817eb6c-c4bb-ef36-feed-e68856799e4a.png)

OK
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/13a98ab2-3e8e-f81e-475a-560a01f1377b.png)


操作マスター
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/f2e37fd1-76e5-2079-de39-75bdf461efda.png)

３つとも変更
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/f6c225a2-d3e6-6048-0def-7e27c1bc8076.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/9503d700-40b7-d614-dc00-e2f76cadd58e.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/c3259dfc-27a2-006d-34f7-e96cc68b7b6e.png)





4. 降格【操作：W2012】
役割と機能の削除
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/afa27ccb-3455-704f-17c2-e277c0fdac85.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/f5a8ef65-b151-329f-231b-0ffc1869dd37.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/84012b1c-1155-19e3-9b29-3aaf6791a4c7.png)

ADのチェックを外す
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/df42eb4e-8ec0-57d3-3042-1b0019184b29.png)

機能の削除
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/3011a5c9-54d6-931a-6d3d-a9d70a8a2a9a.png)

このドメインコントローラーを降格する
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/3bc517a5-d2d3-329c-83fb-a99c1151b658.png)

次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/308fbdf1-6e9d-ac45-c93e-aa2796783f2c.png)

削除の続行にチェックを入れて次へ
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/6cd9d2ce-b9ab-21b6-4a01-8af741a8f826.png)

降格後に使うAdministratorのパスワードを設定
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/3d3e22b3-1f80-a448-66cb-4a6fc3f61617.png)


降格
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/315938/3d1e030d-968a-0390-0814-1755db04227f.png)


おつかれさまでしたー