Discussion Locked

debug hardrive

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
My computer has been slaughtered by viruses. I want to format and reinstall windows xp. I understand that it's important to first debug etc. What steps should I take before formatting. In other words, what do i need to type at the dos prompt. Thanks.

5 replies

by melvin_780702

If you have WIN XP CD available, try to boot from CD...follow installation steps, it will guide you throughout from formatting till the end....you dnt have to type anything in DOS....
boot sequence could be found in your BIOS, set CDROM for the first boot....

Goodluck

by dmiles

Starts Debug.exe, a program you can use to test and debug MS-DOS executable files. Used without parameters, debug starts Debug.exe and the debug prompt appears, which is represented by a hyphen (-).

Syntax
debug [[Drive:][Path] FileName [parameters]]

Top of page
Parameters
[Drive:][Path] FileName : Specifies the location and name of the executable file that you want to test.

parameters : Specifies any command-line information required by the executable file that you want to test.

?: Displays a list of debug subcommands.

Top of page
Remarks
? Windows XP does not use this command. It is accepted only for compatibility with MS-DOS files.

? Using MS-DOS subsystem commands

Debug is a MS-DOS subsystem command that runs under WOW/NTVDM.

? Separating command parameters

You can separate parameters with a comma or white space, but these separators are required only between two hexadecimal values. For example, the following commands are equivalent:

dcs:100 110

d cs:100 110

d,cs:100,110

? Using debug subcommands

If you have successfully activated the OS already, and if you are reinstalling it on the existing hardware, this trick should do just fine. Here it is:

Copy the file c:\windows\system32\wpa.dbl to a floppy.
Reinstall Windows XP.
Boot to a DOS disk if you are using FAT, or to the Recovery Console if using NTFS.
Copy the file from the first step above back to c:\windows\system32.
That's it - because all of your hardware is the same as before, your copy of WinXP is still valid according to the previous activation.

This discussion is closed to new replies.