Resolution problem in Windows 3.1

I’ve managed to screw up the resolution in win 3.1 (I set it too high and then win wouldn’t boot :smack: )

Is there any way I can set it back in DOS or something like “safemode” in Win 95?

I’m going on memory (7 years ago!), but I believe that you can edit system.ini, and change the vga driver line from whatever driver your video card uses to vgadrv.sys, and away you go. I think there are two places in the file to change it (or maybe one in win.ini as well) - have a look around.

Failing that, I believe the actual resolution is in system.ini somewhere, in a format like 800*600.

Backup system.ini to system.old or something first. System.ini and win.ini are in the windows directory.

After you have it going again, you may have to reinstall the drivers for your video card, or change the resolution line (if it exists!) and set the line back to your video card’s driver.

Gotcha: all of the above could be wrong, but a backup of any changed files will keep you safe.

frejk, I used to do that all the time. If I recall correctly, you can run setup (C:\windows\setup.exe) from the DOS prompt and change the relevant system settings from there (you won’t need to reinstall anything).

Those are both working solutions.

For the record Windows 3.1 is not an operating system but rather an “operating environment,” if you will, and thus technically does not boot at all.