A good start would be to run the following command in Start->Run on a Windows 7 x64 machine while monitoring using
Sysinternals Process Monitor:
control /name Microsoft.LocationAndOtherSensors.
Also, it looks like the following files could be related to this feature in Windows 7:
Code:
%SystemRoot%\System32\
SensorsApi.dll
SensorsClassExtension.dll
SensorsCpl.dll
%SystemRoot%\System32\en-US\
SensorsCpl.dll.mui
Furthermore, using the
Class Enumerator I created, registry classes related to these files could be found (see screenshots).
If the dll exports a DllRegisterServer function, the dll can be registered using the command regsvr32.exe nameOfFile.dll.
Once all files and dependencies are copied to and registered in Windows Server 2008 R2, see if you can open the "Location and Other Sensors" control panel applet. If not, monitor using Process Monitor to see which files/registry keys might be missing, copy these and try again.
Dependency Walker might also be a useful tool to find out which other files (dependencies) are necessary for the dll's to run.
Hope these gears will help you further in migrating this feature to Windows Server 2008 R2!
