This is an easy setting to fix, but it’s a little tough to locate without some assistance.
First, you’ll need to open Control Panel.
In this screen, click “Change advanced power options”.
Now you’ll need to browse down to Multimedia controls \ When sharing media.
Change both of the options to “Allow the computer to sleep”.
The menu item for Sleep should be back to normal.
Thanks for the grin =)