Author Topic: Windows 7 Component Store Cleanup - Rebase  (Read 122681 times)

September 12, 2020, 08:37 AM
Reply #360
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
I've got good news for the users of the forum.
On of my contact had the covid19 and therefore I'm not allowed to go to work on Monday. I will have more time for the forum then.
I'm not afraid of becoming a covid19 martyr anyway.
Note that some comments will be added tonight for the new photos. Hopefully, a new version of windows 10 will be available tomorrow.
Note that I'm going to encode the movie Madame Irma, a funny movie with les inconnus, with English subtitles. This movie could be available next week on the forum.
« Last Edit: September 12, 2020, 08:40 AM by scarface »

September 12, 2020, 05:18 PM
Reply #361
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
Today, windows 10 x64 pro v2004, v19041.508 with every update till September 2020 is available ("20H1" for Vasudev)

Changelog:
Abbodi1406’s vcredist was updated to 0.36.
New wallpapers are available.
KB4571756 was integrated.
New versions of Mediacoder, Flash player, belatout are available.
intel wireless was updated to v21.120


As usual, it contains many reg tweaks, netfx 3.5, netfx 4.8, dx9 (and 12) and many programs.
Note: in this edition you'll find many more programs like the latest releases of vlc, firefox, handbrake, cdisplay, Sumatra, Flashplayer, 7zip 19.00, winrar 5.91, Treesize free, Visual C++ Redist, the game "Mastermind" and Ultraiso (full version), Subtitles Edit v3.5.16...
Fx sound enhancer v13.028 was added (full version).
New programs installed silently: mediacoder 0.8.61 (modified edition), Psychopinball (by Fuj), Smartcopy, Grand dictionnaire Hachette Oxford, Remove empty directories, WiseDuplicatefinder, Ant renamer, Pinball, LameXP, Belatout, Easeus Partition Master 13.8.
HDD programs: HDD low level format, HD tune pro.

Nothing was deleted in winsxs and to obtain such a size, install.wim was converted into esd.

New drivers:
Realtek RTL8723BE WLAN 2024.0.10.211, Alcor1.17.13.2300, LAN_Killerwin10_2.2.3212, Synaptics19.3.4.193, PCI-bus-AMD-15.301.0.0, Elan-smbus-driver-15.2.10.1, intel_chipset_10.1.18263.8193, RadioBtn_Win10v1.1.8.0,
intel_rst_17.8.8.1072, Hp-Wifi-Broadcom7.35.344.0, intelethernetPROWin10x64-25.0, Wireless_21.80.2_PROSet64, realtek_card_reader_10.0.18362.31255, Realtek Ethernet 10.039.0323.2020
realtekcamera10.0.17763.20089, usb3.1_asmedia_1.16.59.1, BT_21.80.0.3_64_Win10
Note that the intel graphics drivers are not integrated any more.


Windows defender is disabled by default but can be re-enabled again via gpedit.msc.
Note that the new feature Windows Defender Tamper protection was deactivated too.





In the previous versions a script was run to remove the useless appx and provisioned packages. It wasn't used in this version.
Here is the script previously used to remove provisioned apps (the "Sysprep" switch was used).
Code: [Select]
#This function finds any AppX/AppXProvisioned package and uninstalls it, except for Freshpaint, Windows Calculator, Windows Store, and Windows Photos.
#Also, to note - This does NOT remove essential system services/software/etc such as .NET framework installations, Cortana, Edge, etc.

#This is the switch parameter for running this script as a 'silent' script, for use in MDT images or any type of mass deployment without user interaction.

param (
  [switch]$Debloat, [switch]$SysPrep
)

Function Begin-SysPrep {

    param([switch]$SysPrep)
        Write-Verbose -Message ('Starting Sysprep Fixes')
 
        # Disable Windows Store Automatic Updates
       <# Write-Verbose -Message "Adding Registry key to Disable Windows Store Automatic Updates"
        $registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore"
        If (!(Test-Path $registryPath)) {
            Mkdir $registryPath -ErrorAction SilentlyContinue
            New-ItemProperty $registryPath -Name AutoDownload -Value 2
        }
        Else {
            Set-ItemProperty $registryPath -Name AutoDownload -Value 2
        }
        #Stop WindowsStore Installer Service and set to Disabled
        Write-Verbose -Message ('Stopping InstallService')
        Stop-Service InstallService
        #>
 }

#Creates a PSDrive to be able to access the 'HKCR' tree
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
Function Start-Debloat {
   
    param([switch]$Debloat)

    #Removes AppxPackages
    #Credit to Reddit user /u/GavinEke for a modified version of my whitelist code
    [regex]$WhitelistedApps = 'Microsoft.ScreenSketch|Microsoft.Paint3D|Microsoft.WindowsCalculator|Microsoft.WindowsStore|Microsoft.Windows.Photos|CanonicalGroupLimited.UbuntuonWindows|`
    Microsoft.MicrosoftStickyNotes|Microsoft.MSPaint|Microsoft.WindowsCamera|.NET|Framework|Microsoft.HEIFImageExtension|Microsoft.ScreenSketch|Microsoft.StorePurchaseApp|`
    Microsoft.VP9VideoExtensions|Microsoft.WebMediaExtensions|Microsoft.WebpImageExtension|Microsoft.DesktopAppInstaller'
    Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps} | Remove-AppxPackage -ErrorAction SilentlyContinue
    # Run this again to avoid error on 1803 or having to reboot.
    Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps} | Remove-AppxPackage -ErrorAction SilentlyContinue
    $AppxRemoval = Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -NotMatch $WhitelistedApps}
    ForEach ( $App in $AppxRemoval) {
   
        Remove-AppxProvisionedPackage -Online -PackageName $App.PackageName
       
        }
}

Function Remove-Keys {
       
    Param([switch]$Debloat)   
   
    #These are the registry keys that it will delete.
       
    $Keys = @(
       
        #Remove Background Tasks
        "HKCR:\Extensions\ContractId\Windows.BackgroundTasks\PackageId\46928bounde.EclipseManager_2.2.4.51_neutral__a5h4egax66k6y"
        "HKCR:\Extensions\ContractId\Windows.BackgroundTasks\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
        "HKCR:\Extensions\ContractId\Windows.BackgroundTasks\PackageId\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe"
        "HKCR:\Extensions\ContractId\Windows.BackgroundTasks\PackageId\Microsoft.PPIProjection_10.0.15063.0_neutral_neutral_cw5n1h2txyewy"
        "HKCR:\Extensions\ContractId\Windows.BackgroundTasks\PackageId\Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy"
        "HKCR:\Extensions\ContractId\Windows.BackgroundTasks\PackageId\Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy"
       
        #Windows File
        "HKCR:\Extensions\ContractId\Windows.File\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
       
        #Registry keys to delete if they aren't uninstalled by RemoveAppXPackage/RemoveAppXProvisionedPackage
        "HKCR:\Extensions\ContractId\Windows.Launch\PackageId\46928bounde.EclipseManager_2.2.4.51_neutral__a5h4egax66k6y"
        "HKCR:\Extensions\ContractId\Windows.Launch\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
        "HKCR:\Extensions\ContractId\Windows.Launch\PackageId\Microsoft.PPIProjection_10.0.15063.0_neutral_neutral_cw5n1h2txyewy"
        "HKCR:\Extensions\ContractId\Windows.Launch\PackageId\Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy"
        "HKCR:\Extensions\ContractId\Windows.Launch\PackageId\Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy"
       
        #Scheduled Tasks to delete
        "HKCR:\Extensions\ContractId\Windows.PreInstalledConfigTask\PackageId\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe"
       
        #Windows Protocol Keys
        "HKCR:\Extensions\ContractId\Windows.Protocol\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
        "HKCR:\Extensions\ContractId\Windows.Protocol\PackageId\Microsoft.PPIProjection_10.0.15063.0_neutral_neutral_cw5n1h2txyewy"
        "HKCR:\Extensions\ContractId\Windows.Protocol\PackageId\Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy"
        "HKCR:\Extensions\ContractId\Windows.Protocol\PackageId\Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy"
           
        #Windows Share Target
        "HKCR:\Extensions\ContractId\Windows.ShareTarget\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
    )
   
    #This writes the output of each key it is removing and also removes the keys listed above.
    ForEach ($Key in $Keys) {
        Write-Output "Removing $Key from registry"
        Remove-Item $Key -Recurse -ErrorAction SilentlyContinue
    }
}
       
Function Protect-Privacy {
   
    Param([switch]$Debloat)   

    #Creates a PSDrive to be able to access the 'HKCR' tree
    New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
       
    #Disables Windows Feedback Experience
    Write-Output "Disabling Windows Feedback Experience program"
    $Advertising = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo'
    If (Test-Path $Advertising) {
        Set-ItemProperty $Advertising -Name Enabled -Value 0 -Verbose
    }
       
    #Stops Cortana from being used as part of your Windows Search Function
    Write-Output "Stopping Cortana from being used as part of your Windows Search Function"
    $Search = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
    If (Test-Path $Search) {
        Set-ItemProperty $Search -Name AllowCortana -Value 0 -Verbose
    }
       
    #Stops the Windows Feedback Experience from sending anonymous data
    Write-Output "Stopping the Windows Feedback Experience program"
    $Period1 = 'HKCU:\Software\Microsoft\Siuf'
    $Period2 = 'HKCU:\Software\Microsoft\Siuf\Rules'
    $Period3 = 'HKCU:\Software\Microsoft\Siuf\Rules\PeriodInNanoSeconds'
    If (!(Test-Path $Period3)) {
        mkdir $Period1 -ErrorAction SilentlyContinue
        mkdir $Period2 -ErrorAction SilentlyContinue
        mkdir $Period3 -ErrorAction SilentlyContinue
        New-ItemProperty $Period3 -Name PeriodInNanoSeconds -Value 0 -Verbose -ErrorAction SilentlyContinue
    }
               
    Write-Output "Adding Registry key to prevent bloatware apps from returning"
    #Prevents bloatware applications from returning
    $registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent"
    If (!(Test-Path $registryPath)) {
        Mkdir $registryPath -ErrorAction SilentlyContinue
        New-ItemProperty $registryPath -Name DisableWindowsConsumerFeatures -Value 1 -Verbose -ErrorAction SilentlyContinue
    }         
   
    Write-Output "Setting Mixed Reality Portal value to 0 so that you can uninstall it in Settings"
    $Holo = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Holographic'   
    If (Test-Path $Holo) {
        Set-ItemProperty $Holo -Name FirstRunSucceeded -Value 0 -Verbose
    }
   
    #Disables live tiles
    Write-Output "Disabling live tiles"
    $Live = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'   
    If (!(Test-Path $Live)) {
        mkdir $Live -ErrorAction SilentlyContinue     
        New-ItemProperty $Live -Name NoTileApplicationNotification -Value 1 -Verbose
    }
   
    #Turns off Data Collection via the AllowTelemtry key by changing it to 0
    Write-Output "Turning off Data Collection"
    $DataCollection = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection'   
    If (Test-Path $DataCollection) {
        Set-ItemProperty $DataCollection -Name AllowTelemetry -Value 0 -Verbose
    }
   
    #Disables People icon on Taskbar
    Write-Output "Disabling People icon on Taskbar"
    $People = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People'
    If (Test-Path $People) {
        Set-ItemProperty $People -Name PeopleBand -Value 0 -Verbose
    }

    #Disables suggestions on start menu
    Write-Output "Disabling suggestions on the Start Menu"
    $Suggestions = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager'   
    If (Test-Path $Suggestions) {
        Set-ItemProperty $Suggestions -Name SystemPaneSuggestionsEnabled -Value 0 -Verbose
    }
   
   
     Write-Output "Removing CloudStore from registry if it exists"
     $CloudStore = 'HKCUSoftware\Microsoft\Windows\CurrentVersion\CloudStore'
     If (Test-Path $CloudStore) {
     Stop-Process Explorer.exe -Force
     Remove-Item $CloudStore
     Start-Process Explorer.exe -Wait
    }

    #Loads the registry keys/values below into the NTUSER.DAT file which prevents the apps from redownloading. Credit to a60wattfish
    reg load HKU\Default_User C:\Users\Default\NTUSER.DAT
    Set-ItemProperty -Path Registry::HKU\Default_User\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SystemPaneSuggestionsEnabled -Value 0
    Set-ItemProperty -Path Registry::HKU\Default_User\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name PreInstalledAppsEnabled -Value 0
    Set-ItemProperty -Path Registry::HKU\Default_User\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name OemPreInstalledAppsEnabled -Value 0
    reg unload HKU\Default_User
   
    #Disables scheduled tasks that are considered unnecessary
    Write-Output "Disabling scheduled tasks"
    #Get-ScheduledTask -TaskName XblGameSaveTaskLogon | Disable-ScheduledTask -ErrorAction SilentlyContinue
    Get-ScheduledTask -TaskName XblGameSaveTask | Disable-ScheduledTask -ErrorAction SilentlyContinue
    Get-ScheduledTask -TaskName Consolidator | Disable-ScheduledTask -ErrorAction SilentlyContinue
    Get-ScheduledTask -TaskName UsbCeip | Disable-ScheduledTask -ErrorAction SilentlyContinue
    Get-ScheduledTask -TaskName DmClient | Disable-ScheduledTask -ErrorAction SilentlyContinue
    Get-ScheduledTask -TaskName DmClientOnScenarioDownload | Disable-ScheduledTask -ErrorAction SilentlyContinue
}

#This includes fixes by xsisbest
Function FixWhitelistedApps {
   
    Param([switch]$Debloat)
   
    If(!(Get-AppxPackage -AllUsers | Select Microsoft.Paint3D, Microsoft.MSPaint, Microsoft.WindowsCalculator, Microsoft.WindowsStore, Microsoft.MicrosoftStickyNotes, Microsoft.WindowsSoundRecorder, Microsoft.Windows.Photos)) {
   
    #Credit to abulgatz for the 4 lines of code
    Get-AppxPackage -allusers Microsoft.Paint3D | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Get-AppxPackage -allusers Microsoft.MSPaint | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Get-AppxPackage -allusers Microsoft.MicrosoftStickyNotes | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Get-AppxPackage -allusers Microsoft.WindowsSoundRecorder | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} }
}

Function CheckDMWService {

  Param([switch]$Debloat)
 
If (Get-Service -Name dmwappushservice | Where-Object {$_.StartType -eq "Disabled"}) {
    Set-Service -Name dmwappushservice -StartupType Automatic}

If(Get-Service -Name dmwappushservice | Where-Object {$_.Status -eq "Stopped"}) {
   Start-Service -Name dmwappushservice}
  }

Function CheckInstallService {
  Param([switch]$Debloat)
          If (Get-Service -Name InstallService | Where-Object {$_.Status -eq "Stopped"}) { 
            Start-Service -Name InstallService
            Set-Service -Name InstallService -StartupType Automatic
            }
        }

Write-Output "Initiating Sysprep"
Begin-SysPrep
Write-Output "Removing bloatware apps."
Start-Debloat
Write-Output "Removing leftover bloatware registry keys."
Remove-Keys
Write-Output "Checking to see if any Whitelisted Apps were removed, and if so re-adding them."
FixWhitelistedApps
Write-Output "Stopping telemetry, disabling unneccessary scheduled tasks, and preventing bloatware from returning."
Protect-Privacy
#Write-Output "Stopping Edge from taking over as the default PDF Viewer."
#Stop-EdgePDF
CheckDMWService
CheckInstallService
Write-Output "Finished all tasks."


Size:  4.27 Gb
Link: Windows 10 x64


Note that a switch-less lite installer for the latest nvidia drivers for win 10 x64 is available here (v452.06)
Only graphics driver and Physx system are installed. Geforce experience is not installed.
It is possible to run this during the installation ($oem$ folder).
Link: Nvidia driver




and here is the link for a switch-less win10 activator (encrypted & automatic).
I encrypted it to store it more easily since some antivirus detect it as a virus. Disable your antivirus before executing the exe (it’s not a virus).
A few seconds later,it’s done.
Link: https://mega.nz/#!lZNnGCjI!z8lO3wDxUH0o0iQDSAr_ztf8ADlYnBc3Syi-kbNskno



https://www.youtube.com/watch?v=fNEadYEZb9M
https://www.youtube.com/watch?v=VaXgcCOaaHk
https://www.youtube.com/watch?v=kEMqvrMoEF0
https://www.youtube.com/watch?v=ydjglwfe7II
https://www.youtube.com/watch?v=ODAyvkCNYSc
https://www.youtube.com/embed/7Fsx-1hw0Xg?cc_load_policy=1&cc_lang_pref=en
https://www.youtube.com/watch?v=24xRFPGMImY
https://www.youtube.com/watch?v=H3Ioxh3OTSU

https://www.youtube.com/watch?v=0DiCeoOoMCQ
https://www.youtube.com/watch?v=17CwZmI8mUQ
https://www.youtube.com/watch?v=1pKowWFBIuY
https://www.youtube.com/watch?v=yHDoJi_LpwQ
https://www.youtube.com/watch?v=mSW_lKGf9us

« Last Edit: September 13, 2020, 04:27 PM by scarface »

September 14, 2020, 11:50 AM
Reply #362
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
Maybe some users have noticed that the new windows 10 is available in the previous message.

September 16, 2020, 03:31 AM
Reply #363
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
I know that Vasudev is regularly downloading the new versions of Windows 7 in this topic.
Unfortunately, even if I made a new windows 7, I will not upload it this month since I have a data cap (unless the hotspot is working again, which is not the case currently).
I keep it for later.



Note that the next frictional games titled Amnesia Rebirth will be part of a new repack that will probably be released at the end of October.

September 26, 2020, 01:13 PM
Reply #364
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
Note that tonight, a link for the new version of windows 7 with the september updates will be available on the forum. I know that Vasudev is waiting for it. I went to a library to get an unlimited connection to upload it.
A movie will be available too.
Note that I downloaded a version of windows 10 build 19042.541, this is the new windows 10. But I think it's still a beta, maybe Vasudev knows. If it's not, I can already work on it.


Note that I bought a 12 year-old car, a little monospace Nissan Note.
You can see a photo of a Nissan Note. It's not a photo of my car but I bought the same one. With the most powerful engine, I must say it's pretty nervous. But the breaks are pretty weak (the car is heavy). And yet, I'm still driving my old car despite the head gasquet leak (I'm paying for 2 car insurances meanwhile). I put some cooling liquids again tonight since there is a leak. I hope the engine will not explode. Given the current context, if you are hearing on TV that a gray Xsara exploded in Paris, you'll know that was me. Given the current context, the police will say that was a Jihadist attack. You probably heard of the attack in the 11th arrondissement against Charlie hebdo by a little 18 years old Pakistani, because some old caricatures of the prophet were published again. Instead, I think he stabbed a producer of the TV show "Cash investigation". With a yellow shirt and red sneakers, the man didn't look like a religious but like a basket ball player of the NBA. Well, Charlie Hebdo is not in the 11th arrondissement any more.


I'm not worried for the forum though. There are very resourceful kids here like shadow.97, Vasudev and topdog.
But I  don't know if they are able to release game repacks. I'm still waiting for the release of Amnesia: rebirth in October by the way.
« Last Edit: September 26, 2020, 03:14 PM by scarface »

September 26, 2020, 03:08 PM
Reply #365
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
To Vasudev: I found the answer: Windows 10 build 19042.508 was the official RTM build of the October 2020 Update. I'll try to upload an updated version of Windows 10 20h2 next week then.




https://www.youtube.com/watch?v=tb7lnmLka3w
« Last Edit: September 26, 2020, 03:13 PM by scarface »

September 26, 2020, 03:12 PM
Reply #366

September 27, 2020, 02:26 PM
Reply #367
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
Note I made a version of windows 10 20H2.
abbodi's vc redist was updated to v0.37, and new intel drivers were integrated.
What's more, windows update was configured so that there is a notification instead of automatic updates.
I will try to upload it on the forum next week. I know that humbert will potentially test it since he uses windows 10.

screenshot:

Yesterday at 09:52 AM
Reply #368
  • Global Moderator
  • *****
  • Posts: 2273
  • Gender: Male
To the users of the forum: the new windows 10 will be uploaded tomorrow on the forum (it's as soon as I can).