Set Default domain login for FTP access on Server

Modify the DefaultLogonDomain in the IIS Metabase

Run the Adsutil tool at the command prompt by using the following syntax, depending on whether you want to set the DefaultLogonDomain domain for all FTP sites, for only the default FTP site, or for any other site:
To set the DefaultLogonDomain domain for all FTP sites, run the following command:
adsutil set msftpsvc/DefaultLogonDomain “DomainName”

To set the DefaultLogonDomain domain for only the default FTP site, run the following command:
adsutil set msftpsvc/1/DefaultLogonDomain “DomainName”
Note This command uses the Adsutil tool. If this command fails, you can use the following command instead:
mdutil.exe set /msftpsvc/1/DefaultLogonDomain “DomainName”
This command uses the Mdutil tool from the Windows NT Option Pack CD.
To set the DefaultLogonDomain domain for any other site, run the same command that you run for the default FTP site, but change the 1 parameter to the appropriate service number.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s