いつかまた同じことをやるためのメモ
やりたいこと
- 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