It sounds like something is keeping the computer awake unexpectedly. Which peripheral devices do you have plugged directly in to your PC (or paired via Bluetooth)? It could be that one of these is causing the problem.
It may be worth setting the sleep timer to something like 1 minute and unplug all of the peripherals to see if that works as expected?
Thanks. I should have thought of that!!
I followed your suggestion and then used msconfig to set it for a boot using "diagnostic startup". The sleep mode then worked fine.
Then in msconfig I disabled all entries except the multitude of Microsoft entries. Then I tried sleep mode again and it did not work. So, there must be one of the Microsoft entries that is at fault but there are so many of them that it would be practically impossible to try removing them one at a time.
Do you have any more suggestions as to how to proceed now. I have already disabled a few related to remote desktop etc. to no avail.
Thanks,