Sunday, May 10, 2020

Fix Windows 10 issues with in-place upgrade


Hate to re-install Windows 10 but you have to? Well, in-place upgrade is what you are looking for. You will keep your files and apps while you are re-installing Windows 10 over itself. Here's how:   


Step 1: Go to Microsoft | Software Download:


Step 2: Open the downloaded file to run:


Step 3: A window like this will pop up:


Step 4: Accept the terms:


Step 5: Choose Upgrade this PC now
   

Step 6: You can even use your PC while doing the in-place upgrade

Step 7: Choose what to keep (Yes you can keep your personal files and apps)



Sunday, April 19, 2020

Windows 10: Windows Update issues

➤ WINDOWS UPDATE TROUBLESHOOTING

→ Download Windows Update:
• Go to Start > Settings > Updates & Security > Windows Update > Check for updates
• If there are Pending updates, download and install them
Note: If windows update failed to download or install any pending updates, kindly do it manually using the WindowsUpdate Assistant App
• Click UPDATE NOW  to download the WindowsUpdate Assistant App
• Run the WindowsUpdate Assistant and allow it to analyze your Current Windows Update version
• Once done, your PC will reboot multiple times

→ Repair Windows 10
• Press Windows Key + R
• Type [code]powershell[/code] in the run command line and press CTRL + SHIFT + ENTER to gain administrative access
• Wait for the "PS C:\WINDOWS\System32>" to show up, copy and paste the following script and hit enter: sfc /scannow
• After the scan is finished, run this command: Repair-WindowsImage -Online -RestoreHealth

→ Run Windows Update Troubleshooter:
• Go to Settings > Update & Security > Troubleshoot > Select Windows Update > Click Run the Troubleshooter

→ Reset Windows Update Cache:
• Press Windows Key + R
• Type PowerShell in the run command line and press CTRL + SHIFT + ENTER to gain administrative access
• Wait for the "PS C:\WINDOWS\System32>" to show up, copy and paste the following script and hit enter:
Set-Service -Name wuauserv -StartupType Automatic
Set-Service -Name BITS -StartupType Automatic
Set-Service -Name cryptSvc -StartupType Automatic
Set-Service -Name trustedinstaller -StartupType Automatic
Stop-Service wuauserv
Stop-Service BITS
Stop-Service cryptSvc
Stop-Service trustedinstaller
Rename-Item C:\Windows\SoftwareDistribution C:\Windows\SoftwareDistribution.oldFolder
Rename-Item C:\Windows\System32\catroot2 C:\Windows\System32\catroot2.oldFolder
Start-Service wuauserv
Start-Service BITS
Start-Service cryptSvc
Start-Service trustedinstaller
Get-Service wuauserv | Select-Object -Property Name, Status
Get-Service BITS | Select-Object -Property Name, Status
Get-Service cryptSvc | Select-Object -Property Name, Status
Get-Service trustedinstaller | Select-Object -Property Name, Status

→ Repair Windows Update Registry Key:
• Go to: Click here
• Click download (download button located at top-left)
• Install the wuauserv.reg file and click OK (This is to override the existing Windows Update Registry key with a fresh one)
• Restart the PC
• After the restart, click Windows + R and type services.msc to open the Services App
• Locate the "Windows Update" service and the "Background Intelligent Transfer Service"
• Then click the Service Status to START if the status is Stopped or click STOP if the status is Running and then click START again (restart).

→ Download Windows Update from Administrator Account
• Press Windows Key + R
• Type [code]cmd[/code] in the run command line and press CTRL + SHIFT + ENTER to gain administrative access
• Wait for the "C:\WINDOWS\System32>" to show up, copy and paste the following script and hit enter: [code]net user administrator /active:yes[/code]
(this command will activate the default Administrator user account which is hidden in Windows 10)
• Sign out from your existing user account and sign in with the Administrator account
• Run Windows Update from there
• To hide the Administrator account again, sign out from the Administrator account and log back to your original user account
• Open elevated Command Prompt and run this command: net user administrator /active:no

→ Perform In-Place upgrade
• Video Guide on how to do the in-place upgrade: https://www.youtube.com/watch?v=l06XupVqH74&t=241s
• Windows 10 ISO | Software Download: https://www.microsoft.com/en-us/software-download/windows10

Windows 10: Microsoft Store and Apps not opening

➤ WINDOWS STORE TROUBLESHOOTING

→ Set allowed bandwidth for Upload and Download:
• Go to Settings > Update & Security > Delivery Optimization > Advanced Option > Uncheck all Download and Upload settings

→ Run Windows Store App troubleshooter:
• Go to Settings > Update & Security > Troubleshoot > Windows Store Apps > Run the troubleshooter

→ Reset Windows Update Cache:
• Press Windows Key + R
• Type PowerShell in the run command line and press CTRL + SHIFT + ENTER to gain administrative access
• Wait for the "PS C:\WINDOWS\System32>" to show up, copy and paste the following script and hit enter:

Set-Service -Name wuauserv -StartupType Automatic
Set-Service -Name BITS -StartupType Automatic
Set-Service -Name cryptSvc -StartupType Automatic
Stop-Service wuauserv
Stop-Service BITS
Stop-Service cryptSvc
Stop-Service msiserver
Rename-Item C:\Windows\SoftwareDistribution C:\Windows\SoftwareDistribution.oldFolder
Rename-Item C:\Windows\System32\catroot2 C:\Windows\System32\catroot2.oldFolder
Start-Service wuauserv
Start-Service BITS
Start-Service cryptSvc
Start-Service msiserver
Get-Service wuauserv | Select-Object -Property Name, Status
Get-Service BITS | Select-Object -Property Name, Status
Get-Service cryptSvc | Select-Object -Property Name, Status
Get-Service msiserver | Select-Object -Property Name, Status

→ Reset Windows Store cache:
• Press Windows Key + R
• Type wsreset.exe and press ENTER

→ Reset Windows Store in Settings:
• Go to Settings
• Select "Apps"
• Select "Apps & features"
• Select "Microsoft Store" App
• Click Advance Options
• Click the "Reset" button

→ Re-Deploy only Provisioned Windows 10 Packages:
• Press Windows Key + R
• Type PowerShell in the run command line and press CTRL + SHIFT + ENTER to gain administrative access
• Wait for the "PS C:\WINDOWS\System32>" to show up, copy and paste the following script and hit enter:

$Packages = (get-item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | Get-ChildItem
$PackageFilter = $args[0]
if ([string]::IsNullOrEmpty($PackageFilter)) {
echo "No filter specified, attempting to re-register all provisioned apps."
}
else {
$Packages = $Packages | where {$_.Name -like $PackageFilter}
if ($Packages -eq $null) {
echo "No provisioned apps match the specified filter."
exit
}
else {
echo "Registering: $PackageName now, please stand by."
}
}
ForEach($Package in $Packages) {
$PackageName = $Package | Get-ItemProperty | Select-Object -ExpandProperty PSChildName
$PackagePath = [System.Environment]::ExpandEnvironmentVariables(($Package | Get-ItemProperty | Select-Object -ExpandProperty Path))
echo "$PackageName . . . . . DEPLOYMENT COMPLETED"
Add-AppxPackage -register $PackagePath -DisableDevelopmentMode
}

→ Re-Deploy All Windows 10 Packages:
• Press Windows Key + R
• Type PowerShell in the run command line and press CTRL + SHIFT + ENTER to gain administrative access
• Wait for the "PS C:\WINDOWS\System32>" and do the following:
• Copy and paste this script first to set the Execution Policy Unrestricted: Set-ExecutionPolicy Unrestricted
• Confirm it by typing [Y] for Yes and hit ENTER
• Then Run this second script to deploy all Packages: Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

*** Important note: Wait for the deployment operation of all packages to finish, do not close PowerShell unless it's back to "PS C:\WINDOWS\System32>". Just ignore if you receive an error in red text, it only means those packages are previously removed such as uninstalled apps.