Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem remote zapnutie admin share

Ano existuje jednodušší způsob (zkopírováno z Expert Exchange)

On the Domain Controller open and edit with notepad

%SystemRoot%\inf\sceregvl.inf

Add the following value to this section

[Register Registry Values]
MACHINE\System\CurrentControlSet\Services\ LanManServer\Parameters\AutoShareServer,4,%AutoShar eServer%,0

and

[Strings]
AutoShareServer = Prevent Administrative Shares from being created

After you have modified the Sceregvl.inf file to include your custom registry settings, the changes need to be registered by running the following command:

C:\>regsvr32 scecli.dll

to register the new policy.

Now open the Group Policy Editor for the policy you want to add the setting to.

Start Menu>Settings>Control Panel>Administrative Tools>Active Directory Users and Computers MMC,

Right-click the domain and choose Properties,

Choose the Group Policy tab,

Select the policy you want to work with,

Press the Edit button,

Group Policy Editor opens.

Expand the tree

Computer Configuration>Windows Settings>Security Settings>Local Policies>Security Options

In the policy list in the right pane look for "Prevent Administrative Shares from being created"

(this is the setting we created in sceregvl.inf)

Double-click to bring up its properties,

Tick "Define this policy setting"

Select "Enabled"

Press OK

Close Group Policy Editor.

To force the policy out immediately from the Domain Controller

C:\>secedit /refreshpolicy machine_policy /enforce

On an XP workstation

C:\>gpudate

Check your client's registry at

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Se rvices\LanManServer\Parameters\autoshareserver

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny