Jump to content

Recommended Posts

Posted

Hi! :) to everyone here specially to the administrators....

open notepad

@echo off

net share c$ /delete

exit

save it name.bat

open gpedit.msc

look for startup script

and add to it....

a short summary

tnx!!!


Posted

A better way to do it is via the registry.

And that way it becomes a one-time task too, no need to run it repeatedly. In one shot, all administrative shares get eliminated.

Look in the registry tweaks thread for this tweak....

Posted

Add these lines respectively.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]

"AutoShareServer"=dword:00000000

"AutoShareWks"=dword:00000000

or just delete your drive share under compmgmt.msc if you do not want to disable your default admin shares.

Posted

okay, i typed \\GUI\F$ (respective PC name and share name) and a pass and user box popped up. Filled it in but i got an error saying that I did not have permission... !!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...