Remotely accessing MS Hyper-V 2012 Disk Partitions

Hi,

I've installed Microsoft Hyper-V 2012 on a Physical Server, the Server is up and running and I can manage the Server and Hyper-V from the Server Manager on my other Full Version of Server 2012 running on another Physical Server.

Question:

I now have a 1.5 TB ReFS Partition setup as the d: drive on the Hyper-V 2012 Server and I want to move existing .VHD Files from another 2008 R2 Server that is running Hyper-V (so effectively I want to move my virtual Servers from the old 2008 R2 Server to the new Hyper-V 2012 Server).

How do I access the 1.5. partition from my 2008 R2 server?

They are both on our AD Domain, I can Remote Desktop to the Hyper-V 2012 Server, I can remotely manage it from my other 2012 Full version Server, but for the heck if me I cannot "browse" to it's c: drive or d: drive from any of the Servers (start -> run \\<server-ip> simply tells me it cannot access the Server) - there must be a trick to this and I've GOOGLE'd it and cannot find the answer :)

Thanks for advice.

Regards,
Reinhard
ReinhardRensburgAsked:
Who is Participating?
 
Pradeep DubeyConnect With a Mentor ConsultantCommented:
Okay, run below command on the 2012 server

dism /online /enable-feature /featurename=FileServices

and

netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes


It will allow sharing.
0
 
Pradeep DubeyConsultantCommented:
Seems you are getting this error because of ReFS. Try accessing 2k8 R2 from the 2k12 server and copy files.
0
 
ReinhardRensburgAuthor Commented:
The c: drive on the Hyper-V 2012 Server is normal NTFS, but as mentioned, if one goes "Start -> Run -> \\<hyper-v 2012 server ip> it comes back with an error that it cannot access it at all (almost like file and print sharing is not support or not enabled or blocked on the hyper-v 2012 Server).

Yes, I can go onto the Hyper-V 2012 Server's Desktop (that's only got a command prompt and sconfig - basically very limited GUI) and battle my way through it from there to map a drive back to server 2008 r2 etc... but there must be an easier way, I am sure one can enable what ever needs to be enabled on the Hyper-V 2012 Server in order to access it's c: drive and d: drive nativly from any other Server.

I do also have other 2012 Servers (full O/S with GUI) and from there I am 100% sure access the ReFS partition will also not be a problem at all, just need to know how to access the file system from other Servers.

Thanks,
Reinhard
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
ReinhardRensburgAuthor Commented:
Hi pradeep08_81,

Not one of those two commands wanted to work on the Hyper-V 2012 Server, I had to run the commands from elevated command prompt (and not PowerShell right)?

Command 1:


C:\>dism /online /enable-feature /featurename=FileServices

Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Image Version: 6.2.9200.16384


Error: 0x800f080c

Feature name FileServices is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and tr
y the command again.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>

and Command 2:


C:\>netsh advfirewall firewall set rule group="File and Printer Sharing" new ena
ble=Yes

Group cannot be specified with other identification conditions.


C:\>
0
 
ReinhardRensburgAuthor Commented:
It seems like the first one should have been the "File Server" Role that is a "child" of "File and iSCSI Services" which falls under the "File And Storage Services" Role. I remotely added this with the Server Manager GUI on my other 2012 Server.


Then the 2nd command to add the exception to the firewall is:

C:\>netsh advfirewall firewall set rule group="File and Printer Sharing" new ena
ble=Yes


Updated 34 rule(s).
Ok.

-----------------------------


I tested it after doing the above and it worked fine, so thanks for putting me on the right track pradeep08_81.
0
 
ReinhardRensburgAuthor Commented:
Sorry, just to summarise:

I think there was only one mistake in the initial answer,

dism /online /enable-feature /featurename=FileServices (should be =FileServer I guess)

and

netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes (100% correct)
0
 
Pradeep DubeyConsultantCommented:
the first command was to add file and sharing feature in 2012 (you have to run in powershell I forgot to write this) you manage to do it from the management console good.

Please accept the answer also. :-)

Thank you!
0
All Courses

From novice to tech pro — start learning today.