If you try to add any servers to Standard Environments in Visual Studio 2012 Lab Management you get a message that you need to enable file and printer sharing and you are unable to configure or communicate with those machines.
Figure: Unable to verify that machines are accessible
There are three main causes:
I know that the second two are not true so what to do now?
* this applies to all versions of Windows that you want to use with both Visual Studio 2012 and Visual Studio 2010 Lab Management features.
In order for Lab Management to successfully integrate with guest servers is used the file and print sharing ports of that machine. If they are not enabled or the ports are otherwise blocked then you will not otherwise be able to use those servers in environments. This
In both Windows 8 and Windows Server 2012 the File and Printer Sharing ports are blocked by default and you will need to open them up for this to work.
You need to open the ports required for File & Print Sharing. This is roughly the same for doing the same on Windows Server 2012 through the UI.
You need to open the ports required for File & Print Sharing.
1powershell
2netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes
Figure: Enable File and Printer Sharing via the command line
Figure: Make sure that you run this in PowerShell
After enabling the File and Printer Sharing firewall rules everything is now green.
Figure: We can now verify the Standard Environment
No related videos found.
If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.
We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.
CR2
Healthgrades
Akaditi
New Signature
Workday
Freadom
ALS Life Sciences
Brandes Investment Partners L.P.
Xceptor - Process and Data Automation
Boxit Document Solutions
Capita Secure Information Solutions Ltd
ProgramUtvikling
Hubtel Ghana
Milliman
Teleplan
YearUp.org
Philips
MacDonald Humfrey (Automation) Ltd.
Royal Air Force
New Hampshire Supreme Court
Washington Department of Enterprise Services
Nottingham County Council
Washington Department of Transport
Ghana Police Service
Akaditi
Lean SA
Bistech
Emerson Process Management
Milliman
Jack Links