winver

(Redirected from Version Reporter Applet)
winver
Component of Microsoft Windows
Windows11-26100-1150-Winver.png
Introduced inWindows 3.0

winver, short for Windows Version, is a utility included in most versions of Microsoft Windows, used to obtain information about the operating system version. It is the graphical version of ver command, derived from MS-DOS systems. Depending on the Windows version, the tool is also referred to as Windows-version utility or Version Reporter Applet in its file version information on DOS-based Windows and Windows NT, respectively.

On Windows versions that don't include a standalone winver.exe executable, such as Windows Server Core or the Windows Preinstallation Environment, the dialog can be invoked using the rundll32 shell32,ShellAbout command. However, when invoked this way, the dialog won't include timebomb information, as that functionality is exclusive to the applet. The dialog caption will show garbled characters when invoked in that way, due to the differences between the arguments expected by rundll32 and the actual signature of the function.[a]

History

The applet was first introduced in Windows 3.0, where it was implemented as a simple message box with the Windows logo, major and minor version number, copyright notice and information about the currently active mode of operation. The tool also includes a custom MS-DOS executable stub that prints the version information onto the screen. It was kept virtually unchanged throughout the classic Windows series, with Windows 3.1 only changing the logo, and Windows 95 reducing the version information to the operating system name.

On NT-based Windows versions, the utility was included since Windows NT 3.1, where it was implemented similarly to its 16-bit counterpart, as a simple box with the Windows logo, version, build numbers and a copyright notice. However, starting with Windows NT 3.5, it calls the ShellAbout API function to display a standard about box, which aside from the version and copyright notices also contained information about the computer, the registered owner and amount of RAM available for machine.

With the introduction of the timebomb during the development of Windows 2000, winver was updated to query information about the timebomb, and if present, display it in the about box.

Starting from Windows 7, the ShellAbout API function, therefore the applet, doesn't show available RAM of computer. In place of that copyright notices and trademark protection notices are shown. End User License Agreement doesn't invoke Notepad window, but a custom form with EULA instead.

Gallery

Classic Windows

Windows NT

Notes

  1. rundll32 expects the called function to have the signature of void CALLBACK EntryPoint (HWND hWnd, HINSTANCE hInst, LPSTR lpszCmdLine, int nCmdShow). The garbled application name in the title bar (MZ or mojibake, depending on whether the -A or -W variant of the API is used) is a result of ShellAbout trying to parse the executable header of shell32.dll as a null-terminated string. This is caused by a mismatch of the second parameter, where ShellAbout expects a pointer to a string while rundll32 provides the DLL's HINSTANCE, which in Win32 is a pointer to the loaded module in memory.