私は robocopy とマップされたネットワーク ドライブを使用して、信頼されていない Windows ドメイン全体のバックアップを中央の場所にコピーしてから、それらを Ubuntu ストレージ デバイスにプッシュしましたが、多くの異常が発生しています。私が今見ているのは、どのユーザー コンテキストにも存在しないように見えるマップされたネットワーク ドライブです。これらはすべて個人的に実行されているか、「管理者として実行」されていますが、どちらも同じ結果になります。
これは Powershell では機能しますが、CMD からは機能しないことに注意してください。
マップされたすべてのドライブを削除します。
Z:\Scripts>net use * /delete
There are no entries in the list.
W: ドライブを明示的に削除しようとしています
Z:\Scripts>net use w: /delete /y
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
ディレクトリをマップされたドライブに変更しようとしました。ログオンの失敗に注意してください
Z:\Scripts>w:
Logon failure: unknown user name or bad password.
もう一度削除してみる
Z:\Scripts>net use W: /delete /y
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
接続が表示されない
Z:\Scripts>net use
New connections will not be remembered.
There are no entries in the list.
W: ドライブが存在しません
Z:\Scripts>net use W: /delete /Y
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
ドライブをそれにマップしようとします
Z:\Scripts>NET use W: \\servername\sharename PASSWORD /user:domain\username
System error 85 has occurred.
The local device name is already in use.