United Kingdom Endpoint Management User Group

 View Only
Expand all | Collapse all

pcaNSHost.BHF File is not a Valid pcAnywhere file

Migration User

Migration UserApr 20, 2012 07:56 AM

Migration User

Migration UserApr 23, 2012 06:45 PM

  • 1.  pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 18, 2012 11:00 AM

    I upgraded our Altiris CMS pcAnywhere solution on Friday to 12.6.8096 and now PCs are coming up with the following error.

     

    Anyone got a resolution to this?

    Cheers,

    Chris



  • 2.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 18, 2012 01:14 PM

    Sounds like the host file is corrupted.  The BHF file is the host file.   If you rename the current file will it be rebuilt correctly next time the system reboots or launches pcA?

    Cheers,.



  • 3.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 02:26 AM

    its began after upgrade to  12.6.7 .

    there is any solution ?!



  • 4.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 04:25 AM

    Hi Chris & Barak,

    Please let us know the ITMS and pcA version prior ro upgrade?

    Thanks,

    Vaibhav



  • 5.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 05:18 AM

    We started having the problem after upgrading to the latest version as well.

    The previous version we were running is 12.5.0.1021

     

    Cheers

    Kevin



  • 6.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 06:35 AM

    Hi Kevin,

    12.5.0.1021 seems to be box version, please share the solution version from SIM. Becasue there is an issue going on where if any one on ITMS 7.0 (32bit verision) selects the pl released to upgrade directly to latest pcA release; issues are comming.

    Thanks,

    Vaibhav



  • 7.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 06:41 AM

    last month i upgrade the smp server from 7.1 sp1->> sp2

    yesterday i also upgrade pcanywhere from 12.6 sp2 hf1 ->> 12.6.7

    i saw that after the agent updated in the workstations the symantec pcanywhere host service i down and when i start him he become stop again, and in the client side there is a error massage:

     

     



  • 8.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 06:56 AM

    Hi Vaibhav

    We are running ITMS 7.1 SP2 (64bit).  What do you mean by box version?

     

    Thanks

    Kevin



  • 9.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 07:23 AM

    Tried deleting the file to see if it would get recreated and it doesn work



  • 10.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 07:41 AM

    Thanks Barak.

    I am trying to reproduce the issue on my setup. Will give the inputs here as soon as possible.



  • 11.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 07:42 AM

    Thanks Kevin for letting us know in detail.

    I am trying to reproduce the issue on my setup. Will give the inputs here as soon as possible.



  • 12.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Trusted Advisor
    Posted Apr 19, 2012 10:56 AM

    Me too.  I just deployed PCAnywhere fresh to roughly 5000 computers and fortunately I have 7 (that I know about!) displaying this error.

    I was completely current on everything.



  • 13.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Trusted Advisor
    Posted Apr 19, 2012 11:38 AM

    Deleting the file and replacing it from a working computer does not help.



  • 14.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 02:31 PM

    Same as Kevin. Updated my Altiris to 7.1Sp2, rolled out new pcAnywhere agent (12.6.8096) and several PC's are displaying the same message. Help



  • 15.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 19, 2012 02:54 PM

    The new version locks the host and caller files to the machine so they can't be portable.   

    cheers,



  • 16.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 05:38 AM

    Just to give everyone an update, I've just had a call from symantec support to say that the update was not meant to be released to SIM and that the development team are currently working on a fix likely uninstall the new version and install the previous version

     

    Cheers

    Kevin



  • 17.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 07:08 AM

    Hello Kevin,

    Could you please try the blow steps?

     

    1. Please collect pcaNSHost.BHF file from the machine where setup is working fine.
    2.We need to run awFileMgr.exe utility with /DecryptBeHost command line switch on the captured file (The machine where new version of pcAnywhere is upgraded).
    3. To use awFileMgr.exe utility, start command prompt and browse to the PCA installed directory. For e.g. I have installed PCA at C:\Program Files\Symante\pcAnywhere.
    4. Description of /DecryptBeHost switch, awFileMgr.exe /DecryptBeHost “Hosts directory full path” “Name of Host file” “Target location”. For e.g. awFileMgr.exe /DecryptBeHost “C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts” “pcaNSHost.bhf” “C:\Temp”
    5. After executing above command, we can find the decrypted file at C:\Temp location in Export folder.
    6.Now we can move this exported pcaNSHost.bhf file to the machine where we are getting invalid file error.
    7. Take the backup of existing file from C:\ProgramData\Symantec\pcAnywhere\Hosts and replace the file with newer one.
    8.Re-Start the host service. 
     

     

    Thank you!


  • 18.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 07:35 AM

    Hi Ashish

    The command fails when I run it.

    Cheers, Kevin

    C:\Program Files\Symantec\pcAnywhere>awFileMgr.exe /DecryptBeHost "C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts" "pcaNSHost.BHF" "C:\Temp"
    [C:\Program Files\Symantec\pcAnywhere\awcfgmgr.dll] Starting InitialCheck()...
    [C:\Program Files\Symantec\pcAnywhere\awcfgmgr.dll] IsIntegrityEnabled: RegQueryValueEx failed (RingNumToCall)
    [C:\Program Files\Symantec\pcAnywhere\awcfgmgr.dll] IsIntegrityEnabled: Integrity Flags indicate 0
    [C:\Program Files\Symantec\pcAnywhere\awcfgmgr.dll] IsFullSystemCheck: RegQueryValueEx() failed! (Permission Problem?) (2)
    [C:\Program Files\Symantec\pcAnywhere\awcfgmgr.dll] Finished InitialCheck() -- Status = 1
    [C:\Program Files\Symantec\pcAnywhere\awgui32.dll] Starting InitialCheck()...
    [C:\Program Files\Symantec\pcAnywhere\awgui32.dll] IsIntegrityEnabled: RegQueryValueEx failed (RingNumToCall)
    [C:\Program Files\Symantec\pcAnywhere\awgui32.dll] IsIntegrityEnabled: Integrity Flags indicate 0
    [C:\Program Files\Symantec\pcAnywhere\awgui32.dll] IsFullSystemCheck: RegQueryValueEx() failed! (Permission Problem?) (2)
    [C:\Program Files\Symantec\pcAnywhere\awgui32.dll] Finished InitialCheck() -- Status = 1
    [C:\Program Files\Symantec\pcAnywhere\PCACMNDG.dll] Starting InitialCheck()...
    [C:\Program Files\Symantec\pcAnywhere\PCACMNDG.dll] IsIntegrityEnabled: RegQueryValueEx failed (RingNumToCall)
    [C:\Program Files\Symantec\pcAnywhere\PCACMNDG.dll] IsIntegrityEnabled: Integrity Flags indicate 0
    [C:\Program Files\Symantec\pcAnywhere\PCACMNDG.dll] IsFullSystemCheck: RegQueryValueEx() failed! (Permission Problem?) (2)
    [C:\Program Files\Symantec\pcAnywhere\PCACMNDG.dll] Finished InitialCheck() -- Status = 1
    [C:\Program Files\Symantec\pcAnywhere\awio.dll] Starting InitialCheck()...
    [C:\Program Files\Symantec\pcAnywhere\awio.dll] IsIntegrityEnabled: RegQueryValueEx failed (RingNumToCall)
    [C:\Program Files\Symantec\pcAnywhere\awio.dll] IsIntegrityEnabled: Integrity Flags indicate 0
    [C:\Program Files\Symantec\pcAnywhere\awio.dll] IsFullSystemCheck: RegQueryValueEx() failed! (Permission Problem?) (2)
    [C:\Program Files\Symantec\pcAnywhere\awio.dll] Finished InitialCheck() -- Status = 1
    [C:\Program Files\Symantec\pcAnywhere\awofrwrk.dll] Starting InitialCheck()...
    [C:\Program Files\Symantec\pcAnywhere\awofrwrk.dll] IsIntegrityEnabled: RegQueryValueEx failed (RingNumToCall)
    [C:\Program Files\Symantec\pcAnywhere\awofrwrk.dll] IsIntegrityEnabled: Integrity Flags indicate 0
    [C:\Program Files\Symantec\pcAnywhere\awofrwrk.dll] IsFullSystemCheck: RegQueryValueEx() failed! (Permission Problem?) (2)
    [C:\Program Files\Symantec\pcAnywhere\awofrwrk.dll] Finished InitialCheck() -- Status = 1
    Incorrect command line. Please type /? for help.



  • 19.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 07:49 AM

    Hi Kevin,

    Are you having Administrator rights on the machine? We need Admin rights to access Hosts folder of Application Data.

    Thank you!

     



  • 20.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 07:56 AM

    Yes I'm logged in as an administrator



  • 21.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 08:15 AM

    Hi Kevin,

    Could you just paste out put of awFileMgr.exe /? command?

    Thank you!



  • 22.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 08:35 AM

    Although this issue is cmg to many forum users now but I was not able to reproduce it on my setup.



  • 23.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 08:36 AM

    Although this issue is cmg to many forum users now but I was not able to reproduce it on my setup.



  • 24.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 09:07 AM

    It looks like the same errors appear when this command is run but the screen is quickly cleared then the expect command options are show:

    awFileMgr.exe
            /ImpInstalledFiles
            /DecryptTemplates "template output directory"
            /EncryptBeHost "host input directory" "host file"
            /EncryptCallHost "call host input directory" "call host file"
            /EncryptCaller "caller input directory" "caller file"
            /DecryptBeHost "host input directory" "host file" "host output directory"
            /DecryptCallHost "host input directory" "call host file" "call host output directory"
            /DecryptCaller "caller input directory" "caller file" "caller output directory"

      ImpInstalledFiles will encrypt all the files in the default installation locations.
      Decryptions will copy files to the specified directory plus "Export" added by the IO engine.
      Encryptions will overwrite existing files in the input directory.



  • 25.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 20, 2012 10:08 AM

    We have deployed the following script to stop the error appearing in the mean time until a fix can be found.

    net stop awhost32
    SC config awhost32 start= disabled

    We aren't actually using PC Anywhere at this point as we are still rolling out Altiris to clients.

    We have also had major complaints about overall network performance since the upgrade of the PC Anywhere client was deployed last Friday and we can't be sure that the issues aren't related.

    Thanks

    Chris



  • 26.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 23, 2012 05:15 PM

     

    Could you send me the justification of this issue ? Because  I need to give an explanation of it to my client.

    File is not valid pcAnywhere file

    C:\ProgramData\Symantec\pcAnywhere\Hosts\pcaNSHost.bhf

    I just deployed PCAnywhere fresh to roughly 5000

     

     

    Thanks

     



  • 27.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 23, 2012 06:45 PM

    Somebody has one solution for this issue ?



  • 28.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 24, 2012 03:49 PM

     

    Hi all,
    I have the same problem in a 2000 PCs environment, we use PcAnywhere for service desk, and now we can't connect to customers.
     
    Is possible do a downgrade to the previous version ? Or please let me know asap a solution about that !
     
    Thanks


  • 29.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 24, 2012 04:18 PM

    Hi everybody

    Friends who use Altiris 7.1, we can do about this big problem that we are presenting.
    What was the root cause and especially as we move forward with the administration of our console?

     

    Regards !  Saludos !



  • 30.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 25, 2012 10:45 AM

    Please let me know if [HOWTO75111] http://www.symantec.com/business/support/index?page=content&id=HOWTO75111 can be of some use for you at this time.

    Thanks,

    Vaibhav



  • 31.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 29, 2012 12:27 PM

    Machnes are getting pop up upon bootup, cannot remote machines any more, and there appears to be no uninstall allowed via the SIM for this update.

    We need a fix fast!



  • 32.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted Apr 30, 2012 06:56 PM

    So I updated to the 12.6.8096 also and I am was also seeing the same issues as most of you, this is how and what I did to fix my issues.

    First - on your Console make sure you have "Encryption Level" set to AES256, mine was set to None and they refuse to talk with None selected.

     

    Second - the devices that are recieveing the error displayed below will need to be reinstalled using the Uninstall command pcAClientInstallManager.exe /uall

    and THEN the reinstall command pcAClientInstallManager.exe /iall

     

    All of my devices are windows XP SP3, hope this helps someone out.

     



  • 33.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted May 01, 2012 12:47 AM

    Thanks Ray, 

    The mismatched encryption I am told is working as intended.   If you want to use no encryption you have to use the console and select advanced and then none for the encryption level.   I have seen good luck also with the uninstall and then reinstall.   It seems the upgrade is what was not going well.  

    cheers.



  • 34.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted May 01, 2012 08:02 AM

    Here is the article to track to see developments on this issue and hopefully a corresponding fix

    http://www.symantec.com/docs/TECH187737

     

     



  • 35.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Trusted Advisor
    Posted May 01, 2012 12:19 PM

    For me uninstallation and reinstallation did not solve the problem.  The workaround posted in the TECH article below got me running again.



  • 36.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Trusted Advisor
    Posted May 01, 2012 05:46 PM

    Based on the TECH article I whipped together this script that I threw in DS 6.9:


    REM Checks and Fixes PCAnywhere Host

    for /F "tokens=3 delims=: " %%H in ('sc query awhost32 ^| findstr "        STATE"') do (
      if /I "%%H" NEQ "RUNNING" (

     

    del "C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\ADS*.CIF"  
    copy /Y "\\MYDSSERVER\Software\Symantec\PCAnywhere\SMP\InvalidFileFix\pcANSHost.BHF" "C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\pcANSHost.BHF"
    copy /Y "\\MYDSSERVER\Software\Symantec\PCAnywhere\SMP\InvalidFileFix\ads.MYDOMAIN+altiris remote control - Standard.cif" "C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\ads.MYDOMAIN+altiris remote control - Standard.cif"
    copy /Y "\\MYDSSERVER\Software\Symantec\PCAnywhere\SMP\InvalidFileFix\ads.MYDOMAIN+altiris remote control - SuperUser.cif" "C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\ads.MYDOMAIN+altiris remote control - SuperUser.cif"

    "C:\Program Files\Symantec\pcAnywhere\awFileMgr.exe" /EncryptBeHost "C:\Documents and Settings\All Users\application data\Symantec\pcAnywhere\Hosts" "pcANSHost.BHF"
    "C:\Program Files\Symantec\pcAnywhere\awFileMgr.exe" /EncryptCaller "C:\Documents and Settings\All Users\application data\Symantec\pcAnywhere\Hosts" "ads.MYDOMAIN+altiris remote control - Standard.cif"
    "C:\Program Files\Symantec\pcAnywhere\awFileMgr.exe" /EncryptCaller "C:\Documents and Settings\All Users\application data\Symantec\pcAnywhere\Hosts" "ads.MYDOMAIN+altiris remote control - SuperUser.cif"
       net start awhost32

      )
    )


    If you haven't read the TECH article yet you absolutely need to before you try this script as you won't have the desired files without generating them yourself.

    This script queries to see if the "Symantec PCAnywhere Host Service" (awhost32) is running and exits if it is.  If the service is present and NOT running then it copies the files from a network share, imports/encrypts them, and then starts the service.

    NOTE:  the above syntax is for Windows XP.  Windows 7 will be slightly different but that's covered in the TECH article.

    Edited to obscure our domain info.

    Edited again to add a "del" line to the script.



  • 37.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Trusted Advisor
    Posted May 01, 2012 05:47 PM

    I added the following line to the script before the .CIF file copy:

    del "C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\ADS*.CIF"  
     

    This was necessary as some of my machines had additional garbage CIF files present.  Also, not all of our computers were fixed after overwriting the existing .CIF files.  I needed to delete them and put down my fresh copy.

     



  • 38.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted May 02, 2012 03:04 PM

    We started getting the same errors after rolling out new pcAnywhere agent.  Thankfully we have only had it reported on about 20 systems.  I fixed it by replacing the file on the PC from a backup copy I had from 6 months ago when I had built a uninstall/reinstall script for pcAnywhere.  Replacing it with this old file and then restarting the services fixed the problem.  For some reason the upgrade corrupts the file on some PCs.

    Another annoying piece that happened was once your computer received the new version you could only remote into systems that were also running the new version.  This made it so that we had to do a shotgun upgrade.  Very Very poor planning Symantec!!!!  Its a shame that pcAnywhere has become the hated step-child at Symantec and receives very little support and updates.  When it is finally updated they are poorly tested and cause all sorts of issues. I would highly recommned to everyone to not use pcAnywhere.  It is very problematic, slow, and missing many critical features.

    I also didn't like the above statement from support that said it was released to SIM prematurely.  I have heard that statement many times from Symantec on products.  HOW DOES THAT EVEN HAPPEN???  That is just another example of poor quality control and lack of oversight and groups communicating internally.

    Symantec has ruined Altiris.  Another great company and product that has been destroyed.



  • 39.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted May 02, 2012 03:48 PM

    Agreed. Because there's no transitional phase where I can temporarily keep the newer version talking to the older version (for instance, a 2-week window, so I could arrange to get on site at branch locations where I don't have technical help), I can't do the upgrade without losing contact with some of my branches; also, because of the encryption being tied to individual computers and no export function built into the GUI (you'd think that would be a no-brainer), there's no longer any practical way to transfer config files (CHF, BHF, CIF) between installs.

    But there's another way to look at this, and that is that because pcAnywhere was treated as an unwanted step-child, it took them a lot longer than it otherwise would have to senselessly and irretrievably mess it up.

    On the other hand, Backup Exec was a wanted step-child, and it also took them a long time to senselessly and irretrievably mess it up, which they've just finally gotten around to doing with the recently-released BE2012. With both BE and pcAnywhere I'm simply sticking with the current versions.

    We need a new verb to describe this phenomenon. I propose "to symanteck," meaning "to senselessly and irretrievably, and with no apparent user benefit, screw around with and completey mess up an otherwise useful software product." Usage: "I used to love pcAnywhere, but they've gone and symantecked it."

    GaryK



  • 40.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted May 02, 2012 04:04 PM

    Just an update:

    We have also had to replace the Pcanshost.bhf on some devices with the script posted by hightower with some modifications, you can single these out by the stopped service on the device.  Points to you sir for posting a fix.



  • 41.  RE: pcaNSHost.BHF File is not a Valid pcAnywhere file

    Posted May 25, 2012 11:36 AM

    received the offical solution this morning....

    .http://www.symantec.com/business/support/index?page=content&id=TECH187737