Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-2657

Reboot - Should detect Windows machine rename as pending reboot condition

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      Windows 2015-10-07, Windows 2015-10-21

      Description

      One condition that necessitates a reboot on Windows is a computer rename.

      This can trivially be detected by comparing registry entries HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName and HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName

      The reason that this is a reboot condition is due to the Windows API call GetComputerName reading the NetBIOS name from the registry once upon boot, and that caching it for all subsequent calls. Note the documentation at https://msdn.microsoft.com/en-us/library/windows/desktop/ms724295(v=vs.85).aspx

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ryan.gard Ryan Gard
              Reporter:
              ethan Ethan Brown
              QA Contact:
              Ryan Gard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support