How to set up a Windows 7 virtual machine on Windows 10

Several months ago, I decided it was past time to set up a Windows 7 virtual machine on my home computer. It’s not something I need on a daily basis, but I want to have that environment available in case some future Windows 10 update changes something to the point where one of the programs I use no longer works.

I opted to go with the 32-bit version of Windows 7, and found a legitimate license key for sale on eBay. Once I had the installation media in my possession, I fired up VirtualBox. If you’re wanting to do what I did, here are the steps:

  1. In VirtualBox Manager, click New. Enter the name for your virtual machine and select the type and version; as mentioned previously, I’m using Windows 7 (32-bit). Click Next.
  2. Specify amount of memory—I chose 2048 MB—then click Next.
  3. Select Create a virtual hard disk now, then click Create.
  4. Choose your hard disk file type. The recommended and default setting is VDI (VirtualBox Disk Image), but you can choose something different if you have a particular need. Click Next.
  5. Select type of storage on physical hard disk. I selected Fixed size. Click Next.
  6. VirtualBox defaults to a virtual hard drive of 25 GB. Adjust this if necessary—I bumped it up to 40 GB since I have plenty of space on the drive where I’m storing VMs—then click Create. The virtual hard drive creation process takes several minutes.
  7. Start your virtual machine. Select your startup disk (or .ISO file) and click Start.
  8. Proceed through the Windows installation process:
    1. Choose language to install, time and currency format, and keyboard or input method, then click Next.
    2. Click Install now.
    3. Check the “I accept the license terms” checkbox, then click Next.
    4. Choose the custom (advanced) installation type.
    5. With Disk 0 Unallocated Space selected, click drive options (advanced), then click New, then click Apply and click OK.
    6. After setup finishes create disk partitions, click Next. Setup will take several minutes to install files.
    7. After the virtual machine restarts, enter the user name and computer name. Click Next.
    8. Enter a password and click Next.
    9. On the Windows product key screen, click Skip.
    10. Choose Windows Update settings.
    11. Select time zone, then click Next.
    12. Select your computer’s current location, either home or work.
    13. After Windows starts, change the screen resolution; default is 800×600 pixels.
    14. While holding the Windows key on your keyboard, press the Pause/Break button to launch the system information window.
    15. Click the “3 days until automatic activation. Activate Windows now” link.
    16. Click Activate Windows online now.
    17. Enter your Windows product key, then click Next. After activation completes, click Close.
    18. Install Windows updates, restarting the virtual machine as necessary.
  9. After you finish installing and updating Windows, go to VirtualBox’s Devices menu and choose Insert Guest Additions CD image. When the AutoPlay window appears, click Run VBoxWindowsAdditions.exe, then tell the UAC prompt Yes.
  10. Click Next.
  11. Click Next again.
  12. Click Install.
  13. When the Windows Security window appears, click Install.
  14. When the Windows Security window appears again, click Install.
  15. Click Finish to reboot.

After the virtual machine restarts, you might need to adjust the screen resolution again. After that, you’re done!

How to prevent corrupt profile message in Cars video game on Windows 10

Playing old video games can be fun. Getting them working properly on newer hardware, however, is sometimes a challenge. In a prior entry, I explained how to run NASCAR Racing 1999 Edition on Windows 10. Today, I want to focus on THQ’s 2006 Cars game based on the Disney-Pixar film of the same name.

I recently installed Cars on my Windows 10 box and was able to launch the game with no problems. Beautiful scenery, just like in the movie, and still a great deal of fun. Everything looked like it was working perfectly.

The next time I went to play it, however, the game advised me that the profile I saved during my previous session was corrupted. Boo, I thought. It’s not as though I had made a lot of progress during my first session, but still.

To work around this problem, I right-clicked the Cars shortcut on my desktop and chose to troubleshoot compatibility, then chose to troubleshoot program. I checked the checkbox labeled The program requires additional permissions, then moved on to test the program.

I ran a race and saved my profile, then exited the program. In the compatibility troubleshooting window, I clicked Next, prompting Windows to save the settings. Since then, when I launch Cars, it loads my profile without any trouble, and I’m able to save my progress as I go along.

Internet Explorer reset fixes Microsoft Edge, Skype connection problems

Last week, my Windows 10 work laptop started having issues. First I noticed that Microsoft Edge was unable to load any websites. Then it was Internet Explorer. Then Skype reported its homepage was unavailable. As you might imagine, this caused my antennae to go up in a hurry.

A reboot did not help, and neither did a suggestion I found from a Microsoft representative to run System File Checker (sfc.exe). I did that over the weekend, but it found no problems at all. That was nice, particularly considering that I’ve been using this machine for less than a month.

The solution to the problem in my case, at least, was simpler than I expected. I searched for the Internet Options item from the Control Panel, navigated to the Advanced tab, and clicked Reset. I checked the Delete personal settings checkbox—that may not have been necessary, but I figured I might as well burn it all—and clicked Reset, confirmed that I wanted a clean slate, and then rebooted again, and voila! Microsoft Edge, Internet Explorer, and Skype all went back to working as expected.

I find it interesting that something out of kilter in Internet Explorer could affect Edge and Skype, too. IE may officially be on the way out the door, but its tendrils are apparently still wrapped around some fairly important bits of the Windows operating system.

How to adjust the size of your Hyper-V virtual machine’s window

I recently started a new job, and due to the need to make VPN connections, I’ve been getting familiar with Hyper-V Manager. I’m using a laptop, so one of the first things I wondered was how I could fix the size of my virtual machine’s window so that I don’t have to do a lot of scrolling. Unlike with Remote Desktop Connection, where you can specify the size of the window before connecting, Hyper-V Manager did not appear to have such a configuration option.

It turns out the answer to my question is very simple: for a Windows 7 virtual machine, at least, all you have to do is change the screen resolution on the VM itself. To do that, right-click on the VM’s desktop and choose Screen Resolution (for Windows 7) or Display settings > Advanced display settings (for Windows 10) and choose a resolution small enough to fit on your physical computer’s display.

After you adjust your VM’s resolution, the window in which the VM is running resizes itself automatically, and you’re good to go.

How to run NASCAR Racing 1999 Edition on Windows 10 using DOSBox

As a teenager, I spent innumerable hours playing Papyrus’s NASCAR Racing 1999 Edition and its predecessor, NASCAR Racing 2. I never had a steering wheel and pedals, but I managed to keyboard my way around Richmond, Atlanta, and the other tracks included with the games.

Running NASCAR Racing 1999 Edition on Windows 98 was easy: insert CD, install, and drive off into the night. As the years have passed, however, the game has proven to be rather less compatible with modern operating systems. Sure, I could still install it on Windows 7, but running the game with its limited color palette and maximum resolution of 640×480 pixels made my monitors do some interesting things, to say the least.

I recently saw a post in which someone mentioned successfully running NASCAR Racing 2 on Windows 10 using a program called DOSBox, an x86 emulator designed primarily with old games in mind. The individual didn’t say exactly how they did it, but NASCAR Racing 1999 Edition is essentially NASCAR Racing 2 with trucks and additional tracks. Since I still have the original game CD, I decided to look into DOSBox’s documentation and figure out how to make it happen.

Although this guide deals specifically with NASCAR Racing 1999 Edition, the same basic process should work for running NASCAR Racing 2; however, some directory and file names may differ.

Setup

  1. Download and install DOSBox. I used version 0.74.
  2. In Windows Explorer, browse to %userprofile%\Documents and create a folder called DOSGames. Within that new folder, create a subfolder called NR1999.
  3. Insert the NASCAR Racing 1999 Edition CD in your computer’s optical drive, then copy the contents of the nr1999 folder on the CD to %userprofile%\Documents\DOS Games\NR1999.
  4. Copy the following subfolders from the nros\nros\tracks folder on the CD to %userprofile%\Documents\DOSGames\NR1999\tracks. These tracks are not used by any of the game’s default seasons, but you can manually add them to a season data file.
    • BULLRUN
    • POCONO
    • REDROCK
    • RICHMOND
    • WILKES
  5. Start DOSBox. At the prompt, enter exit.
  6. Browse to %localappdata%\DOSBox and create a copy of dosbox-0.74.conf. Next, edit dosbox-0.74.conf to add this line at the end of the file: MOUNT C "C:\Users\username\Documents\DOSGames" This causes DOSBox to automatically mount the DOSGames folder as its C: drive.
  7. Start DOSBox again. At the prompt, enter c:.
  8. Enter cd nr1999 to switch to the directory where the game files are stored.
  9. To enable sound, enter soundset at the prompt. Click “Autodetect Sound Card,” then click “Exit” once your computer’s sound card has been detected.
  10. Enter nr1999 to start the game.
  11. After the game starts, click “Options” and go to the “Graphics” screen. Turn on all textures, and, if desired, increase the number of “Opponents Drawn Ahead”; I set mine to 25.
  12. Go to the “Controls” screen and disable all driving aids. If you have a wheel and pedals, joystick, or gamepad, you can configure and calibrate them at this time. (Read on for a note on gamepad configuration.)

Running the game

  1. Start DOSBox. At the prompt, enter c:.
  2. Enter cd nr1999 to switch to the directory where the game files are stored.
  3. Enter nr1999 to start the game.
  4. Press CTRL + F10 at any time to free your mouse from the DOSBox window. Type exit at the prompt to close DOSBox.

Gamepad configuration

I own a Logitech Dual Action Gamepad. I’m not necessarily recommending that particular controller over your controller of choice, but when I was looking for a gamepad for a different game a few years back, it was inexpensive, and it’s what I have.

The gamepad is a good bit newer than NASCAR Racing 1999 Edition. Perhaps that’s why, on the “Controls” screen within the game, the shoulder buttons on the front of the gamepad don’t register when pressed. Both sticks work, and the buttons on the top of the gamepad near the right stick work, but not the shoulder buttons. I had the same problem with the game installed directly on Windows 7, so I think this is an incompatibility between the game and the controller instead of a problem with DOSBox.

Since I wanted to use one of the sticks for accelerating and braking and the other for steering, that left only the buttons on top of the gamepad available for shifting gears, but they’re not conveniently located for that purpose. Thankfully, DOSBox has a keymapping feature that does recognize when the shoulder buttons are pressed, and can pass that information along to the game itself.

To launch the keymapper, I pressed CTRL + F1. I clicked “z,” then at the bottom of the screen clicked “Add,” and pressed the top left shoulder button. I repeated that process to assign the top right shoulder button to “x.”

After exiting the keymapper, I started the game again. The left and right fire buttons then registered when pressed on the “Controls” screen. Success!

Summary

NASCAR Racing 1999 Edition has long been supplanted by newer, shinier racing games, but the nostalgia is strong for me. The graphics are extremely dated, to be sure, but even running in a tiny window, the game is still just as much fun as it was back in 1999.

If you want to replicate my setup, here’s what you need:

Upgrading BIOS fixes Windows 10 docking station DVI output problem

Since late last year, I’ve been upgrading our desktops and laptops at work from Windows 7 to Windows 10. For each machine, our process has consisted of doing the free upgrade to Windows 10, then doing a clean install. For the most part, the transition has gone smoothly, but I recently ran into a problem with an upgraded HP ProBook 6460b and accompanying HP docking station (VB041UT#ABA). Both pieces of hardware were purchased in 2011, so we’re not talking about brand new equipment here, but the computer does what we need it do.

The problem

With Windows 7 installed, the problem laptop output video through the DVI and VGA ports. After I installed Windows 10, however, if a VGA monitor was connected, it would display only at the laptop’s native resolution of 1366×768, and the external monitor connected via DVI would fail to find a signal.

If no VGA monitor was connected, the DVI monitor would display the HP logo on the boot screen and the Windows logo as Windows began loading, but then the screen would go black. The power button on the monitor would remain lit up like it was getting a signal until I opened the lid on the laptop; at that point, the monitor would lose its connection and display the “check cables” message, and the only way to get it to display anything again was to close the laptop’s lid and reboot.

Troubleshooting

We previously upgraded another 6460b with the same model docking station to Windows 10 without running into any issues, so I had no reason to believe the laptop model in question was incompatible. I tried swapping cables, monitors, and even the docking station itself with another identical docking station that I knew worked with a laptop upgraded to Windows 10. I compared the laptop’s display settings, power settings, and graphics driver version with the working laptop, and everything was in sync.

After checking the obvious things, I began my online search, and finally ran across a forum thread in which someone mentioned having to update BIOS on a Dell laptop to correct a similar problem. It seemed like a long shot, but I restarted the problem laptop and a working machine, pressed Esc on boot and then F1, and checked the BIOS versions on each computer. Sure enough, the laptop that output video correctly boasted BIOS version F.60, while the problem laptop reported version F.42.

I downloaded the latest BIOS from HP (version F.61) and let the flashing process run over a weekend. Once the BIOS was updated, I docked the laptop, and video was output to the DVI and VGA monitors, both of which displayed at the correct resolutions.

Troubleshooting, part 2

All appeared to be right with the world until I rebooted the laptop, at which point the computer forgot what resolution it should be using on the external VGA monitor, and reverted to the laptop’s native resolution. I opened Device Manager, expanded the Monitors grouping, and uinstalled the Generic P&P Monitor listed there, then rebooted, and the VGA monitor was detected correctly once more.

Following another reboot, however, the VGA monitor once again reverted to the laptop’s native resolution, and after that point, uninstalling the generic plug-and-play monitor from Device Manager had no effect on the setup’s performance.

After fighting the issue for a while longer, I finally opened the Intel Graphics and Media Control Panel, went to the Display section, and added a custom resolution (1280×1024) and refresh rate (60Hz) appropriate for the monitor connected to the VGA port, and rebooted again. After that, I went into Windows display settings and clicked through to the advanced display settings, and I was able to select my newly-added custom resolution for the VGA monitor.

Summary

The DVI output problem was resolved by updating the laptop’s BIOS. The BIOS update initially appeared to have fixed the VGA resolution issue, too, but I ultimately had to define a custom resolution in the graphics control panel to get away from the laptop’s native resolution being displayed on that second external monitor.

Although the laptop detects when something is plugged into the VGA port on the docking station, it appears to be failing to detect exactly what that something is, reporting only that a generic plug-and-play monitor is connected. I can’t explain why it worked immediately after the BIOS update without a custom resolution defined unless there is some sort of intermittent hardware problem, but the user has reported no display issues since I added the custom resolution and swapped the laptop into place.