rewrisk

Active Member
Joined
Feb 3, 2017
Messages
16
I learnt some time ago that you could delete the information that builds up in the software distribution folder and that has kept me going but a few months ago I noticed windows was holding onto data somewhere else after an update for a few weeks then it would just disappear. With the last update however that did not happen, perhaps because windows does not recognize the update was successful despite it actually being installed? However I have not been able to install the latest update manually because there is not enough room left on the hard drive 2.98Gb, to do so. I am usually left with about 5Gb but even after manually moving driver backup files, deleting software distribution download files, deleting a bunch of old HP log files, running disk cleanup and clean up system files I only have 2.98 Gb. I moved all the Apps windows would allow to a memory card ages ago though windows claims Apps are taking up 8.1Gb which has jumped from 5 something Gb for no reason I know of? Help please!
 


Solution
First off open an powershell (admin) prompt [windows key + x] then select 'Windows PowerShell (admin)

Type the following to verify the update is installed
Get-HotFix | ? { $_.HotFixId -like "*4089848*" }

If it returns something it should be there.

If it's there then do the following in the powershell prompt

Stop-Service wuauserv
Stop-Service bits


Remove-Item C:\Windows\SoftwareDistribution\ -Force -Recurse

Start-Service bits
Start-Service wuauserv


Then re-run Windows Updates. The directory should be recreated and hopefully that update will not try to reinstall.
Then you're not running powershell elevated. It should say Admin in the title bar

Ok
Done
Sorry
Still attempting to download KB4089848 but I haven't seen the DOS window running installutil in a little while?
 


From an elevated powershell prompt again try running Get-BitsTransfer -AllUsers if you have anything returned you may want to try purging the jobs with

Get-BitsTransfer -AllUsers | Remove-BitsTransfer
 


From an elevated powershell prompt again try running Get-BitsTransfer -AllUsers if you have anything returned you may want to try purging the jobs with

Get-BitsTransfer -AllUsers | Remove-BitsTransfer

Unauthorized?
 


Attachments

  • RemoveBitsTransfer.webp
    RemoveBitsTransfer.webp
    63 KB · Views: 297
You'll need to download psexec then from an elevated powershell or command prompt change directory (cd) to where psexec is and run psexec -i -s powershell.exe

This should launch a powershell prompt as the system user (be very careful what you do in this shell as it's running as the system account) Then rerun the Get-BitsTransfer -AllUsers | Remove-BitsTransfer
 


You'll need to download psexec then from an elevated powershell or command prompt change directory (cd) to where psexec is and run psexec -i -s powershell.exe

This should launch a powershell prompt as the system user (be very careful what you do in this shell as it's running as the system account) Then rerun the Get-BitsTransfer -AllUsers | Remove-BitsTransfer

I read that is to execute commands on a remote system.
 


That's one thing it can do, but in this case it's run powershell at a higher privilege than administrator
 


Back
Top