Keep in mind that it is not supported to query the tables directly, only SQL views listed within the official docs are supported. https://docs.microsoft.com/en-us/sc.../create-custom-reports-using-sql-server-views There are tech reason for this.declare @cdate DATETIME
set @cdate = GETDATE()
SELECT System_DATA.Name0 , DATEDIFF(DAY,Operating_System_DATA.LastBootUpTime00,@cdate) as Days
FROM Operating_System_DATA INNER JOIN
System_DATA ON Operating_System_DATA.MachineID = System_DATA.MachineID
Garth - I never knew about "Fast boot" until your post and after reading more into it I have now created a GPO which disables it on all user devices.
Thanks for the responses guys...
Garth - I never knew about "Fast boot" until your post and after reading more into it I have now created a GPO which disables it on all user devices.
Marek - Is that a query or a report?