My.Computer.Registry - 레지스트리 등록

VNote 2023.05.03 16:26:26 *:

 If My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings", "ActivePowerScheme", Nothing) Is Nothing Then
            My.Computer.Registry.CurrentUser.CreateSubKey("PowerSettings")
            My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings", "ActivePowerScheme", "8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c")
      
        End If