• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
HP Pavilion 17-inch Displays
Microsoft Windows 10 (64-bit)

I installed the HP Support Assistant. If I try to check for updates with my battery in my computer shuts off. If I take the battery out I get this error message.      

 

************** Exception Text **************

System.Xml.XmlException: Invalid XML document. The document does not have a root element.

   at System.Xml.XmlDocument.Save(String filename)

   at HPSSFUpdater.UpgradeUpdater.IsUpdateNeeded()

   at HPSSFUpdater.View.MainWindow._bgWorker_DoWork(Object sender, DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)    

 

Now my computer randomly shuts down. How do I fix?

3 REPLIES 3
HP Recommended

@Hoppy927

 

Welcome to the HP Forums, this is a great location to get assistance! I read your post and see that you are getting invalid xml document message when you run HP Support Assistant. I would like to help you resolve this issue.

 

However, I will need a few details to provide an accurate solution,

When did this issue start?

Did you do any hardware or software changes?

 

Meanwhile

 

Uninstall and reinstall the battery drivers from device manager

  1. Click Start

    windows icon

    , type Device Manager in the Start Search box, and then press ENTER.
  2. Click Continue. The Device Manager dialog box is displayed.
     

    Notice icon


    If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  3. In the list of device types, click the kind of device, and then locate the specific device that is not functioning.
  4. Right-click the device, and then click Properties.
  5. Click the Battery Driver tab.
  6. Click Uninstall.
  7. Click OK.
  8. In the Device Manager dialog box, click the Action menu, and then click Scan for hardware changes.
    • You may receive a message that states that Windows has to install driver software for your unknown device. If you receive this message, click Locate and install driver software (recommended).
    • You may also receive a message that states that a hardware device is being installed and that the uninstalled device is now present in Device Manager.

Update the Bios

Click here and refer the document to update the bios.

 

Run test and calibrate the battery

Follow the HP Document to run test on the battery.

 

Let me know how it goes.

Cheers.

 

Sandytechy20
I am an HP Employee

HP Recommended

My problem started as a random shut down problem.  Nothing new installed. I tried testing my battery and my computer shut off. I replaced the battery. Recalibrated it. Uninstalled the driver and reinstalled it. Updated BIOS. Uninstalled the HP Assistant and reinstalled. Can't run the HP Assistant and if I do a battery test my computer shuts down. Also will randomly shut down if I have the battery in but not if I run on the ac. 

HP Recommended

@Hoppy927

 

Thanks for the reply.

I appreciate your time and effort.

 

As you have already tried these steps and still having the issue, I would personally suggest you contact our HP phone support for further assistance. If your product is Out of warranty then remember to choose the paid options to get the tech support number.

 

They might have multiple options to help you on this.

 

Please use the following link to create yourself a case number, then call and it may help speed up the call process:

Step 1. Open link: www.hp.com/contacthp/

Step 2. Enter Product number or select to auto detect

Step 3. Scroll down to "Still need help? Complete the form to select your contact options"

Step 4. Scroll down and click: HP contact options - click on Get phone number and phone number appear.

They will be happy to assist you immediately.

 

Keep me posted for any other assistance,

Cheers

Sandytechy20
I am an HP Employee

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.