getfileversions and all [Big Grin]

actually, thanatos...
reading your code, all you need to make it work locally is to remove all the references to remote.
like:
code:
$ikey="\\" + $Rechner + "\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall"

translates to:
code:
$ikey="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall"

what comes to that ADSI provider you get object...
as far as I saw, you never even use it.

so you can fully skip it!
basically your script did work with minor adjustments.
but as you see there are more complex scripts to accomplish better results.
also, good example.
your windows version from reg.
we get it in kixtart with macros like @producttype, @produtsuite, @inwin and @dos.
_________________________
!

download KiXnet