Analogy 37: See the device for new equipment

It is possible to fool around with good DevCon Rescan order into a remote desktop. Another demand runs the fresh DevCon Rescan procedure to the Server01, a secluded computer system, adding the brand new /meters factor with the order.

Analogy 38: Resume something

The next command spends the fresh DevCon Restart operation to help you restart the brand new loopback adapter to the local desktop. New demand limits the Fort Wayne IN escort review new search to your Online configurations class and you may, within you to classification, determine the system eg ID of your own loopback adapter, ‘ROOT\*MSLOOP\0000. The fresh new within reputation () relates to the fresh new string because a keen device particularly ID. The brand new single price character (‘), hence needs a literal look, suppresses DevCon of interpreting the latest asterisk on ID once the a beneficial wildcard character.

Example 39: Restart the local desktop

The following demand spends the fresh DevCon Reboot procedure in order to restart brand new operating systems with the local computer and to member the fresh new reboot with a hardware installment. In the place of the latest /roentgen parameter, the newest DevCon Restart process cannot trust the brand new get back code from another process.

DevCon spends the high quality ExitWindowsEx means in order to restart. In case your affiliate have open data using the pc otherwise good program doesn’t close, the computer doesn’t reboot till the affiliate keeps responded to system encourages to close off new records otherwise end the method.

Analogy forty: Assign a devices ID to help you a legacy product

The latest order spends the system such ID of equipment, ROOT\LEGACY_BEEP\0000, as the beep legacy device doesn’t have apparatus IDs otherwise compatible IDs. It uses the brand new from the profile () to suggest that the sequence try a device instance ID.

The new demand will not use any symbol details to place brand new ID. Automagically, DevCon adds the latest apparatus IDs toward end regarding a components ID record. In such a case, because the device doesn’t have other equipment IDs, placement is unimportant.

Responding, DevCon screens a message indicating that it’s additional beep to the new methods ID checklist for the unit. What’s more, it displays the latest ensuing resources ID list. In this situation, you will find just one gear ID about checklist.

Example 41: Incorporate a components ID to heritage equipment into the a remote pc

The next command uses the brand new DevCon SetHwID operation to incorporate the brand new resources ID, history, towards the listing of methods IDs for everyone heritage gizmos towards this new Server1 secluded computer.

The brand new demand spends the brand new – icon parameter to provide the fresh new apparatus ID toward end of the resources ID listing on the device, in case a well liked apparatus ID has been made for starters of gadgets. They uses the /meters factor to help you specify the brand new remote computers. Moreover it uses a device such as ID trend, \LEGACY\* , to spot the new heritage gadgets on the pc, that is, all of the gizmos whoever device such as ID starts with Sources\LEGACY* .

Once you designate a similar technology ID to several devices, you are able to one other DevCon procedures to access and alter the fresh new gizmos in one order.

Example 42: Remove an equipment ID out of all of the legacy products into a secluded computer system

Another demand spends brand new DevCon SetHwID operation to help you delete the new methods ID, legacy, regarding the selection of resources IDs for everyone history gizmos towards the the fresh Server1 secluded pc.

Brand new order uses the latest /yards parameter to help you specify the remote pc. It spends the hardware ID, heritage, to spot all gizmos with one methods ID. Following, it spends the brand new ! symbol parameter to remove the brand new legacy technology ID.

Analogy 43: Include, erase, and you can exchange hardware IDs

That it show spends a fictitious unit, DeviceX, on product like ID, ROOT\DeviceX\0000. Before having fun with DevCon, the system had the after the a number of methods IDs:

Leave a Reply