Quantcast
Channel: All Business PCs, Workstations and Point of Sale Systems posts
Viewing all articles
Browse latest Browse all 36020

ThinPro alternative Commands in Registry

$
0
0

Hello,

 

we are using HP T620 with ThinPro 5.2 to connect to our Citrix environment.

We have two commands set in registry

 

  1. Shutdown Command after session logoff
  2. Shutdown Command in case of inactivaty before user log in

To 1)

 

We have set following registry value (command):

 

sudo halt

 

to the registry key:

 

root/ConnectionType/xen/connections/<UUID>/ afterStoppedCommand

 

The command works, but now everytime we want to restart or logoff the local user, this command will be execute and the device turns off.

 

To 2)

 

We have set following registry value (command):

 

bash -c "(sleep 300; wmctrl -lx | grep process-connection.Process-connection > /dev/null && sudo halt)&"

 

to the registry key:

 

root/ConnectionType/xen/connections/<UUID>/ beforeStartingCommand

 

This command works too, but this has an impact on our device status in HPDM. So every device which shuts down after five minutes is still ONLINE on our HPDM. 

 

Any one has got similar functions and perhaps another solution?

 

Kind regards

Lukas

 


Viewing all articles
Browse latest Browse all 36020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>