Configure and access shared directories


foreword

Configure and access shared directories


1. Overview of Windows Sharing

  • Microsoft's network file/printer service system
  • The resources of one host can be released to other hosts for sharing
  • Advantages of shared access
    1) Convenient and fast
    2) Compared with CD/U disk, it is not subject to file size restrictions
    3) Access control can be realized

2. Configure and access shared folders

1. Configure shared folder

Right click on the folder→Share→Add User→Assign Permissions
insert image description here

  • Map network shared resources to network drives (drive letters) to simplify access steps, often used in multi-frequency access scenarios
  • Map network drive
    1) Right click on "Computer" or "Network"
    2) net use X: \server address\share name
  • Disconnect network drive
    1) right click on network drive
    2) disconnect
    insert image description here

2. Access shared folders

  • Quickly access resources in the network through UNC (Universal Naming Convention) universal naming rules
  • You can enter the UNC path in the following locations
    1) the address bar of the resource manager
    2) win+r, run bar
  • UNC path format
    1)\servername[sharename]
    2)\serverIP[sharename]
    insert image description here

Example: Create a folder share

  1. Win2016 shared server to create a shared folder
    Right-click D:\tools–Properties–Share–Share–click the button to select the shared user.
    insert image description here
  2. Client UNC path access share
    Start – run input \192.168.1.20\tools
    insert image description here
  3. The client host accesses the share by mapping the network drive
    Start – run – cmd to enter the command environment and enter net use h:\192.168.1.20\tools
    insert image description here
  4. The client host accesses the share by mapping the network drive.
    The client host opens the resource manager and checks the added h: drive
    insert image description here

Summarize

  • Publish the shared directory
    Right click on the folder→Share→Add User→Assign Permissions
  • Access shared directory
    1) via UNC path
    2) via mapped network drive
    3) browse via Network tool

Guess you like

Origin blog.csdn.net/qq_41439534/article/details/130735883