A side-by-side migration is possible and is the preferred option: create an equivalent FTP site on Windows Server 2022, copy its content and permissions, test it independently, and then redirect clients without modifying the Windows Server 2008 installation.
The screenshot confirms that IN is an IIS FTP-enabled site using the IIS 7-era FTP service. IIS stores these FTP settings in ApplicationHost.config; IIS 10 retains the same <ftpServer> configuration model.^1^
1. Inventory and back up the existing server
Do not rely only on the folders displayed under IN; those may be virtual directories pointing to different physical locations.
- In IIS Manager → Sites → IN, record:
- Basic Settings: physical path.
- Bindings: IP address, port, and virtual host name.
- View Virtual Directories: alias and physical path for each entry.
- FTP Authentication.
- FTP Authorization Rules.
- FTP SSL Settings and certificate identity.
- FTP User Isolation.
- FTP Firewall Support.
- FTP IP Address and Domain Restrictions.
- FTP Request Filtering and FTP Logging.
- Identify whether users authenticate with:
- Domain accounts;
- Local Windows accounts;
- IIS Manager/custom authentication;
- Anonymous access.
- From an elevated command prompt, back up the IIS configuration:
cd /d %windir%\system32\inetsrv
appcmd add backup BeforeFtpMigration
appcmd list backup
appcmd list site "IN" /config /xml > C:\Temp\IN-site.xml
appcmd list config "IN/" > C:\Temp\IN-effective-config.xml
AppCmd supports backing up IIS configuration and inspecting its effective XML configuration.^2^^3^
Keep these exports as documentation and rollback material. Avoid replacing the Windows Server 2022 ApplicationHost.config wholesale with the old server’s file; recreate only the required site configuration.
2. Prepare Windows Server 2022
- Open Server Manager → Manage → Add Roles and Features.
- Select Web Server (IIS) → FTP Server → FTP Service.
- Also select FTP Extensibility only if the inventory shows IIS Manager, ASP.NET Membership, or another extensible authentication provider.
- Create the destination content folders and virtual-directory folders.
- If FTPS is currently used, import the server certificate, including its private key, into the new server:
- IIS Manager → server node → Server Certificates → Import.
- Select the
.pfxfile and enter its password.^4^
Protect the PFX carefully because it contains the certificate’s private key.
3. Copy the FTP content and NTFS permissions
Run Robocopy from an elevated prompt using an account with administrative access to both servers:
robocopy "\\OLD-SERVER\D$\FtpRoot" "D:\FtpRoot" ^
/E /B /COPYALL /DCOPY:DAT /R:3 /W:5 ^
/MT:32 /TEE /LOG:C:\Temp\FtpMigration.log
/COPYALL preserves data, attributes, timestamps, NTFS ACLs, owner, and auditing information; /E includes empty directories.^5^
Repeat this for every physical path identified under View Virtual Directories.
If the ACLs reference local accounts from the old server, copying the ACL does not recreate those accounts on the new server. Prefer domain users/groups, or recreate the required access using new-server accounts and update both NTFS permissions and FTP authorization rules.
4. Recreate the FTP site
In IIS Manager on Windows Server 2022:
- Right-click Sites → Add FTP Site.
- Enter the site name and copied physical root.
- Reproduce the binding:
- IP address;
- FTP port, normally 21;
- Virtual host name, if used.
- Configure SSL to match the existing client requirement:
- Prefer Require SSL when all clients support FTPS.
- Select the imported certificate.
- Reproduce authentication and authorization:
- Basic for Windows credentials;
- Only the required users or groups;
- Read and/or Write as documented.
- Add each virtual directory with the same alias and corresponding destination path.
- Reproduce user isolation, request filtering, IP restrictions, logging, and other recorded settings.
IIS provides these binding, SSL, authentication, authorization, and permission options through the Add FTP Site wizard.^6^
If FTP and HTTP do not need to share IN, create a dedicated FTP-only site. Microsoft notes that changing FTP settings on a combined HTTP/FTP site can recycle the associated website application.
5. Configure networking and test before cutover
If clients use passive FTP:
- Open IIS Manager → server node → FTP Firewall Support.
- Configure a defined Data Channel Port Range.
- Enter the external firewall address when the server is behind NAT.
- Open/forward the FTP control port and exactly the same passive port range through Windows Firewall and the perimeter firewall.^6^
Test using a temporary IP address or DNS name:
- Login for every authentication type.
- Directory visibility and user isolation.
- Upload, download, rename, and delete operations as applicable.
- Every virtual directory.
- FTPS certificate trust.
- Passive transfers from outside the server network.
- FTP and Windows event logs.
For cutover, stop uploads briefly, run a final Robocopy delta, change DNS/NAT to the new server, and monitor logs. Keep the old FTP service stopped but recoverable until validation is complete; do not decommission it immediately.
References