import os os.system("powercfg.cpl") os.system("powercfg /DUPLICATESCHEME e9a42b02-d5df-448d-aa00-03f14749eb61")