Here is how to do so:
1. Open notepad and type shutdown -s -t 45
2. Save it as shutdown.bat
3. Right click on the file and click properties
4. Click on customize and change icon
5. Select the icon which resembles the shutdown sign
That's all