SMS 2003 Query



I am looking to create a query for All Computers that contain a certain
file (like c:\windows\sol.exe).

Or All Computers that contain a certain registry entry (like
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell]

Please assist

.