3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Microsoft Remote Desktop(mac)の設定を別マシンにコピーする。

Posted at

いつかまた同じことをやるためのメモ

やりたいこと

  • Macで現在利用しているMicrosoft Remote Desktopサーバリストを別のマシンにそのままコピーしたい。
  • Microsoft Remote DesktopのExport機能を使うと設定はExportできるが、パスワードなど一部の情報が移行できない。

やりかた

こちらに書いてあるとおり

  • Copy all of "My Desktops" to another Mac with Microsoft Remote Desktop v8.0.9

  • ~/Library/Containers/com.microsoft.rdc.mac/Data/Library/Preferences/com.microsoft.rdc.mac.plistファイルを古いマシンからコピー

  • ~/Library/Containers/com.microsoft.rdc.mac/Data/Library/Application Support/Microsoft Remote Desktopディレクトリを古いマシンからコピー

  • sudo killall cfprefsd defaults serverを再起動(おそらくキャッシュをクリアとかそういう意味だと思う。)

これで前の設定が復元できた。

ファイルやディレクトリの中身

~/Library/Containers/com.microsoft.rdc.mac/Data/Library/Preferences/com.microsoft.rdc.mac.plistの中身

defaults read com.microsoft.rdc.mac.plist
{
    NSNavLastRootDirectory = "~/Desktop/rdc";
    NSNavPanelExpandedSizeForOpenMode = "{712, 448}";
}

~/Library/Containers/com.microsoft.rdc.mac/Data/Library/Application Support/Microsoft Remote Desktopの中身

以下のようなuuidの記載されたディレクトリとログファイルがあるだけ、設定情報はどこに保存されているんだろう?

{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
./logs/rdplog.log
./logs/rdplog.log.1

環境

  • OSX: macOS 10.12.3
  • Microsoft Remote Desktop: 8.0.38

参考

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?