Hi there,
To disable sleep mode completely you can use Local Group Policy:
-Launch Local Group Policy Editor (gpedit.msc)
-Navigate to Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings
-Open Policy called Allow Standby States (S1-S3) When Sleeping (Plugged In) and set value do Disabled
-If necessary also do the same for Allow Standby States (S1-S3) When Sleeping (On Battery)
To also disable Hibernate mode (standby state S4) run powercfg.exe /hibernate off in an elevated command prompt:
-Start > type Command Prompt > right click on Command Prompt and click Run as Administrator
-Type powercfg.exe /hibernate off and press Enter
Preventing users from using sleep instead of hibernate
I hope this information helps. If you have any questions please let me know and I will be glad to help you out.
--------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer--