Jump to content
Sign in to follow this  

_WinAPI_VerQueryValue returns error number 1813 on some files

Recommended Posts



When I try to find version information  of some files with _WinAPI_VerQueryValue function, I get error 1813 (0x715) that is:

" The specified resource language ID cannot be found in the image file. "

That is my script:

$path = 'C:\Program Files\WindowsApps\Microsoft.SkypeApp_14.39.180.0_x64__kzf8qxf38zg5c\SkypeBackgroundHost.exe'
$pData = 0
_WinAPI_GetFileVersionInfo($path, $pData)
If $pData Then
    $Ret = _WinAPI_VerQueryValue($pData)
    MsgBox(0, '',  _WinAPI_GetLastError())

Please note that the specified file has a different folder name on different systems. But the file is running on each Windows 10 system.

The file has version information like company name when uploaded to the virustotal site: https://www.virustotal.com/file/bade0a73136fc74467e9ac232f2db4ec9ba761c346e879b9813c9945e9c15021/analysis/1550353456/

Any help or hint is greatly appreciated.

Share this post

Link to post
Share on other sites

Have you tried using PowerShell to get Windows App Version, something like Get-AppxPackage or Get-AppXProvisionedPackage -Online the latter is usually for apps installed within the image.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...