Forum Discussion
Pete_29020
Nimbostratus
Jul 10, 2008Policy Checks --> Check Windows Registry
Hi All,
I'm using the "Check Windows Registry" policy check for the VPN Connection.
This key will determine if the laptop is a member of the domain I specify.
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"."DefaultDomainName"=""
What I want to be able to do is to have multiple registry keys that it checks against and if one returns negative then the user doesn't connect.
I want to use the additioanl registry key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"."DefaultUserName"="session.user.username"
So the logic is:
1. Check to make sure the PC they're using is on the company's domain
2. AND the username logged into Firepass is the same as the domain username logged into the PC - this helps to make sure certain drive mappings are happed correctly.
Each key works perfect on their own, but I'm not sure if I can use multiple keys in an "AND" logic situation.
OR if someone knows how to verify the PC they're using is a company machine then let me know. (I know these 2 checks will be unique to our company's internal domain.)
When I add the strings one after the other, it only seems to look at the first one and ignore the second.
Thanks!
-Pete
- mal_57091
Nimbostratus
Hi Pete, - Pete_29020
Nimbostratus
Thanks Mal, - mal_57091
Nimbostratus
Pete, - Pete_29020
Nimbostratus
You nailed it Mal. - mal_57091
Nimbostratus
Pete,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects