Monday, June 25, 2012

AutoShare Disable on Windows

Disable Auto Share For Workstations (Windows7)

 Click Start—>Run type regedit click ok

 Open the HKEY_LOCAL_MACHINE branch.

 Open the SYSTEM branch.

 Open the CurrentControlSet branch.

 Open the Services branch.

 Open the LanmanServer branch.

 Select the Parameters branch.

Select Edit, New, DWORD (32-bit) Value. Vista & Windows 7 adds a new value to the Parameters key (If you have the key just check for correct value).

Type AutoShareWks and press Enter. (You can leave this setting with its default value of 0.)

Restart Windows to put the new setting into effect.


NOTE
This action does not disable the IPC$ share. Although this share is not used to access files directly, ensure that anonymous access to this share is disabled. Alternatively, you can remove the IPC$ share completely by deleting it at start-up by using the following command:

net share IPC$ /delete

Use this method to remove the C$ and D$ shares also.

No comments:

Post a Comment