Manually manage your POS for .NET devices (POS for .NET v1.14 SDK Documentation)
You can manually perform most Microsoft Point of Service for .NET (POS for .NET) device management tasks without using the POS device manager (posdm.exe).
Manually managing POS for .NET devices
You can manually edit the POS for .NET configuration XML file to replicate most of the functionality available with posdm.exe.
You can find the location of the POS for .NET configuration XML file in the Configuration value under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\POSfor.NET.
The default location for the configuration file is *%ProgramData%\*Microsoft\Point Of Service\Configuration\Configuration.xml
The following table lists posdm.exe commands and the equivalent XML that you must add to the configuration xml file.
Posdm.exe command |
Description |
Configuration.xml |
Example |
ADDDEVICE |
Add a physical non-Plug and Play device. |
|
Posdm.exe command:
Configuration.xml:
|
ADDNAME |
Add a name to a device's list of names. |
|
Posdm.exe command:
Configuration.xml:
|
ADDPROPERTY |
Add a property to a device. |
|
Posdm.exe command:
Configuration.xml:
|
DELETEDEVICE |
Delete a physical non-Plug and Play device. |
Remove the <Device> node. |
|
DELETENAME |
Delete a name from a device's list of names |
Remove the <LogicalName> node. |
|
DELETEPROPERTY |
Delete a property from a device. |
Remove the <Property> node. |
|
DISABLE |
Disable an SO on a POS device. |
Set
|
Posdm.exe command:
Configuration.xml:
|
ENABLE |
Enable an SO on a POS device. |
Set |
|
INFO |
Displays the device properties. |
N/A |
|
LISTDEVICES |
List the POS devices on the target <host>. |
N/A |
|
LISTNAMES |
List the names associated with POS devices. |
N/A |
|
LISTPROPS |
List the properties associated with a device. |
N/A |
|
LISTSOS |
List the POS service objects on the target <host>. |
The service object search paths are all of the values under the registry key: HKLM\Software\Wow6432Node\Posfor.NET\ControlAssemblies The default search path is: %CommonProgramFiles(x86)%\Microsoft Shared\Point Of Service\Control Assemblies\ POS for .NET will attempt to load all service object DLL's found in these paths. |
|
SETDEFAULT |
Set one device as the default of its <type>. |
Set
|
Posdm.exe command:
Configuration.xml:
|
SETPATH |
Sets the non-Plug and Play POS device <path>. |
|
Posdm.exe command:
Configuration.xml:
|