Technology Microsoft Software & solutions

How to Modify Security on Windows Share with CLI Commands

    • 1). Click the Windows "Start" button, type "cmd" into the search box and press "Enter." Right-click on the command line icon that appears and click "Run as Administrator." The command line window will appear.

    • 2). Type "net share SharedFolder=C:\Users\My_account\Shared /GRANT:User_Account,FULL" without quotes except: replace "SharedFolder" with the name that the share will display on the network, replace "C:\Users\My_account\Shared" with the full path of the directory to be shared and replace "User_Account,FULL " with the name of the user account to be granted permission along with the type of permissions granted such as "READ," "CHANGE" or "FULL".

    • 3). Press the "Enter" key to execute the command and save the settings. Repeat the command for each user to which you wish to grant access to the network share.

Leave a reply