The NET SHARE command in Windows Server 2003 adds the grant of share permissions.

Jerold Schulman

September 7, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Prior to Windows Server 2003, when you opened a CMD.EXE window and typed net share /?, you would receive:

NET SHAREsharename          sharename=drive:path [/USERS:number | /UNLIMITED]                               [/REMARK:"text"]                               [/CACHE:Manual | Documents| Programs | None ]          sharename [/USERS:number | /UNLIMITED]                    [/REMARK:"text"]                    [/CACHE:Manual | Documents | Programs | None]          {sharename | devicename | drive:path} /DELETE

When I typed net share /? in a CMD.EXE window on my Windows Server 2003, I received:

NET SHARE sharename          sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]                               [/USERS:number | /UNLIMITED]                               [/REMARK:"text"]                               [/CACHE:Manual | Documents| Programs | None ]          sharename [/USERS:number | /UNLIMITED]                    [/REMARK:"text"]                    [/CACHE:Manual | Documents | Programs | None]          {sharename | devicename | drive:path} /DELETE

allowing you to assign permissions to multiple user and groups without reverting to other tools, like RMTShare.exe or SubInACL.exe.


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like