Hi Jonathan,
You can create a virtual directory in Windows Server 2022 through IIS Manager. First, ensure the Web Server (IIS) role is installed. Then open IIS Manager, expand Sites, right-click Default Web Site, and select Add Virtual Directory.
Enter the desired alias and the UNC path to the shared folder (for example, \\ServerName\Sales). If the folder is on another server, configure the appropriate account under Connect as and ensure it has both share and NTFS permissions. Finally, use Test Settings to verify access.
Here is the reference to Microsoft's documentation for detailed guidance:
- Create a Virtual Directory in IIS – Microsoft Learn
- Install IIS on Windows Server 2022 – Microsoft Learn
- Configure a Virtual Directory on a Remote Folder – Microsoft Learn
If this information was helpful, please click Accept Answer.
Thank you for choosing Microsoft Q&A.