I tried shutting my desktop PC (with Windows7) down but after several attempts (like 4 or 5) at Start --> Shut Down, the GUI was still there and it was not shutting down. I didn't think there were any programs running when I pressed Shut Down, so I went into the taskbar (Ctrl + Alt + Del) to check out the processes. Once I did that, a screen appeared with a message stating that there are "background programs" still running and it gave me an option to "Force Shut Down" which I pressed and it shut down normally. Does anyone know why this would happen?
I think your system will be on net and some times some programs have automatically updated through net. If program update is in working then its take more time to shut down the system. There may another reason that some files for shutdown process may be corrupted. In this case you can repair your system by using OS bootable CD or DVD.
You can disable : “clear page file on shutdown” option.
Cleaning the page-file on every shutdown means overwriting the data by zeros, and it takes time.
To clear/not clear page file you can apply this reg tweak. Back up registry before trying this. Start > Run > Regedit
Modify (if not present, right click in open space and create) the Value Data Type/s and Value Name/s :
Setting for Value Data: [0 = Clear Page File Disabled / 1 = Clear Page File Enabled]
Also open regedit and goto.
Change the value from 20,000 to some thing like 5000 and shutdown will be a lot faster.