RC - Generate new GUID for BigFIx RC Targets - Windows
Log In or Register to download the BES file, and more.

0 Votes

Description

Kills the BigFix Remote Control Target Processes, resets the config file to remove the GUID if it exists, then starts the service.
Related to https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0120396

Property Details

ID27386
StatusBeta - Preliminary testing ready for more
TitleRC - Generate new GUID for BigFIx RC Targets - Windows
DomainBESC
SourceInternal
Source Release Date8/29/2025 12:00:00 AM
KeywordsRemote Control, GUID, Reset
Is TaskTrue
Added by on 9/9/2025 4:47:11 PM
Last Modified by on 9/9/2025 4:47:11 PM
Counters 683 Views / 0 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


Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
delete __createfile
createfile until __ENDCREATE
__ENDCREATE

waithidden cmd.exe /C taskkill /im trc_base.exe /f
waithidden cmd.exe /C taskkill /im trc_gui.exe /f
pause while {exists running application "trc_base.exe"}
pause while {exists running application "trc_gui.exe"}

if {exists file "C:\ProgramData\BigFix\Remote Control\tgt_info.properties"}
copy "C:\ProgramData\BigFix\Remote Control\tgt_info.properties" "C:\ProgramData\BigFix\Remote Control\tgt_info.properties.bak"
delete "C:\ProgramData\BigFix\Remote Control\tgt_info.properties"
endif

copy __createfile "C:\ProgramData\BigFix\Remote Control\tgt_info.properties"

waithidden cmd.exe /C sc start trctarget

delete __createfile
Success Criteria

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


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
Might make sense to call cmd.exe /C sc stop trctarget at the start instead of only trying to kill the processes. Also, these pause while statements don't have a timeout, so they could hang indefinitely if you don't have an action timeout set.