プロジェクト

全般

プロフィール

OneDriveのマウント » 履歴 » バージョン 10

蒲池 晃, 2021/06/08 03:21

1 1 蒲池 晃
h1. OneDriveのマウント
2 1 蒲池 晃
3 4 蒲池 晃
# IEの信頼済サイトに365ポータル関連を追加する。 → "download":https://redmine.ait-partner.co.jp/attachments/download/157/onedrive.bat
4 8 蒲池 晃
# IEにて http://portal.office.com/ にログイン
5 1 蒲池 晃
# 右のワンドライブを選択
6 1 蒲池 晃
# 共有したいフォルダーを選択
7 8 蒲池 晃
# 右上の並び替えの横にある「表示オプションの切り替え」から「エクスプローラーで表示」を選択する
8 8 蒲池 晃
# 画面が切り替わりフォルダー階層のアドレスバーをコピーする
9 1 蒲池 晃
# エクスプローラーのPCを右クリック
10 1 蒲池 晃
# 「ネットワークドライブの割り当て」を選択
11 8 蒲池 晃
# フォルダーの空白に6でコピーしたリンクを貼り付け
12 1 蒲池 晃
# 右下の完了を選択
13 2 蒲池 晃
14 5 蒲池 晃
(OneDrive.batの中身)
15 2 蒲池 晃
<pre>
16 2 蒲池 晃
@echo off
17 2 蒲池 晃
set RegRoot=HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
18 2 蒲池 晃
reg add "%RegRoot%\sharepointonline.com\*" /v https /t REG_DWORD /d 2 /f
19 2 蒲池 晃
reg add "%RegRoot%\officeapps.live.com\*" /v https /t REG_DWORD /d 2 /f
20 2 蒲池 晃
reg add "%RegRoot%\cdn.office.net\*" /v https /t REG_DWORD /d 2 /f
21 2 蒲池 晃
reg add "%RegRoot%\osi.office.net\*" /v https /t REG_DWORD /d 2 /f
22 2 蒲池 晃
reg add "%RegRoot%\microsoft.com\*" /v https /t REG_DWORD /d 2 /f
23 2 蒲池 晃
reg add "%RegRoot%\microsoftonline.com\*" /v https /t REG_DWORD /d 2 /f
24 2 蒲池 晃
reg add "%RegRoot%\windows.net\*" /v https /t REG_DWORD /d 2 /f
25 2 蒲池 晃
reg add "%RegRoot%\sharepoint.com\*" /v https /t REG_DWORD /d 2 /f
26 2 蒲池 晃
reg add "%RegRoot%\akamaihd.net\*" /v https /t REG_DWORD /d 2 /f
27 2 蒲池 晃
reg add "%RegRoot%\azure-dns.com\*" /v https /t REG_DWORD /d 2 /f
28 2 蒲池 晃
reg add "%RegRoot%\azure-dns.net\*" /v https /t REG_DWORD /d 2 /f
29 2 蒲池 晃
reg add "%RegRoot%\azure-dns.org\*" /v https /t REG_DWORD /d 2 /f
30 2 蒲池 晃
reg add "%RegRoot%\azure-dns.info\*" /v https /t REG_DWORD /d 2 /f
31 2 蒲池 晃
reg add "%RegRoot%\office365.com\*" /v https /t REG_DWORD /d 2 /f
32 2 蒲池 晃
reg add "%RegRoot%\portal.office.com\www" /v https /t REG_DWORD /d 2 /f
33 2 蒲池 晃
reg add "%RegRoot%\outlook.office365.com\www" /v https /t REG_DWORD /d 2 /f
34 2 蒲池 晃
</pre>
35 9 蒲池 晃
36 9 蒲池 晃
さらに追加で各社のOneDriveのURLを入れる必要がある
37 9 蒲池 晃
(xxxxxxx部分は各社の個別名)
38 9 蒲池 晃
<pre>
39 9 蒲池 晃
reg add "%RegRoot%\xxxxxxxxxx-my.sharepoint.com" /v https /t REG_DWORD /d 2 /f
40 9 蒲池 晃
</pre>
41 9 蒲池 晃
42 10 蒲池 晃
うちの場合はこうなる
43 10 蒲池 晃
<pre>
44 10 蒲池 晃
reg add "%RegRoot%\aitp-my.sharepoint.com" /v https /t REG_DWORD /d 2 /f
45 9 蒲池 晃
</pre>