Cannot connect remotely to a shared folder inside a vhdx

hyper-v-server-2012-r2network-sharepermissionsvirtual-machineswindows-server-2012-r2

I am using Windows 10 to connect to a Windows Server 2012 R2 (VM) installed on a Hyper-V core host. The VM is set to share a second virtual disk where I allowed previously share and gave full control permission.

When I try to access a shared folder from the Windows 10 client, I receive a login window, enter my credentials, and windows seems to authenticate, but the password box is then cleared and not error is presented.

To try to understand what is happening, I tried to connect from the client machine using Remote Computer management, the connection first failed, then I disabled the firewall on both sides, then this time the connection succeeded but an error message appeared: "You have no permission to show the shares list of the Windows Clients".

On the VM, I went to the Network and sharing center -> Advanced sharing settings, checked "Turn on network discovery" and saved, but this action could not be taken, and the option was reinitialized to Off again.

I guess something in the Hyper-V core server inhibits the communication between the two machines.

For additional information: please note that this is a non domain configuration (only Workgroup), and the same administrator account credentials is set and used on the 3 machines.

Could somebody have an idea ?

Best Answer

You need to check two settings.

In the Windows 2012 R2 VM make sure that the share permissions AND the NTFS permissions allow the user you are logging in with to access the directory.

The second thing is that when you login you MUST include the name of the computer with the username. Here is what I mean by this.

Server ServerName

Client ClientName

So to login to the Server share from the Client the username is ServerName\administrator. If you just put administrator the Server will read the username as ClientName\administrator.

Related Topic