In the past I setup a network share for a local folder by
right-clicking on that folder in WinExp
click "Properties"
click "Sharing" tab
click "Advanced Sharing"
activate checkbox "Share this folder"
assigning my user account to the list of permissions
removing "Everyone" access.
This works...
advanced sharing
command line
file explorer
file sharing
folder permissions
folder properties
network sharing
remove sharing
unsharefolder
user account
windows 10
windows 11