Hi,
You can disable the sleep mode by creating a GPO, this would be the easiest option.
How to set up Power Management by Group Policy in Windows 7 and higher
https://community.spiceworks.com/how_to/50798-how-to-set-up-power-management-by-group-policy-in-windows-7-and-higher
Best regards,
Leon