SQl server Stop Service

  • Hi,

    I have made this Bat file to close SQL Server services and then shutdown the windows:

    Net stop SQLAGENT$PR2005

    Net stop MSSQL$PR2005

    shutdown -s -f -t 0

    The bach file closes the two services of SQL Server but it does not shut down the windows, does any body know why?

    Thnak you

  • Does "shutdown -s -f -t 00" work?

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply