I had some trouble with this but I found the way to do it.
Control Panel > Programs > Turn Windows features on or off > Legacy Components > Directplay.
You'll need DirectX for this but that comes with the OS.
Enable Directplay and if you get an error message, deactivate your virus program before enabling.
I don't know if it will work with Steam but this is how to make it work with the PC CD-ROM.