By default, Windows 7 owners cannot remove the "Sleep" option from the shutdown menu. You won't find this ability listed under the Control Panel or anyone else for that matter. But you can explore a viable solution that requires you add a new key to the Windows Registry. To do this, you will need to access the built-in Registry Editor program. Adding new keys to the Registry is an advanced technical skill. Perform this task only if you feel comfortable with advanced editing of the Windows operating system.
Click the "Start" menu and type "regedit" into the search box. Hit the "Enter" key.
Go to the "HKEY_LOCAL_MACHINE" folder on the left pane and click the "Software" directory. From there, go to "Policies" and then "Microsoft."
Right-click the "Microsoft" listing, select "New" and then click "Key." Type the name as "Power."
Right-click the "Power" listing, select "New" and then click "Key" again. Type the name as "PowerSettings."
Right-click the "PowerSettings" folder, select "New" and click "Key." For the key's name, type or copy and paste this text exactly as it appears:
Go to the right pane and right-click a blank area. Select "New" and click "DWord (32-bit) value." Type the name as "ACSettingIndex" and hit "Enter" on your keyboard.
Right-click the "ACSettingIndex" listing and select "Modify." The value should be set to zero. If it isn't, change the value accordingly.
Go to the "File" menu and select "Exit." After closing the Registry Editor, restart your computer. When the operating system reloads, you will notice the "Sleep" option from the shutdown menu is greyed out. Users on the computer won't be able to select it and force the computer into sleep mode.
Create a Windows restore point if you are concerned about losing sensitive data or important settings.
Editing the Windows Registry may cause adverse effects if you incorrectly add, modify or delete an essential part of the operating system. Update at your own risk.