WindowsServer移行ツール

2012R2->2019やろうとしたけど、2019で作って2012に持ち込んだWindows移行ツールが実行エラーになる。(´・ω・`)

1.dotnetがないといわれる => 3.5入れるけどダメ

2.2019にある、smigdeploy.exe.configをコピー => 対象プラットフォームじゃないといわれる

qiita.com

このパターンっぽいのでどうしようもないのか。

social.msdn.microsoft.com

こんなのとか。

baba-s.hatenablog.com

これに突っ込んでみたけど、コンパイルエラーが。(´・ω・`)

TargetPlatformはWS2012R2じゃないのかなぁ。うーん。

// Decompiled with JetBrains decompiler
// Type: Microsoft.Windows.ServerManager.Migration.SmigDeploy.Constants
// Assembly: SmigDeploy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: 68902F31-A3A0-4FE3-A9F3-B994AC006B4D
// Assembly location: C:\temp\SMT_ws12R2_amd64\SmigDeploy.exe

using System;

namespace Microsoft.Windows.ServerManager.Migration.SmigDeploy
{
  internal static class Constants
  {
    internal static Platform TargetPlatform = Platform.WS2016;
    internal static Version Win7Version = new Version(6, 1, 6500);
    internal static Version Win8Version = new Version(6, 2);
    internal static Version WS2012R2Version = new Version(6, 3);
    internal static Version WS2016Version = new Version(10, 0);
  }
}