Claus Tersgov wrote:
> Hej alle
>
> Windows 2000 Pro med Tweak UI
>
> Hver gang jeg starter maskinen op, så er mine harddiske sat til deling. Selv
> om jeg slår deling fra, så er deling af alle diskene sat til, næste gang jeg
> booter op.
>
> Hvordan søren går det til og hvordan forhindre man det?
http://support.microsoft.com/?kbid=318751
Remove Administrative Shares by Using Registry Editor
WARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system.
Microsoft cannot guarantee that you can solve problems that result from
using Registry Editor incorrectly. Use Registry Editor at your own risk.
You can remove automatic creation of the administrative shares by using
Registry Editor. By using this method, you must make sure that the Group
Policy does not restore this entry after you set it. For more
information, see the "Remove Administrative Shares by Using Poledit"
section of this article.
To remove automatic creation of the administrative shares by using
Registry Editor:
1. Start Registry Editor (Regedt32.exe).
2. Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
3. Change the value of the AutoShareServer key to zero (0).
NOTE: A setting of zero (0) prevents the administrative shares,
such as C$, D$, and Admin$ from being created automatically.
4. Quit Registry Editor.
NOTE: If the AutoShareServer key does not exist, create the
AutoShareServer key by using the following steps:
1. Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
2. On the Edit menu, click Add Value.
3. Type AutoShareServer, click REG_DWORD, and then click OK.
4. Type 0, and then click OK.
5. Quit Registry Editor, and then restart the computer.
You can easily complete this process through a policy. For more
information, see the "Remove Administrative Shares by Using Poledit"
section of this article.