Fix FTP Error “530 User cannot log in, home directory inaccessible” in Windows Server

 

If you're using Windows Server and facing this error:

530 User cannot log in, home directory inaccessible

across all FTP users and domains, this guide will help you resolve it based on a real-world case handled with the server team.

Step-by-Step Fix
 
Step 1: Ensure Server Hostname is ≤ 15 Characters
Windows (NetBIOS) has a 15-character limit for computer names. If exceeded, FTP authentication in IIS can fail. 

If longer than 15 characters:

  1. Go to: 
    Server Manager → Local Server → Computer Name
    
  2. Rename it to something 15 characters or less
  3. Restart the server

 

Step 2: Fix FTP Authentication User (ROOT CAUSE)

This was the actual breaking cause in most of the case.

  1. Open IIS Manager
  2. Go to:
    Sites → Your FTP Site (IP address)
    
  3. Click Basic Settings
  4. Click Connect As…
  5. Select:

Application user (pass-through authentication)

  1. Click OK → OK

Do NOT use a specific system user like ftpuser

Step 3: Verify FTP Root Directory

In Basic Settings, ensure:

Physical Path:
C:\inetpub\vhosts\Servers\7

Step 4: Remove Unnecessary FTP Sites

  1. Open IIS → Sites
  2. Remove or disable extra FTP sites such as:
    • FTP
    • FTPNew

Keep only the default Plesk FTP site

 

Step 5: Fix defaultLogonDomain (If Hostname Changed)

After renaming the server, IIS may still use the old hostname.

Update using command:

%windir%\system32\inetsrv\appcmd.exe set config -section:"system.applicationHost/sites" "/[name='YOUR_FTP_SITE_NAME'].ftpServer.security.authentication.basicAuthentication.defaultLogonDomain:YOUR_HOSTNAME"

Step 6: Restart FTP Service

Restart-Service ftpsvc

Step 7: Repair Plesk FTP & File System
 
plesk repair ftp -y
plesk repair fs -y

 

 

  • windows, Windows VPS, Windows VPS Hosting, Windows VPS Server
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

WINDOWS VPS

Need better speed, performace of you website then choose VPS instaed of shared hosting. In VPS...

How to Install Any Browser on Windows Servers

In this video, we will show you how to install any browser on Windows servers. By the end of...

How to change Date and Time in Windows Servers

This video tutorial will show you how to change the date and time in a Windows Server. By...

How to Install DNS and IIS in Windows servers

DNS is a service that helps your computer find the correct IP address when it connects to the...

How to create Database and allow a remote connection using SQL Management studio

In this video, we are going to cover how to create a database and connect to it using SQL...