一、於共用資料夾的共用→使用權限,加入 "Everyone" 帳號,設定(完全或讀取)如還是會出現要求帳號、密碼的視窗。請注意本機與伺服器帳號是否重覆且密碼不一樣。
二、於共用資料夾的安全性設定加入 "Everyone" 帳號,並設定為讀取
三、啟用該電腦上的Guest帳號
例如本機使用Administrator登入、伺服器Administrator也啟用但兩者密碼不一樣,
如有此情況,使用無重覆帳號登入即可。
一、於共用資料夾的共用→使用權限,加入 "Everyone" 帳號,設定(完全或讀取)如還是會出現要求帳號、密碼的視窗。請注意本機與伺服器帳號是否重覆且密碼不一樣。
二、於共用資料夾的安全性設定加入 "Everyone" 帳號,並設定為讀取
三、啟用該電腦上的Guest帳號
修改C:\Windows\System32\drivers\etc\hosts
加入 IP 主機名稱
例如:192.168.1.11 HV1
1.以系統管理員身份開啟"命令提示字元"
2.執行:cscript //h:cscript
3.參考以下環境執行對應的指令
Configuration | Where | Purpose | Commands |
Client and Server both workgroup | Server | Create a local account (eg "john") | Use net user /? or Computer Management |
Server | Grant the user access | hvremote /add:accountname *** | |
Client | Allow Anonymous Logon remote DCOM access | hvremote /anondcom:grant | |
Client | Logon with matching local account. | ||
Client | If passwords do not match | cmdkey /add:servername /user:servername\account /pass | |
Both | Verify configuration for errors | hvremote /show /target:othercomputername | |
------------------------- | |||
Client workgroup, Server domain | Server | Grant domain account access | hvremote /add:domain\account *** |
Client | Allow Anonymous Logon remote DCOM access | hvremote /anondcom:grant | |
Client | Set credentials for domain account | cmdkey /add:servername /user:domain\account /pass | |
Both | Verify configuration for errors | hvremote /show /target:othercomputername | |
------------------------- | |||
Client domain, Server workgroup | Server | Create a local account (eg "john") | Use net user /? or Computer Management |
Server | Grant the user access | hvremote /add:accountname *** | |
Client | Allow Anonymous Logon remote DCOM access | hvremote /anondcom:grant | |
Client | Set credentials for local account | cmdkey /add:servername /user:servername\accountname /pass | |
Both | Verify configuration for errors | hvremote /show /target:othercomputername | |
------------------------- | |||
Client and Server both domain | Server | Grant the non-admin user access | hvremote /add:domain\account *** |
Both | Verify configuration for errors | hvremote /show /target:othercomputername |
xcopy X:\TEMP \\192.168.99.100\D$\TEMP\ /X /H /E /O /K
/E - 複製資料夾及子資料夾,就算是空的也照抄
/H - 複製隱藏檔案及系統檔案
/K - 複製後保留唯讀屬性(預設Xcopy後會重設唯讀屬性)
/O - 複製檔案擁有者及權限設定(ACL)
/X - 複製稽核設定(會一併啟用/O)