You can use PCO ID Retrieval if you use a PCO capable terminal emulator, such as Client Access/400's PC5250 emulator. If you want to use the PCO method to retrieve the WE/400 client PC ID, you must configure this option on the AS/400. You can use the SETRTVID command or option 11 on the WE/400 configuration menu. Set the mode to *PCO.
For the PCO method to work, the PCO ID retrieval program must be registered in the Windows registry. When you install WindowsEnabler/400, this registration is performed during the installation. If you use a network installation of WindowsEnabler, you must make sure that this registration is performed on every machine on which you use WindowsEnabler.
You must have the appropriate authority when you try to edit the registry and/or install this feature.
You can register the PCO ID retrieval program in three ways:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 <inf file location>
<INF file location> should be the full-qualified path to the wepcoid.inf file. This is "c:\program files\WindowsEnabler\wepcoid.inf" by default. You can use this command for example in a batch installation or configuration tool.
There are two ways to remove the registration:
rundll32.exe setupapi,InstallHinfSection DefaultUnInstall 132 <inf file location>
<INF file location> should be the full-qualified path to the wepcoid.inf file. This is "c:\program files\WindowsEnabler\wepcoid.inf" by default. You can use this command for example in a batch installation or configuration tool.
You can configure three options for the PCO ID retrieval program. Configuring these options requires changes to the wepcoid.inf file. Do not make any changes to the wecoid.inf file itself, but create a copy. After creating a copy, you must perform two actions:
[Strings]...WEINF="C:\Program Files\WindowsEnabler\wepcoid.inf"...By default, WindowsEnabler/400 registers the PCO ID retrieval program for all users on a specific machine. You can change this, such that it is registered only for a specific user.
If you use this method, you have to register the PCO ID retrieval program for every user on every machine that he or she uses.
By default, the PCO ID retrieval registration generates uninstall information. A user can then remove the registration through the "Add/Remove Software" control panel. You can disable this option.
[DefaultInstall]AddReg=WE.WhoAreWe.Reg, WE.Uninst.Reg[DefaultInstall]AddReg=WE.WhoAreWe.RegWhen the wepcoid.inf file or the WindowsEnabler executables do not reside in their default locations, you should change their locations in your copy of the wepcoid.inf file.
[Strings]...WEINF="C:\Program Files\WindowsEnabler\wepcoid.inf"WEDIR="C:\Program Files\WindowsEnabler"...