Finding the CD (Product) Key from DOS

If you can't boot into Windows at all, then you can boot with a Startup Disk (CD support is not required) or into Command Mode Only and type the following command:

For 95:

C:\Windows\Command\Find /I "ProductId" c:\windows\system.dat

For 98/Me:

C:\Windows\Command\Find /I "ProductKey" C:\Windows\System.dat

The first line of the screen dump will look like this:

ProductKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX where the X's are your actual CD Key.

NOTE: This will not work in Windows XP

This page last updated 11/25/2005 21:17
All material © Doug Knox