Apr 19, 2008

Batch Commands to Disable Special Shared Resources

By default all your folders are accessible from other computers in your network. If you want to simply disable this feature, you can execute the batch commands below. After the "Server" windows service is restarted these folders are shared again.

net share "C$" /delete
net share "ADMIN$" /delete

0 comments: