Hidden Shares in Windows XP? Good for networking ppls

Wxp by default shares all the drives of your computer, but this shares are hidden. Anyone who knows that could gain access to your disk and files in the network, there are many ways to avoid that:
- using a prog. like "tune up" or "tweak xp" wich will do all the work for u.
- write a .bat who will delete the shares each time u start.
- edit the register.

- The first way is the simplest one but some ppl doesnt love to have the system modified by some appl. not knowing the how or the where, or how to go back.

-Second is writing a small script:
Use the following steps to automatically remove the administrative shares
every time that you log on:

Code:
1. Open Notepad.exe
2. Enter the following lines:


Code:
@echo off
net share C$ /delete
net share admin$ /delete
3. Save the new document as delete.bat.
4. Paste the new batch file in your Startup folder in the Start menu.Every time you reboot the machine, the shares will be deleted.

The big minus of this metod is the delay of 2, 3 sec, introduced in the start of your
computer.


-the third way is modifing the register:

You may want to disable the default hidden shares without having to
run a script every time you log on. By adding the following REG_DWORD
values to the Registry, Windows XP will not create the default hidden
shares:

Code:
KEY_LOCAL_MACHINE\System\CurrentControlSet\Service s\LanmanServer
\Parameters\AutoShareServer
and:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\
LanmanServer\Parameters\AutoShareWksMake sure that you have a good backup up of your
Registry before you manually change it with a Registry Editor such as
Regedt32 or Regedit.

I've used the second and now finally the third one.


Note!


Code:
How do you monitor all the shares on your machine? You can monitor shares
in a variety of ways.The easiest method is to view them within the Computer
Management console.
Open Computer Management and expand System Tools, then Shared folders, and then the Shares subfolder.
Click the Shares folder .You will now see all of the shares that are currently available on your machine.

A dollar sign indicates a hidden share. But why are they there? : This allows
Administrators to easily perform remote administration of a system.

0 comments:

Post a Comment