Would you like to learn how to disable system shared folders using the command-line? In this tutorial, we are going to show you how to disable system shared folders on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10

Windows Playlist:

On this page, we offer quick access to a list of videos related to Windows installation.

Don't forget to subscribe to our youtube channel named FKIT.

Windows Tutorial:

On this page, we offer quick access to a list of Windows tutorials.

Tutorial Windows - Disable system shared folders

As an administrator, start an elevated command-line prompt.

Windows DOS Prompt

List the existing shared folders.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Disable the administrative shared folders using the command-line.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

List the existing shared folders.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

In our example, we disabled the following administrative shared folders.

Copy to Clipboard

To permanently disable the administrative shared folders, you need to create a registry entry.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Here is the entry created on the Windows registry.

Windows - Disable administrative shares

Reboot the computer and verify the list of shares available.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

This does not apply to the IPC share.

The IPC share is fundamental to the System and cannot be permanently removed.

Congratulations! You are able to disable administrative shared folders using the command-line.