Cannot access network drive in PowerShell running as administrator

前端 未结 7 1968
暗喜
暗喜 2020-12-07 13:23

I\'m running PowerShell in a Windows 7 x64 virtual machine. I have a shared folder on the host mapped as a network drive (Z:). When I run PS normally I can access that drive

7条回答
  •  我在风中等你
    2020-12-07 13:44

    In my case, I was able to simply use the UNC path instead of the drive mapping and it worked fine.

    So, per your example, instead of using the mapped drive Z:\, I just used "\\vmware-host\Shared Folder" as the path.

提交回复
热议问题