title: Automatically enable Named Pipes & TCP/IP protocols SQL Server 2008 R2
body: <p>We have a C# win Form app called "Installer" that <strong>silently</strong> installs various 3rd party software on client's system like IIS, SQL Server, AVG-Free; along with our own product. I need to automatically enable Named Pipes &amp; TCP/IP protocols which also require a restart of SQL Server (SQLEXPRESS) Service using a batch file; OR C# win Form app; OR while installing SQL Server through command line by providing appropriate switches.<br>
  I have searched but this is very unique requirement.</p>