Hi!
Did you replace the SSD yourself or did you take it to a Service Center? Was any maintenance performed besides the SSD replacement?
Was a clean install done on the new SSD or was the old system cloned?
It's possible that some third-party program or driver is causing the problem when trying to shut down the computer, since the system works normally during use. Try a Clean Boot and Safe Mode and see if the problem persists.
Clean Boot
- Press CTRL + R > Type ''msconfig'' (without quotes) > Click on the ''Services'' tab.
- Check the ''Hide all Microsoft services'' option > Click on ''Disable All'' > ''OK''.
- Press CTRL + SHIFT + ESC to open the Task Manager > Click on the "Startup" tab > Disable all programs (Right-click on the program > Disable).
- Restart the computer > See if the problem reappears.
- If the problem is resolved, it means that a third-party program or service is causing the problem.
NOTE: This procedure is not a solution, just a test. It disables all third-party services and programs. If the problem is solved later, enable the programs and services that will start with Windows again.
- Remember, some programs and services may not work properly.
Safe Mode
- Press the CTRL + R shortcut > Type ''msconfig'' (without quotes) > Click on the ''System Boot'' tab > Check the ''Safe Boot'' option > Click ''OK''.
- Restart the computer.
To exit Safe Mode, access msconfig again (Step 01) > In “General”, check the “Normal Startup” option > Apply > Restart the PC.