How can you tell if Windows XP is 64bit or 32bit if you only have the partition/filesystem on a hard drive?

5,662

Solution 1

64-bit Windows XP is actually quite unlikely, 64-bit and larger memory configurations gained traction in the consumer markets sometime after XP, and XP was somewhat quirky due to the lack of manufacturer support for 64-bit.

That said the presence of two folders will tell you the system is 64-bit. If you have

C:\Windows\SysWOW64
C:\Program Files (x86)

Then your system is 64-bit. If both of those are missing then you have a 32-bit system.

Read more at The 'Program Files (x86)' and 'SysWOW64' folders explained

Solution 2

There will be 2 "program" folders if it is 64, That is 32bit in the image.

64bit XP was super rare due to hardly anyone wrote 64bit drivers for their hardware.

Solution 3

If you have the Windows partition mounted on a Linux system, you can use the Linux file command to determine if the installed Windows was 32-bit or 64-bit. Pick a file in the \WINDOWS directory that came with the operating system and see what the result is:

$ file /run/media/user/ABCD-0123/WINDOWS/System32/winver.exe
/run/media/user/ABCD-0123/WINDOWS/System32/winver.exe: PE32+ executable (GUI) x86-64, for MS Windows

It says x86-64 so it's 64 bit.

$ file /run/media/user/ABCD-0123/WINDOWS/System32/winver.exe
/run/media/user/ABCD-0123/WINDOWS/System32/winver.exe: PE32+ executable (GUI) Intel 80386, for MS Windows

It says Intel 80386 so it's 32 bit.

Solution 4

Registry

While the specific question of 64 vs 32 bit Windows XP can be most easily solved by looking at the folder structure, the generic issue of determining the installed Windows version (including the service pack level and specific build) from looking at the file system is properly solved by looking at the registry.

You can locate the registry hive files, and then look for the keys representing the Windows version; for recent versions of Windows they should be at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion and HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabEx.

Solution 5

I'm currently doing my father a favor and setting up an Oracle VirtualBox VM with Windows XP on a Windows 10 host PC. I have the old SSD with his original Windows XP partition from some years ago. The data was saved and is accessible on his new Windows 10 PC.

Windows XP was only 32-bit. Microsoft sold Windows XP Professional x64 Edition has a separate license. If your father had Windows XP then it's nearly a guaranteed fact they were using the 32-bit version. Windows XP Professional x64 Edition was licensed and sold separately. In other words, Windows XP Professional x64 Edition, cannot be activated by a 32-bit Windows XP license.

So my question is: How can I tell if a Windows XP partition is 64bit or 32bit if I only have the filesystem of the hard drive mounted as an external USB drive? Like, is there a specific file to readout?

If you really wanted to spend the time, you could mount the proper registry hive if it still exists on the HDD, and determine what the system properties indicate. Based on the information you have it's likely not going to be possible to explicitly confirm if they were not using Windows XP Professional x64 Edition.

Your screenshot indicates there isn't a Program Files directory, which should exist, even on Windows XP. There are additional folders, that do not exist but should exist, like your father's user profile directory.

Share:
5,662

Related videos on Youtube

Niklas E.
Author by

Niklas E.

Updated on September 18, 2022

Comments

  • Niklas E.
    Niklas E. over 1 year

    I'm currently doing my father a favor and setting up an Oracle VM with WinXP on a Win10 host PC. I have the old SSD with his original WinXP partition from some years ago. The data was saved and is accessible on his new Win10 PC. For his convenience I want to set up the same 32- or 64-bit version of WinXP pro as he originally had. But the only way for me to find this out, is to read the old filesystem of the WinXP partition over an IDE-to-USB converter. Since the rest of the computer is discarded, there is no processor whose name I can google. I also tried booting the hard drive with no success.

    So my question is: How can I tell if a Windows XP partition is 64bit or 32bit if I only have the filesystem of hard drive mounted as a external USB drive? Like, is there a specific file to read out... or does a specific directory has to exist, or something like that?

    the filesystem mounted over USB to my (not his) Ubuntu 20.04 OS
    The old Windows XP Professional filesystem mounted over USB to my (not his) Ubuntu 20.04 machine.

    • olegario
      olegario over 3 years
      Wait, did your father install Windows XP in a SSD?
    • TooTea
      TooTea over 3 years
      Wait, are you planning to recreate the whole system from scratch? Why not just boot the original install directly? Make an image of that SSD and run it as the VM. Yes, you'll have to reactivate it and likely uninstall a few drivers, but after that, job done.
    • Niklas E.
      Niklas E. over 3 years
      @TooTea No, he just needs/wants a VM for old software he used for his company.
    • Niklas E.
      Niklas E. over 3 years
      @olegario The SSD is not the original hard drive of the old discarded laptop. The original HDD corrupted (around 2012?) and my father switch to an 128GB SSD installing WinXP over the original and lost WinXP CD. By that moment he already had Win7 on a tower PC with all his data. Later, then the laptop broke, he only kept the SSD, because "that (the SSD) was a very new and expensive thing at the time" (he said, translated from German).
  • user1686
    user1686 over 3 years
    To make matters more confusing, Windows XP "64-bit Edition" was for Itanium CPUs – "x64 Edition" is the one that other answers are talking about.
  • Mokubai
    Mokubai over 3 years
    If they can remember how much memory the system had you can also infer from that. 64-bit gave no benefit at all on machines with 3GB or less RAM, and could actually make things worse on starved systems. If they never had anything close to 4GB then it is incredibly unlikely to be 64-bit.
  • Ramhound
    Ramhound over 3 years
    @user1686 - I was referring to that edition also, I didn't even consider, the Itanium version of Windows since that was discontinued so long ago.
  • Doug Deden
    Doug Deden over 3 years
    Regarding the missing "Program Files" directory, if that's a German installation, C:\Programme\ would be it.
  • crasic
    crasic over 3 years
    Win XP 64 bit edition actually had a fairly good reputation, but wasn't very common as you point out.
  • Khalid
    Khalid over 3 years
    @crasic Can confirm! I was running Windows XP x64 Edition from 2008 through mid-2013. It worked well for me and I didn't feel a need to "upgrade" to Vista or even Windows 7 (but I did install Windows 8.1). Don't confuse Windows XP x64 Edition (AMD64, which was based on Windows Server 2003 and has version 5.2) with the original Windows XP 64-bit Edition from 2001 which ran on Intel Itanium (IA64) - but that edition is incredibly rare and I've never ever seen a copy of that, even a pirated/warez copy.
  • Ramhound
    Ramhound over 3 years
    @user165568 - I know for a fact Windows XPand Windows XP Professional x64 Edition were separate products and were license separately, the fact you were a business likely means you had a support contract. Windows Vista was the first version of Windows to be a single license with regards to 32-bit/64-bit. Likewise, Windows 8 was the first version, to provide language packs to Home/Professional versions outside of Windows 7 Ultimate.
  • j4nd3r53n
    j4nd3r53n over 3 years
    Since the OP is running ubuntu, they may be able to check the format of the executables from a command line, with the file command.
  • Eyal
    Eyal over 3 years
    @Dmitry XP Pro x64 Edition didn't need an SP3. It was a completely different kernel from the 32-bit version of XP, actually being based on the same kernel as Server 2003. It had the same service packs as Server 2003, which ended with SP2. XP x64/Server 2003 SP2 was actually a newer kernel than Windows XP SP3.
  • John Dallman
    John Dallman over 3 years
    @Dai: You aren't missing anything good with the IA64 Windows XP. It looked and behaved like ordinary XP, with some things missing.
  • Nick Kennedy
    Nick Kennedy over 3 years
    Agree with this. From the screenshot (and reference to samlogic.net/articles/…), this is the 32-but edition since the German Program Files folder is called Programme and there’s no “Programme (x86)” here.
  • Nelson
    Nelson over 3 years
    The likelihood of 64-bit Windows XP is very, VERY low. I worked with one such system and the driver compatibility was horrendously poor. I had huge trouble getting 64-bit drivers for basic, commonly available components when 32-bit versions were readily available. This was before Windows 7 IIRC.