Example 37: Scan the computer for brand new products
You could fool around with a good DevCon Rescan order to your a remote computer system. The following demand operates brand new DevCon Rescan operation on the Server01, a remote desktop, adding new /m factor to the command.
Example 38: Resume a tool
Next demand uses the fresh DevCon Restart operation so you’re able to restart the fresh new loopback adapter to the local computer system. New demand restrictions the new look on the Net configurations class and you may, within this one to classification, specifies the system eg ID of loopback adaptor, ‘ROOT\*MSLOOP\0000. This new on profile () refers to brand new sequence because the an tool instance ID. Brand new solitary quote profile (‘), which demands a literal lookup, suppresses DevCon out of interpreting this new asterisk regarding the ID while the good wildcard character.
Example 39: Reboot neighborhood computers
The next demand spends the latest DevCon Restart procedure to help you restart this new operating system for the local computers and affiliate the latest restart which have a components installation. Instead of the new /roentgen parameter, the DevCon Restart operation cannot trust new return code from some other procedure.
DevCon spends the high quality ExitWindowsEx mode to help you reboot. If for example the affiliate have discover data files on the computer otherwise good program does not personal, the machine cannot restart before member possess taken care of immediately program encourages to close new documents otherwise end the procedure.
Example forty: Assign a components ID in order to a heritage product
The newest command uses the device such ID of the unit, ROOT\LEGACY_BEEP\0000, once the beep heritage equipment does not have any tools IDs otherwise suitable IDs. It uses the fresh from the profile () to point your string is a tool particularly ID.
The newest command doesn’t fool around with one symbol variables to place the latest ID. Automagically, DevCon contributes new resources IDs towards end out-of a components ID record. In cases like this, due to the fact unit does not have any almost every other methods IDs, position is irrelevant.
Responding, DevCon screens a message proving that it is additional beep so you can brand new gear ID listing towards device. Moreover it displays brand new ensuing hardware ID checklist. In this situation, there is only 1 technology ID regarding listing.
Analogy 41: Put a components ID to legacy gadgets to the a remote pc
Another demand spends this new DevCon SetHwID procedure to incorporate the newest equipment ID, heritage, on variety of tools IDs for all legacy equipment on brand new Server1 secluded computers.
Brand new command uses the new – icon factor to provide the fresh new hardware ID to your avoid of one’s equipment ID record towards the product, however, if a preferred methods ID has been made for one of your own products. It uses brand new /meters factor in order to identify brand new secluded computer. Moreover it uses a tool such as for example ID pattern, \LEGACY\* , to understand brand new heritage gadgets on the computer, which is, every gizmos whose device such as for instance ID starts with Sources\LEGACY* .
After you designate a comparable apparatus ID to several devices, you need to use one other DevCon functions to gain access to and alter the fresh devices in a single demand.
Example 42: Delete a components ID out of the legacy gizmos into a remote pc
The second command spends the latest DevCon SetHwID operation in order to erase the latest hardware ID, history, in the range of methods IDs for all heritage devices for the the fresh new Server1 secluded pc.
The demand uses the brand new /m factor so you can specify this new remote pc. It uses brand new methods ID, legacy, to identify every devices with you to definitely knowledge ID. escort girls in Escondido CA Then, they spends the newest ! symbol factor to help you delete brand new history methods ID.
Example 43: Include, erase, and you may replace tools IDs
That it show spends a make believe device, DeviceX, towards device such as for example ID, ROOT\DeviceX\0000. Just before having fun with DevCon, the machine had the after the list of apparatus IDs: