Using SPFServerManager.exe with the /disableiwa argument allows you to disable Integrated Windows Authentication (IWA) as the authentication method. You must provide additional information using several arguments as listed below.
/sn: - names the site for which IWA is to be disabled (required).
/keepexistingsetting: - [True/False] – If set to True, sets the domain user as application pool identity (optional).
/setlocaluser: - [True/False] – If set to True, sets the application pool identity to the local user when disabling IWA (optional).
/u: - identifies the user name of the local user required if /setlocaluser is set to True.
/p: - identifies the local user password required if /setlocaluser is set to True.
The following example disables IWA and sets the application pool identity back to default Server Manager user settings:
SPFServermanager.exe /disableiwa /sn:TestSite
The following example disables IWA and sets the domain user as the application pool identity:
SPFServermanager.exe /disableiwa /sn:TestSite /keepexistingsetting:True
The following example disables IWA and sets the application pool identity to the local user:
SPFServermanager.exe /disableiwa /sn:TestSite /setlocaluser:True /u:TestUser /p:TestPwd