Enabling ADMIN$ Share Access on Windows 2008 VMs
To enable the admin$ share on a Windows 2008 VM, do the following:
Open the Windows Explorer on the virtual machine, browse for the corresponding Windows directory in the C drive, right-click on it, and select the Share option from the shortcut menu.
Figure 1 : Selecting the Share option from the shortcut menu
Select the Share this folder check box in Figure 3 that appears, enter admin$ against Share name, and click on the Permissions button in Figure 3, to allow only a local/domain administrator to access the folder.
When Figure 4 appears, click on the Add button therein.
To allow a domain administrator to access the folder, first, ensure that a valid domain is specified in the From this location box of Figure 5. If you want to grant access to a local administrator instead, ensure that the name of the local host is displayed in the From this location box. To change this specification, use the Locations button in Figure 5. Then, enter the name of the local/domain administrator in the Enter the object names to select text area, and click the ok button.
The newly added user will be listed in the Group or user names section, as depicted by Figure 6. Select this user, and then, check all the three check boxes under Allow in the Permissions for <user> section in Figure 6. Then, click the Apply and ok buttons therein.
When Figure 7 appears, click on the Apply and ok buttons therein to register the changes.
Alternatively, by adding a new entry in the Windows registry, you can quickly enable the admin$ share. The steps for the same are discussed hereunder:
- In Run prompt type regedit to open registry editor.
Browse through the following sub key:
Create a new entry with the below information
- Key Name : LocalAccountTokenFilterPolicy
- Key Type : DWORD (32-bit)
- Key Value : 1
- Exit registry editor.
As with any change to the registry, ensure that the above-mentioned change is also performed with utmost care, so as to avoid problems in the functioning of the operating system.