EXEC sp_configure 'show advanced options', 1
RECONFIGURE

/*
filestream access level:
0 Disables FILESTREAM support for this instance.
1 Enables FILESTREAM for Transact-SQL access.
2 Enables FILESTREAM for Transact-SQL and Win32 streaming access.
*/

EXEC sp_configure 'filestream access level', 1
RECONFIGURE