Configure Registered Organization and Owner
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will configure the RegisteredOrganization and RegisteredOwner string values within the registry. 

For Windows:  These keys are located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

For Non-Windows:  These will be stored within Client Settings.


Property Details

ID86
TitleConfigure Registered Organization and Owner
DomainBES
CategoryConfiguration
Download Size0
Sourcedanielheth@bigfix.me
Source ID<Unspecified>
Source Severity<Unspecified>
Source Release Date5/24/2012 12:00:00 AM
KeywordsThese Configure Registered Organization Owner
Added by on 10/17/2012 9:31:55 AM
Last Modified by on 10/17/2012 9:37:44 AM
Counters 4455 Views / 5 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 97 fixlets and 101 analyses   * Results in a true/false
Show indented relevance
true

Actions

Action 1 (default)

Action Link Click here to configure values.
Script Type BigFix Action Script
action parameter query "Organization" with description "Please enter the name of your Organization (Ex: Moran IT):" and with default value ""
action parameter query "Owner" with description "Please enter the Owner's name (Ex: Daniel):" and with default value ""
if {name of operating system starts with "Win"}
if {x64 of operating system}
     if {parameter "Organization" != ""}
        regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]" "RegisteredOrganization"="{parameter "Organization"}"
     endif
     if {parameter "Owner" != ""}
        regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]" "RegisteredOwner"="{parameter "Owner"}"
     endif
endif
if {parameter "Organization" != ""}
    regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]" "RegisteredOrganization"="{parameter "Organization"}"
endif
if {parameter "Owner" != ""}
    regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]" "RegisteredOwner"="{parameter "Owner"}"
endif
if {parameter "Organization" != ""}
    continue if {(value "RegisteredOrganization" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) = (parameter "Organization")}
endif
if {parameter "Owner" != ""}
    continue if {(value "RegisteredOwner" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) = (parameter "Owner")}
endif
else
if {parameter "Organization" != ""}
    setting "Registered Organization"="{parameter "Organization"}" on "{parameter "action issue date" of action}" for client
else
setting delete "Registered Organization" on "{now}" for client
endif
if {parameter "Owner" != ""}
    setting "Registered Owner"="{parameter "Owner"}" on "{parameter "action issue date" of action}" for client
else
setting delete "Registered Owner" on "{now}" for client
endif
endif
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Click here to deploy this action.
Script Type URL
http://danielheth.com/2012/05/30/how-to-tattoo-your-bigfix-endpoints/
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!