How can I modify share permissions from the command line?

John Savill

March 4, 1999

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

A. The Windows NT resource kit ships with a utilitycalled RMTSHARE.EXE that is used to modify permissions on shares. Thesyntax to grant access to a share is as follows:

rmtshare \ /grant :,e.g.
rmtshare \bugsbunnymovies /grant savillj:f

Valid permissions are f for full, r for read, c for change and n fornone. To revoke access to a share type

rmtshare \ /grant ,e.g.
rmtshare \bugsbunnymovies /grant savillj

This would remove savillj's access to the share. To view sharepermissions enter:

rmtshare \ /users, e.g.
rmtshare \bugsbunnymovies /grant

RMTSHARE.EXE also allows the creation and deletion of shares. Typermtshare /? for help.

About the Author

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