Author Topic: running into windows 10 update issues  (Read 8573 times)

0 Members and 1 Guest are viewing this topic.

Offline djactivator

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 34
  • Karma: 0
    • View Profile
running into windows 10 update issues
« on: February 03, 2020, 05:26:13 am »
Hey everyone,

I am trying to remotely update my friends Windows 10 Pro system, he has an HP all in one desktop PC and when I try to run the updates, it finds a few and says pending, i changed the active times etc to force them to start downloading and they are not, keeps saying pending, tried the upgrade troubleshooter that comes with win 10, same issue.

Please help! Thank you

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: running into windows 10 update issues
« Reply #1 on: February 03, 2020, 05:58:25 am »
Open a Command Prompt (Admin) and enter -

dism /online /cleanup-image /startcomponentcleanup

dism /online /cleanup-image /restorehealth

sfc /scannow

exit

The first two should report as completed successfully and the sfc /scannow should report it has repaired all files or did not find any integrity violations.

The first cmd cleans out obsolete updates from the WinSxS folder.

If that still doesn't gee them on, check that the machine's clock is showing the correct date and time.

If it is, open a Command Prompt (Admin) and copy & paste the following cmds to the prompt where they will auto run except perhaps for the last one where you will need to press enter.

These cmds reset the update components -

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

ren C:\Windows\System32\catroot2 catroot2.old

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

Then enter -

netsh winsock reset

netsh int ip reset resetlog.txt

shutdown /r /t 00

You may need to reconnect the remote access after the reboot.


Offline djactivator

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 34
  • Karma: 0
    • View Profile
Re: running into windows 10 update issues
« Reply #2 on: February 03, 2020, 09:36:47 am »
C:\WINDOWS\system32>dism /online /cleanup-image /startcomponentcleanup

Deployment Image Servicing and Management tool
Version: 10.0.17763.771

Image Version: 10.0.17763.973

[===========                20.0%                          ]
The operation completed successfully.

C:\WINDOWS\system32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.771

Image Version: 10.0.17763.973

[===========================84.9%=================         ]
Error: 0x80d03805

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32>

This is what I get after running the second command as admin in CMD. This is before I ran scandisk

Offline djactivator

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 34
  • Karma: 0
    • View Profile
Re: running into windows 10 update issues
« Reply #3 on: February 03, 2020, 09:56:35 am »
also, after running sfc /scannow, I now get this:

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files but was unable to fix some of them.
For online repairs, details are included in the CBS log file located at
windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.

C:\WINDOWS\system32>

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: running into windows 10 update issues
« Reply #4 on: February 03, 2020, 02:30:39 pm »
I assume the clock was showing the correct date and time ?

Have you run an antimalware scan on the machine.

I would normally advise booting into Safe Mode with Networking and running a scan with the ESET Free Online Scanner.

https://www.eset.com/uk/home/online-scanner/

I'd also advise a scan with AdwCleaner  -  https://www.malwarebytes.com/adwcleaner/

I assume you both know that in Win 10 that wireless is turned off in that mode and you'd normally Ethernet connect.

However, if that isn't practical with a desktop PC then you can manually reconnect to wireless.

When you first boot up into that mode and you have the desktop screen, press CTRL ALT DEL - click on the wireless icon and then on your SSID and then on Connect.

Left click away from that pane to close it then click on Cancel where you will then see a full wireless icon.

If this was my machine there are a couple of procedures I would try but each require Win 10 install media.

Install media, either a DVD or USB can be created after reading https://www.microsoft.com/en-gb/software-download/windows10

I would first boot up with the install media which requires changing the boot order.

This can be done as a one off by tapping F12 as you switch on and using the cursor keys to select the disk drive or USB, but if using an USB then it is best to insert that before tapping F12.

Press enter when the selection has been made and the media is inserted.

If using a DVD then you are normally prompted momentarily to press any key to boot from CD or DVD.

When using a DVD you can be presented with an inverse screen with Windows Setup [EMS Enabled] highlighted - just press enter.

Use the dropdown to change or confirm the keyboard and currency then on the Install screen, select Repair your computer.

Click on Troubleshoot/Advanced options and select Command Prompt.

Enter bcdedit |find "osdevice"

For clarity that is a Pipe symbol before find and is the uppercase of \

Then using that partition letter instead of the X I have exampled, enter -

sfc /scannow /offbootdir=X:\ /offwindir=X:\Windows

Note the space before each /

Depending upon the amount of corruption as to whether either of those will work as I've recently come across where neither did because of corruption caused by an infection.

That may or not fix the corruption, but removing the install media, rebooting and trying the dism /restorehealth and sfc /scannow cmds again in normal mode will show if that is the case.

The second method I would use is a repair install which doesn't affect personal stuff or installed programs.

With the machine booted up, open Windows/File Explorer - This PC - insert the install media and double click on its drive.

This will start the process when using a DVD but will open to its files when using an USB where you would then double click on setup.exe Application.

This can take 3 - 4hrs.

Hopefully, either will resolve the machine's problems.




« Last Edit: February 03, 2020, 03:08:56 pm by Boggin »