OneDriveのマウント » 履歴 » バージョン 2
バージョン 1 (蒲池 晃, 2020/10/19 07:55) → バージョン 2/10 (蒲池 晃, 2020/10/19 07:57)
h1. OneDriveのマウント
# Onedriveバッチファイルを実行する
# IEにてhttp://portal.office.com/にログイン
# 右のワンドライブを選択
# 共有したいフォルダーを選択
# 右上の並び替えの横にある「表示オプションの切り替え」
から「エクスプローラーで表示」を選択する
# 画面が切り替わり
フォルダー階層のアドレスバーをコピーする
# エクスプローラーのPCを右クリック
# 「ネットワークドライブの割り当て」を選択
# フォルダーの空白に⑥でコピーしたリンクを貼り付け
# 右下の完了を選択
(信頼済サイトへの登録パッチ)
<pre>
@echo off
set RegRoot=HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
reg add "%RegRoot%\sharepointonline.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\officeapps.live.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\cdn.office.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\osi.office.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\microsoft.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\microsoftonline.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\windows.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\sharepoint.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\akamaihd.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.org\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.info\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\office365.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\portal.office.com\www" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\outlook.office365.com\www" /v https /t REG_DWORD /d 2 /f
</pre>
# Onedriveバッチファイルを実行する
# IEにてhttp://portal.office.com/にログイン
# 右のワンドライブを選択
# 共有したいフォルダーを選択
# 右上の並び替えの横にある「表示オプションの切り替え」
から「エクスプローラーで表示」を選択する
# 画面が切り替わり
フォルダー階層のアドレスバーをコピーする
# エクスプローラーのPCを右クリック
# 「ネットワークドライブの割り当て」を選択
# フォルダーの空白に⑥でコピーしたリンクを貼り付け
# 右下の完了を選択
(信頼済サイトへの登録パッチ)
<pre>
@echo off
set RegRoot=HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
reg add "%RegRoot%\sharepointonline.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\officeapps.live.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\cdn.office.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\osi.office.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\microsoft.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\microsoftonline.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\windows.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\sharepoint.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\akamaihd.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.net\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.org\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\azure-dns.info\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\office365.com\*" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\portal.office.com\www" /v https /t REG_DWORD /d 2 /f
reg add "%RegRoot%\outlook.office365.com\www" /v https /t REG_DWORD /d 2 /f
</pre>