Radeon Reset Bug fix service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RadeonResetBugFix/RadeonResetBugFixService/Tasks/EnableBasicDisplayStartupTa...

17 lines
534 B

namespace RadeonResetBugFixService.Tasks
{
using Microsoft.Win32;
using Contracts;
class EnableBasicDisplayStartupTask : ITask
{
string ITask.TaskName => "Enabling basic display automatic start";
void ITask.Run(ILogger logger)
{
var originalValue = Registry.GetValue(Constants.BasicDisplayRegistryKey, "Start", -1);
logger.Log($"Original start value {originalValue}");
Registry.SetValue(Constants.BasicDisplayRegistryKey, "Start", 3);
}
}
}