How to reset video/display drivers in Vista without restarting OS?

Currently I have to reboot my system if an external monitor is hooked up for it to be correctly detected and used. I think it would be faster to restart/reset the video or display drivers instead. How do I do this under Vista?

I seem to remember from an old laptop using a Windows command-line command that would restart the wireless networking card device when it crashed. Is there something like that for video drivers?


Background/Reason Because people rightfully ask why? - This is part of a larger problem which I'm waiting for resolution on from the manufacturer. In the meantime I'm looking for the above quick fix. Actually my video card often crashes my laptop when attaching an external monitor and trying to detect or use it. No solution from vendor yet and latest drivers do the same irksome behaviour. Windows says:

A problem with your video hardware caused Windows to stop working correctly.


Solution 1:

This is an old question, but I just found an answer to it. There is an MSDN tool called devcon that can be used to restart devices without reboot:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff544807(v=vs.85).aspx

You need to run the command prompt with admin rights. After that, for example on my laptop this is how I restart my display driver when it gets stuck in low-power mode:

1: List my display devices

> devcon listclass display

Listing 1 device(s) for setup class "Display" (Display adapters).
PCI\VEN_10DE&DEV_01D7&SUBSYS_006C1025&REV_A1\4&7D0DA8B&0&0008: NVIDIA GeForce

2: Then use the above info to enter the correct device ID for reset:

> devcon restart =display *ven_10de*
PCI\VEN_10DE&DEV_01D7&SUBSYS_006C1025&REV_A1\4&7D0DA8B&0&0008: Restarted
1 device(s) restarted.

The display will flicker and go blank for a few seconds. After that you will be returned to the desktop with the drivers restarted similar to a reboot.

3: Done. Profit.

Solution 2:

I'm currently looking into this no reboot info from Microsoft:

http://www.microsoft.com/whdc/system/pnppwr/pnp/no_reboot.mspx#E2BAC

Tips for Specific Device Classes This section provides tips for avoiding unnecessary reboots when installing devices of certain classes. Display Drivers. The Windows DDK provides a tool that allows driver developers to dynamically reload a display driver without rebooting. This tool, called Newdisp.exe, accelerates display driver testing during development by making reboots less necessary when updating display driver code. Newdisp.exe does not currently cause a video miniport to be reloaded; if a video miniport is changed, the system must be rebooted to install and test it. For information, see "NewDisp: Dynamic Reload of a Display Driver" in the Windows DDK.