Auto Reboot

This query will show you which PCs are set to automatically reboot. Based on the Win32_computer_system class: http://msdn2.microsoft.com/en-us/library/aa394102.aspx

 

 

SELECT          v_GS_COMPUTER_SYSTEM.Name0 AS ‘PC Name’,

            v_GS_COMPUTER_SYSTEM.UserName0 AS ‘User ID’,

            Case v_GS_COMPUTER_SYSTEM.AutomaticResetBootOption0

            When 1 then ‘True’

            When 0 then ‘False’

            Else ‘Unknown’ end AS ‘Auto Reboot’

FROM v_GS_COMPUTER_SYSTEM v_GS_COMPUTER_SYSTEM

ORDER BY     v_GS_COMPUTER_SYSTEM.Name0

Leave a Reply

Your email address will not be published. Required fields are marked *