Description
On Windows, non-Admin users are restricted from using WMI. That means any facts we query via WMI are unavailable for those user accounts.
We need ComputerSystemProduct::Name, BIOS::(SerialNumber, Manufacturer), OperatingSystem::(ProductType, OtherTypeDescription, LastBootUpTime, LocalDateTime), number of physical and logical processors (array of Processor::(Name, Architecture), and Processor::NumberOfLogicalProcessors), and ComputerSystem::(Manufacturer, Model).
The related WMI references are
https://msdn.microsoft.com/en-us/library/aa394105%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/aa394077%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/aa394239%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/aa394373%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/aa394102%28v=vs.85%29.aspx
Update: This is only a problem for Guest accounts, not Standard User accounts. Verified on Windows Server 2003 (x86_64), Windows Server 2008 (x86_64), and Windows Server 2012r2 (x86_64).
Attachments
Issue Links
- relates to
-
FACT-900 Facter doesn't use correct external facts path for non-Administrator on Windows
-
- Closed
-