The reliable way to run Dungeon Keeper on Vista is through DOSBox, a free emulator built for exactly this kind of old DOS game.
Install DOSBox, then mount the folder containing your Dungeon Keeper files as a virtual drive. From there you launch the game's executable inside the emulator rather than from Windows. Because DOSBox handles the graphics and sound hardware itself, the compatibility problems that plague direct launches disappear.
Expect the game to run slightly faster than it did on original DOS hardware. If the pacing feels off, adjust the emulator's cycle setting up or down until characters and creatures move at a natural rate. The default is usually close, and a small tweak is often all that is needed.
Saving your DOSBox configuration means you only have to dial it in once.