What is the equivalent to rmtshare.exe in supported Windows Server builds?

Mowbray, James 20 Reputation points
2024-11-07T16:02:45.0533333+00:00

I have an EOL Windows Server that is used for shared drive management.

The solution uses rmtshare.exe, which was part of the NT 4.0 Resource Kit.

Yes, it's that old.

I'd like to achieve the same outcome using contemporary, supported tools/utilities.

Is there an equivalent on rmtshare in the more recent/current Windows Server builds?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-11-11T07:30:53.8333333+00:00

    Hello Mowbray, James,

    Thank you for posting in Q&A forum.

    In more recent Windows Server builds, the equivalent to rmtshare.exe is the New-SmbShare cmdlet in PowerShell.

    Example 1: Create an SMB share

    PowerShellCopy

    $Parameters = @{

        Name = 'Public'

        Path = 'D:\Public'

        FullAccess = 'Contoso\Administrator', 'Contoso\Contoso-HV1$'

    }

    New-SmbShare @Parameters

    This command creates an SMB share named VMSFiles and grants Full Access permissions to Contoso\Administrator, and Contoso\Contoso-HV1$.

    Reference:

    New-SmbShare (SmbShare) | Microsoft Learn

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.