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?