Re: SQLSAC command line parameters?



>I would like to disable named pipes & tcp/ip in sql 2005 in an automated
> fashion (either through sqlsac.exe, programatically, or some other silent
> fashion).

The command-line utility is SAC.EXE. You might try the 'in' or 'out'
positional parameter to import/export SAC settings. I haven't tried it
myself but it looks like that should address your requirements. The
parameters are described in the Books Online.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"John Waters" <JohnWaters@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:79C62799-EFAC-4B88-A8DB-6BF392D249F2@xxxxxxxxxxxxxxxx
>I would like to disable named pipes & tcp/ip in sql 2005 in an automated
> fashion (either through sqlsac.exe, programatically, or some other silent
> fashion).
>
> It appears that the SQL Surface Area Configuration tool accepts some
> command
> line parameters; for example, if i run SQLSAC.exe ServerA, it will prompt
> me
> to configure the surface area for ServerA, instead of the local machine.
> I
> imagine that there are others, although I have not been able to find these
> in
> books online.
>
> In SQL 2000, I was able to do disable protocols by writing a null value to
> HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNetLib ;
> however,
> if I do this in SQL 2005, I can no longer connect via SQLOLEDB until i
> recycle SQL & it re-writes the regkey.
>
> Any thoughts or suggestions would be appreciated.


.



Relevant Pages

  • Re: Berkeley DB or Store equivalent?
    ... of arrays? ... In SQL, you use joins to manipulate data in this fashion. ...
    (comp.lang.ruby)
  • Cannot find Snapshot - SQL 2005
    ... Running Win 2003 & SQL 2005 on both machines. ... I created a publication on serverA. ... I changed to the location of the snapshot in the subscription ... initialized & receiving transactions from the publisher. ...
    (microsoft.public.sqlserver.replication)
  • Re: SQL-Express in einer Arbeitsgruppe
    ... Ich bekomme aber den SQL Server-Browser ... "Surface Area Configuration for Services and Connections" war der Dienst ...
    (microsoft.public.de.sqlserver)
  • Re: Database Diagram
    ... Those steps mentioned in the old post will work for SQL 2000 as well. ... Please delete the contents of destination before running the DTS. ... > I am using SQL Server 2000 in both ServerA and ServerB. ... I backup database from ServerA to ServerB but the disgram is ...
    (microsoft.public.sqlserver.server)
  • Re: Database Diagram
    ... I am using SQL Server 2000 in both ServerA and ServerB. ... I backup database from ServerA to ServerB but the disgram is ... but when I update the diagram in ServerB and transfer back to ...
    (microsoft.public.sqlserver.server)