Not all pens / stylus models work with all computers.
HP supports the model of stylus for the computer models listed in the compatibility document (link below).
The stylus document is updated as new information becomes available
If you have a different model computer (than those listed) and / or you are trying to connect a different brand of pen (than those included in the document), the stylus may -- or may NOT -- work as expected.
Hardware platforms include (and may not be limited to): HP Active Pen, HP Elite x2 1012 G2, HP EliteBook x360 1030 G2, HP Pro x2 612 G2 Tablet, HP Pro x2 612 G2 Tablet (ENERGY STAR), HP Pro x2 612 G2 Tablet Bundle, HP Pro x2 612 G2 with Keyboard