Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
2
-
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
- relates to
-
MODULES-2674 Reboot - Add masterless pre-suite capable of supporting dev workflow
-
- Resolved
-
-
MODULES-2641 DSC - Notify on "RebootRequired"
-
- Resolved
-