You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
net share
About this tag
The net share command is a Windows command-line tool used to manage shared folders. Discussions on WindowsForum cover using net share to create shares with specific user permissions via the /GRANT parameter, such as granting full access to a user. Users also explore how to list all existing shares and remove permissions, like revoking access for the Everyone group. The command is compared to cacls, with net share focusing on folder-level sharing permissions while cacls handles file and folder NTFS permissions. Additionally, users ask about accessing shared folders remotely with net use over VPN and IPv6, including which ports are used and whether IPv6 addresses work with the command.
In the past I mount a remote shared folder as drive W: in my local Windows Explorer with
a command similar to:
net use w: \\192.168.0.21\myshare /persistent:no
This works successfully on a IPv4 connection.
At first:
Which remote port does the "net share" command (implicitely) connect to on...
To create a folder share and grant full permissions to user karl I can write on cmdline:
net share "myshare123"="D:\tool" /GRANT:karl,FULL
ok, it works.
But what about the other way:
Is there a way to generate all the full "net share" commands for ALL currently existing folder shares?
I...
I want to specify from command line that user "Karl" has Full access to local folder (and subfolders)
D:\proj\logs
Which command is recommended here:
cacls or "net share"
What is the difference?
Is "net share" for folders the same as "cacls" for files?
Peter
access control
admin tools
cacls
command line
file sharing
file system
local files
netshare
permissions
security settings
shared folders
subfolders
user management
user rights
windows commands
windows networking