Serveur de fichiers - Episode 1 - Créer son premier partage sous Windows Server

3 min read 1 hour ago
Published on Sep 20, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial will guide you through the process of creating your first file share on Windows Server 2022. By the end of this guide, you'll understand how to set up an SMB (Server Message Block) share, which is essential for sharing files and managing data in a network environment.

Step 1: Prepare Your Server

Before creating a file share, ensure your Windows Server is ready for configuration.

  • Install Windows Server 2022: Make sure you have Windows Server 2022 installed and running.
  • Network Configuration: Ensure your server is connected to the network and has a static IP address assigned for stability.
  • Administrator Access: Log in to your server with an account that has administrative privileges.

Step 2: Create a Shared Folder

Follow these steps to create a folder that will be shared over the network.

  1. Open File Explorer: Navigate to the location where you want to create the shared folder.

  2. Create a New Folder:

    • Right-click in the desired directory.
    • Select New, then click on Folder.
    • Name the folder appropriately (e.g., "SharedFiles").
  3. Set Sharing Permissions:

    • Right-click on the newly created folder.
    • Select Properties.
    • Go to the Sharing tab.
    • Click on Advanced Sharing.
  4. Configure Sharing:

    • Check the box that says Share this folder.
    • Click on Permissions to set user access levels.
  5. Assign Permissions:

    • In the Permissions window, add users or groups.
    • Set their permissions (Read, Change, Full Control) based on your requirements.
    • Click OK to apply the changes.

Step 3: Configure Security Settings

Next, configure security settings to protect your shared folder.

  1. Go to the Security Tab:

    • In the folder properties, switch to the Security tab.
  2. Adjust Security Permissions:

    • Click on Edit to change permissions.
    • Add users or groups if necessary and set their respective permissions (Full Control, Modify, Read & Execute, etc.).
    • Click OK to save changes.

Step 4: Access the Shared Folder

Now that the share is created, access it from another computer on the same network.

  1. Open File Explorer on a client computer.

  2. Connect to the Shared Folder:

    • In the address bar, type \\[ServerIPAddress]\[SharedFolderName] (e.g., \\192.168.1.10\SharedFiles).
    • Press Enter.
  3. Authenticate if Necessary: You may need to enter credentials for access based on the permissions set earlier.

Conclusion

You have successfully created your first file share on Windows Server 2022. This share can now be accessed by users on your network according to the permissions you configured. As you continue to explore Windows Server, consider learning more about advanced sharing options, backup strategies, and user management to enhance your server's functionality. For further learning, check out resources on SMB protocol and file server management.