Tuesday, October 21, 2014

Unable to access Admin Shares (e.g. D$, E$, F$, G$) remotely in Windows Server 2012

Problem : 
Not able to access windows Admin shares  (e.g. D$, E$, F$, G$) from remote location on Windows Server 2012 Virtual Machine hosted on VMware ESXi 5.1 Infrastructure.

Observations : 
You get access denied error (I dont have screenshot of it) when you try accessing the drive from remote location.

Even if you add permissions for required ID, it behaves in same manner.

In event Viewer, you will get the event as below :


It was the Virtual Machine created on VMware ESXi 5.1 Visualization platform

Solution : 

This behavior of windows is because of the Group policy applied on the server is restricting Removable storage access from remote location.

Solution can be either from Windows side(Editing Group Policy) or VMware side(Disable Hotplug / HotAdd).
I prefer VMware side solution as we done have to compromise on the security of Windows System.

Steps :

To disable HotPlug capability using the vSphere Client:
    - Connect to the ESXi/ESX host or vCenter Server using the vSphere Client.
    - Power off the virtual machine.
    - Right-click the virtual machine and click Edit Settings.
    - Click the Options tab.
    - Click General > Configuration Parameters > Add Row.
    - Insert a new row with the name devices.hotplug and a value of false.


    - Power on the virtual machine.
Reference : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012225

And you have done it!

Enjoy accessing your favorite drives from Remote locations!!!

Please feel free to comment.

No comments:

Post a Comment

Solved : The user profile failed to attach. The process cannot access the file becase it is being used by another process

Issue :  The user profile failed to attach. Please contact Support. Status : 0x0000000B, Message: Cannot open virtual disk Error Code: 0x000...