Jump to content

[Solved] Update issue


Betts1964

Recommended Posts

Hi, I am having issues with my desktop.I was trying to use windows update feature and it was stuck on the following file:

https://imgur.com/JeJTlG0  

I posted the issue on a pc forum and they suggested I run the following scripT:

Code:

Spoiler

Function Reset-WindowsUpdate
{
<#
    .SYNOPSIS
        Cleans-up Windows Update containers and resets all dependent services to their default state.
  
    .DESCRIPTION
        Stops all Windows Update dependent services and cleans all directories used by Windows Update.
        Regenerates the default file structure that Windows requires for proper Windows Update Service access and authentication.
        Returns all dependent files, discretionary access control lists and permissions back to their default state.
        Restarts all Windows Update dependent services that were stopped at the beginning of the reset process.
        Allows for the system to be rebooted after the reset to clear cache storage reserves and apply the default service discretionary access control lists.
  
    .EXAMPLE
        PS C:\> Reset-WindowsUpdate
  
    .NOTES
        Does not reset any Group Policy settings applied in the registry.
        Works with the latest Windows 10 builds and does not revert custom policy settings set in Group Policy.
        It is highly recommended to restart the system after running the reset to clear additional system cache reserves and to apply the default service discretionary access control lists DACLs.
#>
    
    [CmdletBinding(ConfirmImpact = 'High',
                   SupportsShouldProcess = $true)]
    Param ()
    
    Begin
    {
        If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
        {
            Write-Warning "This script requires elevated access. Please relaunch Reset-WindowsUpdate with administrator permissions."; Break
        }
        $DefaultErrorAction = $ErrorActionPreference
        $DefaultProgressPreference = $ProgressPreference
        $ErrorActionPreference = 'SilentlyContinue'
        $ProgressPreference = 'SilentlyContinue'
        $Services = @('BITS', 'wuauserv', 'AppIDSvc', 'CryptSvc')
        $ResetItem = [Ordered]@{
            PathPending    = "$Env:SystemRoot\WinSxS\pending.xml"; NewPending = 'pending.xml.bak'
            PathSoftware   = "$Env:SystemRoot\SoftwareDistribution"; NewSoftware = 'SoftwareDistribution.bak'
            PathCatroot    = "$Env:SystemRoot\System32\Catroot2"; NewCatroot = 'Catroot2.bak'
            PathUpdateLog  = "$Env:SystemRoot\WindowsUpdate.log"; NewUpdateLog = 'WindowsUpdate.log.bak'
        }
    }
    Process
    {
        If ($PSCmdlet.ShouldProcess("$Env:COMPUTERNAME, Reset Windows Update."))
        {
            Clear-Host
            
            Write-Host "Stopping the BITS, wuauserv, AppIDSvc and CryptSvc Services..." -NoNewline -ForegroundColor Cyan
            ForEach ($Service In $Services)
            {
                If ((Get-Service -Name $Service).Status -ne 'Stopped')
                {
                    $Retries = 5
                    While ($Retries -gt 0 -and ((Get-Service -Name $Service).Status -ne 'Stopped'))
                    {
                        Stop-Service -Name $Service -Force -Confirm:$false
                        Start-Sleep -Seconds 1
                        If ((Get-Service -Name $Service).Status -eq 'Running') { Start-Sleep -Seconds 5 }
                        $Retries--
                    }
                }
            }
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Resetting Update Containers..." -NoNewline -ForegroundColor Cyan
            @("$Env:ALLUSERSPROFILE\Application Data\Microsoft\Network\Downloader\qmgr*.dat", "$Env:ALLUSERSPROFILE\Microsoft\Network\Downloader\qmgr*.dat", "$Env:SystemRoot\WinSxS\pending.xml.bak",
                "$Env:SystemRoot\SoftwareDistribution.bak", "$Env:SystemRoot\System32\Catroot2.bak", "$Env:SystemRoot\WindowsUpdate.log.bak", (Get-ChildItem -Path $Env:SystemRoot\Logs\WindowsUpdate\* -Force)) | Remove-Item -Recurse -Force
            
            (Get-Item -Path @("$Env:SystemRoot\SoftwareDistribution", "$Env:SystemRoot\System32\Catroot2", "$Env:SystemRoot\WindowsUpdate.log") -Force).Attributes = 0x80
            
            If (Get-WindowsOptionalFeature -Online | Where-Object -Property State -EQ Pending)
            {
                Start-Process -FilePath TAKEOWN -ArgumentList ('/F "{0}" /A' -f $ResetItem.PathPending) -WindowStyle Hidden -Wait
                (Get-Item -Path $ResetItem.PathPending -Force).Attributes = 0x80
                Rename-Container -Path $ResetItem.PathPending -NewName $ResetItem.NewPending
            }
            Rename-Container -Path $ResetItem.PathSoftware -NewName $ResetItem.NewSoftware
            Rename-Container -Path $ResetItem.PathCatroot -NewName $ResetItem.NewCatroot
            Rename-Container -Path $ResetItem.PathUpdateLog -NewName $ResetItem.NewUpdateLog
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Resetting the wuauserv and BITS Discretionary Access Control Lists..." -NoNewline -ForegroundColor Cyan
            Start-Process -FilePath SC.EXE -ArgumentList ('SDSET wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)') -WindowStyle Hidden -Wait
            Start-Process -FilePath SC.EXE -ArgumentList ('SDSET BITS D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)') -WindowStyle Hidden -Wait
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Re-registering Update Modules..." -NoNewline -ForegroundColor Cyan
            @('atl.dll', 'urlmon.dll', 'mshtml.dll', 'shdocvw.dll', 'browseui.dll', 'jscript.dll', 'vbscript.dll', 'scrrun.dll', 'msxml.dll', 'msxml3.dll', 'msxml6.dll', 'actxprxy.dll', 'softpub.dll', 'wintrust.dll',
                'dssenh.dll', 'rsaenh.dll', 'gpkcsp.dll', 'sccbase.dll', 'slbcsp.dll', 'cryptdlg.dll', 'oleaut32.dll', 'ole32.dll', 'shell32.dll', 'initpki.dll', 'wuapi.dll', 'wuaueng.dll', 'wuaueng1.dll', 'wucltui.dll',
                'wups.dll', 'wups2.dll', 'wuweb.dll', 'qmgr.dll', 'qmgrprxy.dll', 'wucltux.dll', 'muweb.dll', 'wuwebv.dll', 'wudriver.dll') | ForEach-Object -Process { Start-Process -FilePath REGSVR32 -ArgumentList ('/S "{0}"' -f "$Env:SystemRoot\System32\$($_)") -WindowStyle Hidden -Wait }
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Removing Windows Update Client Settings..." -NoNewline -ForegroundColor Cyan
            Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" -Name AccountDomainSid -Force
            Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" -Name PingID -Force
            Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" -Name SusClientId -Force
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Restarting the BITS, wuauserv, AppIDSvc and CryptSvc Services..." -NoNewline -ForegroundColor Cyan
            Start-Process -FilePath NETSH -ArgumentList ('WINSOCK RESET') -WindowStyle Hidden -Wait
            Start-Process -FilePath NETSH -ArgumentList ('WINHTTP RESET PROXY') -WindowStyle Hidden -Wait
            Clear-DnsClientCache
            Get-BitsTransfer | Remove-BitsTransfer
            Get-Service -Name BITS, wuauserv, AppIDSvc, CryptSvc, DcomLaunch, TrustedInstaller | Where-Object -Property StartType -NE Automatic | Set-Service -StartupType Automatic
            ForEach ($Service In $Services)
            {
                If ((Get-Service -Name $Service).Status -ne 'Running')
                {
                    $Retries = 5
                    While ($Retries -gt 0 -and ((Get-Service -Name $Service).Status -ne 'Running'))
                    {
                        Start-Service -Name $Service -Confirm:$false
                        Start-Sleep -Seconds 1
                        If ((Get-Service -Name $Service).Status -ne 'Running') { Start-Sleep -Seconds 5 }
                        $Retries--
                    }
                }
            }
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            $Wshell = New-Object -ComObject Wscript.Shell
            $Popup = $Wshell.Popup("Restart $($Env:COMPUTERNAME) to complete the reset?", 10, "Restart Device", 4 + 32)
            If ($Popup -eq 6)
            {
                $Restart = 15
                ForEach ($Count In (1 .. $Restart))
                {
                    Write-Progress -Id 1 -Activity "Restarting $($Env:COMPUTERNAME) to complete the reset" -Status "Restarting in $Restart seconds, $($Restart - $Count) seconds left" -PercentComplete (($Count / $Restart) * 100)
                    Start-Sleep -Seconds 1
                }
                Restart-Computer
            }
        }
    }
    End
    {
        [void][Runtime.InteropServices.Marshal]::ReleaseComObject($WShell)
        $ErrorActionPreference = $DefaultErrorAction
        $ProgressPreference = $DefaultProgressPreference
    }
}

Function Rename-Container
{
    [CmdletBinding()]
    Param
    (
        [string]$Path,
        [string]$NewName
    )
    
    If (Test-Path -Path $Path) { Rename-Item -Path $Path -NewName $NewName -Force }
/code

to [bold]copy this entire function, and paste it in PowerShell ISE and run it with Reset-WindowsUpdate [/bold]

which I did. When I ran it, I was getting error messages of:

WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...

 

 

I tried killing this message by doing a CTRL and Z key to end it but it didnt so I rebooted my pc. When it booted up, I was getting multiple Win powershell ISE windows opening up which hung my PC
 so I tried restoring with a restore point but that didnt work. I then tried to do a restore using acronis true image 2019 but that didnt work (i dont remember the error i was getting). When I 
use this in the past I never have issues with it as it always works.

I installied a fresh copy of windows 10, set up worked fine but when I tried putting short cuts such as This PC and NETWORK stayed on the desktop for a few seconds the screen then flickered and
returned without the recycle bin, this PC and network icons on it. I tried using the net but that didnt work as well.

Now I am at a loss on what it could be. What do you guys think it could be?

Thx

I forgot to add I ran memtest86 without errors after it completed 4 passes. I installed win 10 on pc again. It got to the point where i got to my desktop screen and I downloaded chrome on it and I went to set my home page to google and the screen flickered/ blinked and neither icon was on my desktop. The only thing that appeared was the clock in my system tray and taskbar icons. When I clicked on one of the taskbar icons they stayed minimized and the wouldn't maximize.

 

Any ideas?

Link to comment
Share on other sites


  • Replies 20
  • Views 3.1k
  • Created
  • Last Reply

If you want some real help (not any crap or what any one thinks) then start with:

  1. what kind of computer is it (as accurate as you can)
  2. which windows is installed and when
  3. what other programs are installed
  4. how you have maintained this computer
  5. what your problem is and how it appears

It's not enough if you post any kind of picture where is some kind list of updates.
You don't need opinions, but a specific answer to a specific question. This is not a policy/politics where everyone can only guess and no one don't know and not able do nothing.

  1. So, first of all, give info  
  2. the second - if nothing works, check your hardware
  3. the third - if hardware is OK, and still nothing works, make new and absolutely clean install of everything.

To keep in mind: Nothing can be done without any information! Anyone of us isn't the omniscient or chief god itself, who knows everything and always.

Link to comment
Share on other sites


Israeli_Eagle

Weird is already that it tries to update version 1903, because now we have as standard 1909. :think:

And to start it might help to know the PC specs!

 

Link to comment
Share on other sites


all set as is was win upd issue as usual. What else should we expect from M$. Its a norm with them 🤬

Link to comment
Share on other sites


Israeli_Eagle
7 hours ago, Betts1964 said:

all set as is was win upd issue as usual. What else should we expect from M$. Its a norm with them 🤬

 

... whatever it might mean. :snack:

Link to comment
Share on other sites


Sorry Guys,

 

Friggin update caused the setting of RC on desktop, view / show desktop icons to be unchecked.

Link to comment
Share on other sites


For me is one more incomprehensible thing. Namely, I can't figure out where a technology update is hidden here.
Can somebody show me the place where it is here. Maybe it's hidden as usually. Sorry, I'm so stupid, cannot find.

Link to comment
Share on other sites


48 minutes ago, Betts1964 said:

Friggin update caused the setting of RC on desktop, view / show desktop icons to be unchecked.

Do you mean that the update changed your settings/preferences?

It might have change others too, just that you did not realize yet!

Link to comment
Share on other sites


15 minutes ago, mp68terr said:

Do you mean that the update changed your settings/preferences?

It might have change others too, just that you did not realize yet!

yes, Unfortunately... I realize that. Frgiggin ms.

Link to comment
Share on other sites


I also had issues with windows update where it was not able to be installed successfully, i tried to update to v1909 and it was fixed.

Link to comment
Share on other sites


On 1/6/2020 at 8:05 PM, Betts1964 said:

Hi, I am having issues with my desktop.I was trying to use windows update feature and it was stuck on the following file:

https://imgur.com/JeJTlG0  

I posted the issue on a pc forum and they suggested I run the following scripT:

Code:

  Reveal hidden contents


Function Reset-WindowsUpdate
{
<#
    .SYNOPSIS
        Cleans-up Windows Update containers and resets all dependent services to their default state.
  
    .DESCRIPTION
        Stops all Windows Update dependent services and cleans all directories used by Windows Update.
        Regenerates the default file structure that Windows requires for proper Windows Update Service access and authentication.
        Returns all dependent files, discretionary access control lists and permissions back to their default state.
        Restarts all Windows Update dependent services that were stopped at the beginning of the reset process.
        Allows for the system to be rebooted after the reset to clear cache storage reserves and apply the default service discretionary access control lists.
  
    .EXAMPLE
        PS C:\> Reset-WindowsUpdate
  
    .NOTES
        Does not reset any Group Policy settings applied in the registry.
        Works with the latest Windows 10 builds and does not revert custom policy settings set in Group Policy.
        It is highly recommended to restart the system after running the reset to clear additional system cache reserves and to apply the default service discretionary access control lists DACLs.
#>
    
    [CmdletBinding(ConfirmImpact = 'High',
                   SupportsShouldProcess = $true)]
    Param ()
    
    Begin
    {
        If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
        {
            Write-Warning "This script requires elevated access. Please relaunch Reset-WindowsUpdate with administrator permissions."; Break
        }
        $DefaultErrorAction = $ErrorActionPreference
        $DefaultProgressPreference = $ProgressPreference
        $ErrorActionPreference = 'SilentlyContinue'
        $ProgressPreference = 'SilentlyContinue'
        $Services = @('BITS', 'wuauserv', 'AppIDSvc', 'CryptSvc')
        $ResetItem = [Ordered]@{
            PathPending    = "$Env:SystemRoot\WinSxS\pending.xml"; NewPending = 'pending.xml.bak'
            PathSoftware   = "$Env:SystemRoot\SoftwareDistribution"; NewSoftware = 'SoftwareDistribution.bak'
            PathCatroot    = "$Env:SystemRoot\System32\Catroot2"; NewCatroot = 'Catroot2.bak'
            PathUpdateLog  = "$Env:SystemRoot\WindowsUpdate.log"; NewUpdateLog = 'WindowsUpdate.log.bak'
        }
    }
    Process
    {
        If ($PSCmdlet.ShouldProcess("$Env:COMPUTERNAME, Reset Windows Update."))
        {
            Clear-Host
            
            Write-Host "Stopping the BITS, wuauserv, AppIDSvc and CryptSvc Services..." -NoNewline -ForegroundColor Cyan
            ForEach ($Service In $Services)
            {
                If ((Get-Service -Name $Service).Status -ne 'Stopped')
                {
                    $Retries = 5
                    While ($Retries -gt 0 -and ((Get-Service -Name $Service).Status -ne 'Stopped'))
                    {
                        Stop-Service -Name $Service -Force -Confirm:$false
                        Start-Sleep -Seconds 1
                        If ((Get-Service -Name $Service).Status -eq 'Running') { Start-Sleep -Seconds 5 }
                        $Retries--
                    }
                }
            }
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Resetting Update Containers..." -NoNewline -ForegroundColor Cyan
            @("$Env:ALLUSERSPROFILE\Application Data\Microsoft\Network\Downloader\qmgr*.dat", "$Env:ALLUSERSPROFILE\Microsoft\Network\Downloader\qmgr*.dat", "$Env:SystemRoot\WinSxS\pending.xml.bak",
                "$Env:SystemRoot\SoftwareDistribution.bak", "$Env:SystemRoot\System32\Catroot2.bak", "$Env:SystemRoot\WindowsUpdate.log.bak", (Get-ChildItem -Path $Env:SystemRoot\Logs\WindowsUpdate\* -Force)) | Remove-Item -Recurse -Force
            
            (Get-Item -Path @("$Env:SystemRoot\SoftwareDistribution", "$Env:SystemRoot\System32\Catroot2", "$Env:SystemRoot\WindowsUpdate.log") -Force).Attributes = 0x80
            
            If (Get-WindowsOptionalFeature -Online | Where-Object -Property State -EQ Pending)
            {
                Start-Process -FilePath TAKEOWN -ArgumentList ('/F "{0}" /A' -f $ResetItem.PathPending) -WindowStyle Hidden -Wait
                (Get-Item -Path $ResetItem.PathPending -Force).Attributes = 0x80
                Rename-Container -Path $ResetItem.PathPending -NewName $ResetItem.NewPending
            }
            Rename-Container -Path $ResetItem.PathSoftware -NewName $ResetItem.NewSoftware
            Rename-Container -Path $ResetItem.PathCatroot -NewName $ResetItem.NewCatroot
            Rename-Container -Path $ResetItem.PathUpdateLog -NewName $ResetItem.NewUpdateLog
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Resetting the wuauserv and BITS Discretionary Access Control Lists..." -NoNewline -ForegroundColor Cyan
            Start-Process -FilePath SC.EXE -ArgumentList ('SDSET wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)') -WindowStyle Hidden -Wait
            Start-Process -FilePath SC.EXE -ArgumentList ('SDSET BITS D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)') -WindowStyle Hidden -Wait
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Re-registering Update Modules..." -NoNewline -ForegroundColor Cyan
            @('atl.dll', 'urlmon.dll', 'mshtml.dll', 'shdocvw.dll', 'browseui.dll', 'jscript.dll', 'vbscript.dll', 'scrrun.dll', 'msxml.dll', 'msxml3.dll', 'msxml6.dll', 'actxprxy.dll', 'softpub.dll', 'wintrust.dll',
                'dssenh.dll', 'rsaenh.dll', 'gpkcsp.dll', 'sccbase.dll', 'slbcsp.dll', 'cryptdlg.dll', 'oleaut32.dll', 'ole32.dll', 'shell32.dll', 'initpki.dll', 'wuapi.dll', 'wuaueng.dll', 'wuaueng1.dll', 'wucltui.dll',
                'wups.dll', 'wups2.dll', 'wuweb.dll', 'qmgr.dll', 'qmgrprxy.dll', 'wucltux.dll', 'muweb.dll', 'wuwebv.dll', 'wudriver.dll') | ForEach-Object -Process { Start-Process -FilePath REGSVR32 -ArgumentList ('/S "{0}"' -f "$Env:SystemRoot\System32\$($_)") -WindowStyle Hidden -Wait }
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Removing Windows Update Client Settings..." -NoNewline -ForegroundColor Cyan
            Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" -Name AccountDomainSid -Force
            Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" -Name PingID -Force
            Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" -Name SusClientId -Force
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            Write-Host "Restarting the BITS, wuauserv, AppIDSvc and CryptSvc Services..." -NoNewline -ForegroundColor Cyan
            Start-Process -FilePath NETSH -ArgumentList ('WINSOCK RESET') -WindowStyle Hidden -Wait
            Start-Process -FilePath NETSH -ArgumentList ('WINHTTP RESET PROXY') -WindowStyle Hidden -Wait
            Clear-DnsClientCache
            Get-BitsTransfer | Remove-BitsTransfer
            Get-Service -Name BITS, wuauserv, AppIDSvc, CryptSvc, DcomLaunch, TrustedInstaller | Where-Object -Property StartType -NE Automatic | Set-Service -StartupType Automatic
            ForEach ($Service In $Services)
            {
                If ((Get-Service -Name $Service).Status -ne 'Running')
                {
                    $Retries = 5
                    While ($Retries -gt 0 -and ((Get-Service -Name $Service).Status -ne 'Running'))
                    {
                        Start-Service -Name $Service -Confirm:$false
                        Start-Sleep -Seconds 1
                        If ((Get-Service -Name $Service).Status -ne 'Running') { Start-Sleep -Seconds 5 }
                        $Retries--
                    }
                }
            }
            Write-Host "[Complete]" -ForegroundColor Cyan
            
            $Wshell = New-Object -ComObject Wscript.Shell
            $Popup = $Wshell.Popup("Restart $($Env:COMPUTERNAME) to complete the reset?", 10, "Restart Device", 4 + 32)
            If ($Popup -eq 6)
            {
                $Restart = 15
                ForEach ($Count In (1 .. $Restart))
                {
                    Write-Progress -Id 1 -Activity "Restarting $($Env:COMPUTERNAME) to complete the reset" -Status "Restarting in $Restart seconds, $($Restart - $Count) seconds left" -PercentComplete (($Count / $Restart) * 100)
                    Start-Sleep -Seconds 1
                }
                Restart-Computer
            }
        }
    }
    End
    {
        [void][Runtime.InteropServices.Marshal]::ReleaseComObject($WShell)
        $ErrorActionPreference = $DefaultErrorAction
        $ProgressPreference = $DefaultProgressPreference
    }
}

Function Rename-Container
{
    [CmdletBinding()]
    Param
    (
        [string]$Path,
        [string]$NewName
    )
    
    If (Test-Path -Path $Path) { Rename-Item -Path $Path -NewName $NewName -Force }
/code

to [bold]copy this entire function, and paste it in PowerShell ISE and run it with Reset-WindowsUpdate [/bold]

which I did. When I ran it, I was getting error messages of:

WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...
WARNING: Waiting for service 'Background Intelligent Transfer Service (BITS)' to stop...

 

 

I tried killing this message by doing a CTRL and Z key to end it but it didnt so I rebooted my pc. When it booted up, I was getting multiple Win powershell ISE windows opening up which hung my PC
 so I tried restoring with a restore point but that didnt work. I then tried to do a restore using acronis true image 2019 but that didnt work (i dont remember the error i was getting). When I 
use this in the past I never have issues with it as it always works.

I installied a fresh copy of windows 10, set up worked fine but when I tried putting short cuts such as This PC and NETWORK stayed on the desktop for a few seconds the screen then flickered and
returned without the recycle bin, this PC and network icons on it. I tried using the net but that didnt work as well.

Now I am at a loss on what it could be. What do you guys think it could be?

Thx

I forgot to add I ran memtest86 without errors after it completed 4 passes. I installed win 10 on pc again. It got to the point where i got to my desktop screen and I downloaded chrome on it and I went to set my home page to google and the screen flickered/ blinked and neither icon was on my desktop. The only thing that appeared was the clock in my system tray and taskbar icons. When I clicked on one of the taskbar icons they stayed minimized and the wouldn't maximize.

 

Any ideas?

Yes, you have a very corrupt OS which can be caused by HDD/SSD issues.  I suggest you open command prompt as Admin run chkdsk  drive letter /f then follow instructions. 

next when that is finished. if the Drive checks GOOD then runHealthFix.bat as admin



dism /online /cleanup-image /scanhealth

dism /online /cleanup-image /checkhealth

dism /online /cleanup-image /restorehealth

sfc /scannow

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
rmdir /s /q c:\windows\SoftwareDistribution.old

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

net stop cryptsvc

md %systemroot%\system32\catroot2.bak

xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.bak /s

net start cryptsvc

pause

  this is most cases will fix your HDD and then fix your OS

Link to comment
Share on other sites


3 hours ago, Snuffy1942 said:

Yes, you have a very corrupt OS which can be caused by HDD/SSD issues.  I suggest you open command prompt as Admin run chkdsk  drive letter /f then follow instructions. 

next when that is finished. if the Drive checks GOOD then runHealthFix.bat as admin

 

  Reveal hidden contents

 

 


dism /online /cleanup-image /scanhealth

dism /online /cleanup-image /checkhealth

dism /online /cleanup-image /restorehealth

sfc /scannow

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
rmdir /s /q c:\windows\SoftwareDistribution.old

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

net stop cryptsvc

md %systemroot%\system32\catroot2.bak

xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.bak /s

net start cryptsvc

pause
 

 

  this is most cases will fix your HDD and then fix your OS

No, It was an update issue as I re-installed win 10 1909 on 2 computers and they seem to be running fine. Ram and SSD  are fine on both PC's.

Link to comment
Share on other sites


  • 2 weeks later...
On 1/8/2020 at 5:20 PM, Betts1964 said:

No, It was an update issue as I re-installed win 10 1909 on 2 computers and they seem to be running fine. Ram and SSD  are fine on both PC's.

Just because you did a update that is more reason to think (MS did it again. corrupted my system) that is what SFC and clean does it fixes the crap that MS did not do...

More systems get corrupted by MS updates than any other reason....

Link to comment
Share on other sites


1 hour ago, Snuffy1942 said:

Just because you did a update that is more reason to think (MS did it again. corrupted my system) that is what SFC and clean does it fixes the crap that MS did not do...

More systems get corrupted by MS updates than any other reason....

 

No doubt.

Link to comment
Share on other sites


1 hour ago, Snuffy1942 said:

Just because you did a update that is more reason to think (MS did it again. corrupted my system) that is what SFC and clean does it fixes the crap that MS did not do...

More systems get corrupted by MS updates than any other reason....

 

17 minutes ago, Betts1964 said:

 

No doubt.

Please disclose the secret where you get such Updates that are having problems.
I'd like to see some of them myself, so far, unfortunately, I haven't found any yet, at least from times when first W7 came out.
I said W7, because I have never had any Vista, for me came W7 after XP and after first W7 I have had all next versions.
During this time have never got any Update, that cannot install or what makes problems.

So, please help me, I so want to see at least one of them.

 

All the problems I've seen so far have always been outside the computer box.

Usually between the keyboard and the back of the chair.

Link to comment
Share on other sites


@Kalju Being a Official Windows Beta Tester since Windows 95,  also owner/operator of my own Computer Shop since 1983,  I find that (IMO) the majority of issues is MS, not between the keyboard and chair.. Other wise why does MS issue a Fix for a Fix that unfixed a current fix.  But I do respect your right to your opinion. 

1 example is update for Surface by MS,  the updated intel drive with update/upgrade 1903 killed or maimed the Touch Screen and/or Pen. If any doubt then please check MS feedback for Surface(s).

Link to comment
Share on other sites


Israeli_Eagle
5 hours ago, Snuffy1942 said:

@Kalju Being a Official Windows Beta Tester since Windows 95,  also owner/operator of my own Computer Shop since 1983,  I find that (IMO) the majority of issues is MS, not between the keyboard and chair.. Other wise why does MS issue a Fix for a Fix that unfixed a current fix.  But I do respect your right to your opinion. 

1 example is update for Surface by MS,  the updated intel drive with update/upgrade 1903 killed or maimed the Touch Screen and/or Pen. If any doubt then please check MS feedback for Surface(s).

 

I can only agree: Usually the main problem is between of the chair and the PC!! Tho I would not even call 'mobile toys' as a real PC... :whistle:

Anyway... You ever read log events or checked your own registry, drivers etc??

Link to comment
Share on other sites


Topic marked as solved.

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...