Automatic Hidden Shares

Posted On 2007-06-20 by FortyPoundHead
Keywords: Automatic Hidden Shares
Tags: Networking Tip Software Hack/Tweak Windows NT Windows 2000 Windows XP
Views: 1717

When networking has been installed on a Windows NT machine, it will automatically create hidden shares to the local disk drives. The shares are normally accessed via \\server\c$ and \\server\d$ depending on the drive letter. It is possible to disable the sharing at run-time, but this tweak will stop the automatic sharing altogether.
Open your registry and find the key below.
Create a new DWORD value of either 'AutoShareWks' for NT Workstation or 'AutoShareServer' for NT server. Then set the value to equal '0' to disable automatic sharing. If the values already exist then modify them to change the value.
Restart Windows and the automatic shares should not be created.

Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters]
Value Name: AutoShareServer, AutoShareWks
Data Type: REG_DWORD
Data: (0=disable, 1=enable)

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links