Maher's Digital World

Windows 7 Component Store Cleanup - Rebase

Re: Windows 7 Component Store Cleanup - Rebase
« Reply #270 on: August 15, 2019, 01:58 AM »
Hey the new w7 sp1 ESD didn't work. It was getting stuck at loading Windows and never progressed further. So, I used your March edition W7 for my office VM ASAP.
Actually, I don't know if I'll release a win7 edition this month. And I don't see the point in using it any more since windows 10 x64 is working (The differences between win 7 and win 10 are slight).
Besides, I have an issue installing kb4512506, the monthly rollup released yesterday. I don't know why it can't be installed.
If Maher was making new win7 isos again, I would gladly stop releasing new versions.
I consider this version as a masterpiece (http://www.nomaher.com/forum/index.php?topic=3350.msg34549#msg34549), and making a larger iso of an older OS doesn't make sense.

In the meantime, the July edition of Windows 7 is still available. According to my tests it's working with the esd version, and I don't know why it wouldn't work either.
If you can't use the esd version, well, you can still go back to wim with this cmd: dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
Geez, why didn't I think of that! I could've converted it to Wim. I feel stupid now!

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #271 on: August 22, 2019, 05:16 PM »
Note that a new version of windows 7 x64 with August updates is being uploaded on the forum.
Since I'm not sure the esd compression is working, I kept it as wim.
What's more, a new switchless installer for the Nvidia driver for windows 10 will be released.
« Last Edit: August 22, 2019, 06:17 PM by scarface »

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #272 on: September 10, 2019, 01:10 AM »
Note that new versions of windows will be available soon.


Re: Windows 7 Component Store Cleanup - Rebase
« Reply #273 on: September 10, 2019, 09:56 AM »
Note that new versions of windows will be available soon.


Waiting for it.

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #274 on: September 10, 2019, 05:10 PM »
They will be available by the end of the week.

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #275 on: October 08, 2019, 06:36 AM »
Today, a new version of windows 10 x64 pro Lite v1909 with November 2019 updates is available ("19H2" for Vasudev)


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 (custom made edition of SF), Sumatra, Flashplayer...
It's also activated by default.
Nothing was deleted in winsxs and to obtain such a size, install.wim was converted into esd.
As usual, It also contains 7zip 19.00, winrar 3.71, Treesize free, subtitles edit, Visual C++ Redist...and the latest drivers.
list of the embedded drivers here: https://justpaste.it/3ke4l
Note that the intel graphics drivers are not integrated any more.
Nothing was removed (but a script was run to remove the useless appx and provisioned packages).
Fx sound enhancer v13.027was added (full version).
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.

New: the game "Mastermind" and Ultraiso (full version) were added. Subtitles Edit was updated to v3.5.11.
abbodi1406's Visual C++ Redist was updated to v0.26.
Some drivers were updated.

Here is the script 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:
Link: https://mega.nz/#!AZdHQKSS!L0TzB7o9epOlTsFKKbnPzDbp5ezIi5Z0HJXWMgyl8MM




Note that a switch-less lite installer for the latest nvidia drivers for win 10 x64 is available here (v441.12)
Only graphics driver and Physx system are installed. Geforce experience is not installed.
It might be possible to run it during the installation (not tested).
Link: Nvidia drivers repack



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/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=17CwZmI8mUQ
https://www.youtube.com/watch?v=hAlj3odftHc
https://www.youtube.com/watch?v=1pKowWFBIuY
https://www.youtube.com/watch?v=NQ9s7FBJL14
https://www.youtube.com/watch?v=yHDoJi_LpwQ
https://www.youtube.com/watch?v=mSW_lKGf9us

« Last Edit: November 06, 2019, 05:07 PM by scarface »

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #276 on: October 08, 2019, 05:09 PM »
Tonight, windows 7 x64 Professional SP1 Tunisia edition with the latest updates is available.


Some users of the forum like Vasudev were eagerly waiting for it.
As usual, it contains many reg tweaks, netfx 3.5 and netfx 4.8, dx9 (and 11) and many programs.
It was updated with the October 2019 updates, 7zip 19.00, winrar 3.71 full, Visual C++ Redist...
Many drivers were updated (intel graphics drivers were not integrated).
Windows defender and UAC are disabled by default.
The useless recovery file winre.wim and a few obsolete drivers (printers, mdm, wia) were deleted.
Fx sound enhancer was added (full version).
Harkaz's rebase was not used in this version.

New: the game "Mastermind" and Ultraiso were added.
Subtitles Edit was updated to v3.5.10. abbodi1406's Visual C++ Redist was updated to v0.25.


Link: https://mega.nz/#!lQ0T1AaC!L6sYntDDXfBCHxM5T5W1G98yApdGFM-OFQ_WoUWlB60



If you have activation problems: https://mega.nz/#!PXZHTIzB!QUp86oPcQJkj4dBgctKa7aQB9KjlAHpjUblN6yUWr2E


Rebase 1.3 for windows 7x64 with its tutorial by harkaz.
An essential program to slim down Windows 7.
Link: https://mega.nz/#!EUEQFQja!Zc1idDsCZXVzHuYHGpthefz_o82bMOgn7OdisvNsK_A


Note that you can still download xp here (an updated, lite version of Maher’s edition which includes every update):
kb4012598 and wmp11 with its updates have been integrated. What’s more, some visual tweaks were applied as you can see on the screenshot below.
Finally, a few unneeded elements were removed (the list is available in the nlite log in the iso file).
Link: https://mega.nz/#!8NUmVCaQ!PzrY8hsTD5XRV8OoNaczvqxIqr_eOOxhHN8_obmbeqM




Here is office 2007 with all the updates, till August 2018 (it’s a switch-less installer).
https://mega.nz/#!zmpCHSzI!NRfwpk_B8zIa515gPIpKQarA3Ry50zuCAk_OcHjiqyc

And here is the MUI pack for office 2007. it includes many languages (notably French, German, italian, Japan, Russian, Arabic). With this pack you can change the user interface language of office 2007 by using the “Microsoft Office 2007 Language Settings”. It's practically impossible to find it today.
https://mega.nz/#!BQ8RiShY!y_DsGSaTFzYQ5pJfLB-lIWqzpb9LmE2N1j1G2dP8Kj4





https://www.youtube.com/watch?v=lPVBrRd9wCo
https://www.youtube.com/watch?v=-apD1rZTUv0
https://www.youtube.com/watch?v=C5KxLV9kKRQ



« Last Edit: October 10, 2019, 12:23 PM by scarface »

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #277 on: Yesterday at 01:59 AM »
Note that I made 2 new installers:
smartcopy (silent switch /S)
https://mega.nz/#!sBsRyCLR!BVDpisH1PJH-8XUld4Qv7fFYJ4hVfN9S-H9pYbdjczs
ultraiso (silent installer, activated during installation).
https://mega.nz/#!kBtDGYYQ!_CfCos6UWaBh7sWIpt6z5mvgDRp3Hwq2jLNJjckuj0o

Note that I used the program smartcopy to improve the repack of Soma. It's convenient when you want to move a large number of files with the same extensions, while keeping the folder structure.





They are both available in Windows 7 and 10 above. Silent installers are convenient to make faster installations. You can even execute several programs silently via a self extracting archive, that's what I do to install all the programs that you find in windows 7 and 10.
But I want more: I need a scholar who knows powershell to tell me how to execute these 3 commands silently via a batch (or vbs script). If there is no answer I will look for it myself:
cmd: Set-ExecutionPolicy Unrestricted (A)
execute the script: "debloat.ps1 -SysPrep" (in powershell it is ".\debloat.ps1 -SysPrep")
cmd: Set-ExecutionPolicy Restricted (Y)
« Last Edit: Yesterday at 02:14 AM by scarface »

Re: Windows 7 Component Store Cleanup - Rebase
« Reply #278 on: Yesterday at 11:52 AM »
Today, a new version of windows 10 x64 pro Lite v1909 with November 2019 updates is available ("19H2" for Vasudev)


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 (custom made edition of SF), Sumatra, Flashplayer...
It's also activated by default.
Nothing was deleted in winsxs and to obtain such a size, install.wim was converted into esd.
As usual, It also contains 7zip 19.00, winrar 3.71, Treesize free, subtitles edit, Visual C++ Redist...and the latest drivers.
list of the embedded drivers here: https://justpaste.it/3ke4l
Note that the intel graphics drivers are not integrated any more.
Nothing was removed (but a script was run to remove the useless appx and provisioned packages).
Fx sound enhancer v13.027was added (full version).
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.

New: the game "Mastermind" and Ultraiso (full version) were added. Subtitles Edit was updated to v3.5.11.
abbodi1406's Visual C++ Redist was updated to v0.26.
Some drivers were updated.

Here is the script 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:
Link: https://mega.nz/#!AZdHQKSS!L0TzB7o9epOlTsFKKbnPzDbp5ezIi5Z0HJXWMgyl8MM




Note that a switch-less lite installer for the latest nvidia drivers for win 10 x64 is available here (v441.12)
Only graphics driver and Physx system are installed. Geforce experience is not installed.
It might be possible to run it during the installation (not tested).
Link: Nvidia drivers repack



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/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=17CwZmI8mUQ
https://www.youtube.com/watch?v=hAlj3odftHc
https://www.youtube.com/watch?v=1pKowWFBIuY
https://www.youtube.com/watch?v=NQ9s7FBJL14
https://www.youtube.com/watch?v=yHDoJi_LpwQ
https://www.youtube.com/watch?v=mSW_lKGf9us
Hey, I made a test copy and it wasn't installing and always during setup. But, I used WinNTsetup and was able to install but during that time my audio was killed by W10 and I reverted back to 1809.

Offline scarface

  • *****
  • 1785
Re: Windows 7 Component Store Cleanup - Rebase
« Reply #279 on: Yesterday at 12:01 PM »
Hey, I made a test copy and it wasn't installing and always during setup. But, I used WinNTsetup and was able to install but during that time my audio was killed by W10 and I reverted back to 1809.
I don't know WinNTsetup, but I guess this program might not be very orthodox. I tested this iso on vmware, it works. I didn't test the upgrade feature either. And I don't use this version of windows 10, but the previous one.