Configure Hyper-V Guest Relay
| 0 Votes |
Description
Property Details
| 3627 | |
| Beta - Preliminary testing ready for more | |
| Configure Hyper-V Guest Relay | |
| BES | |
| Configuration | |
| danielheth@bigfix.me | |
| <Unspecified> | |
| <Unspecified> | |
| 7/20/2012 12:00:00 AM | |
| hyper-v | |
| danielheth on 10/22/2013 1:08:45 PM | |
| danielheth on 10/22/2013 1:08:45 PM | |
| 2752 Views / 6 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
isWindows (Relevance 274)
name of operating system starts with "Win"
| Used in 2 fixlets | * Results in a true/false |
exists key "Guest" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine" of native registry
| Used in 2 fixlets | * Results in a true/false |
exists value "PhysicalHostNameFullyQualified" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters" of native registry
| Used in 2 fixlets | * Results in a true/false |
(value "RegisteredOrganization" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) = "Moran IT"
| Used in 2 fixlets | * Results in a true/false |
if exists setting "__RelayServer1" of client then NOT( (value of setting "__RelayServer1" of client as string) contains (value "PhysicalHostNameFullyQualified" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters" of native registry as string) ) else true
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
//1. configure manual relay selection
setting "__RelaySelect_Automatic"="0" on "{now}" for client
//now configure host server
setting "__RelayServer1"="http%3a%2f%2f{value "PhysicalHostNameFullyQualified" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters" of native registry}%3a52311%2fbfmirror%2fdownloads%2f" on "{now}" for client
//keep client settings clean, delete unneeded settings
setting delete "__RelayServer2" on "{now}" for client
setting delete "_BESClient_RelaySelect_TertiaryRelayList" on "{now}" for client
setting delete "_BESClient_RelaySelect_FailoverRelay" on "{now}" for client
//also clear the HostSelector value since it is the "cache" for the relay to talk to
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions]" "HostSelector"=""
relay select
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |

