Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

APM: Registry Check

Hello, I'm aiming to restrict accessing to our VPN through your machine only....

so I tried to check machine username registry it works for fixed name "usr1", but it doesn't work for session variable as below, So is there any way to use session variables? "HKEY_CURRENT_USER\Volatile Environment"."USERNAME" = "%session.logon.last.username"

Also is there any way to check the return value of windows registry?, as the information is very poor, it's indicating the result only "success/failed"

0
Rate this Question
Comments on this Question
Comment made 03-Jul-2017 by refra 431

Any recommendation for this inquiry!

0

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi,

Remember that Windows has separate storage for registry keys used by 32-bit and 64-bit application. In order to check the return value of windows registry, you could use the Logging Agent after the registry check to store the session variable that you want.

Please check the following resources:

https://support.f5.com/csp/article/K12004

https://support.f5.com/csp/article/K12005

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi,

Did you try with this format?

"HKEY_CURRENT_USER\Volatile Environment"."USERNAME" = "%{session.logon.last.username}"
0