├── Packages ├── WindowsStore │ └── placeholder.txt └── Win32Calc │ └── Win32Calc.wim ├── Src ├── GUI │ ├── image_info.json │ ├── RemovalTemplates │ │ ├── ServicesTemplate.json │ │ ├── FeaturesTemplate.json │ │ ├── PackagesTemplate.json │ │ ├── SystemAppsTemplate.json │ │ ├── WindowsAppsTemplate.json │ │ └── CapabilitiesTemplate.json │ ├── setup.ico │ ├── XAML │ │ ├── TabLayout.xaml │ │ ├── MainConfigGroupBox.xaml │ │ ├── TabScroll.xaml │ │ ├── InputLayout.xaml │ │ ├── MainConfigTab.xaml │ │ ├── ComboBox.xaml │ │ ├── CheckBox.xaml │ │ ├── OutputTab.xaml │ │ ├── ListRemovalComboTab.xaml │ │ ├── CustomRegistryTab.xaml │ │ ├── ListRemovalTab.xaml │ │ └── Layout.xaml │ └── Configuration_definition.json ├── Public │ ├── Get-PathSize.ps1 │ ├── Remove-KeyProperty.ps1 │ ├── Compress-Solid.ps1 │ ├── New-Container.ps1 │ ├── Export-DataFile.ps1 │ ├── Stop-Optimize.ps1 │ ├── Invoke-Cleanup.ps1 │ ├── Remove-Container.ps1 │ ├── Dismount-Images.ps1 │ ├── Get-OptionalEnabledFeatures.ps1 │ ├── Export-ErrorLog.ps1 │ ├── Start-Executable.ps1 │ ├── Get-ImageServices.ps1 │ ├── Get-CapabilityPackages.ps1 │ ├── Get-SystemPackages.ps1 │ ├── Get-OptionalDisabledFeatures.ps1 │ ├── Import-DataFile.ps1 │ ├── Get-OtherWindowsPackages.ps1 │ ├── Get-AppxPackages.ps1 │ ├── Test-Requirements.ps1 │ ├── Optimize-InstallMedia.ps1 │ ├── Resolve-FullPath.ps1 │ ├── Import-RegistryTemplates.ps1 │ ├── Set-KeyProperty.ps1 │ ├── DIR2ISO.ps1 │ ├── Set-LockScreen.ps1 │ ├── Get-CompressionType.ps1 │ ├── Get-OfflineHives.ps1 │ ├── Import-Registry.ps1 │ ├── Write-Log.ps1 │ ├── en-US │ │ └── Set-RegistryProperties.strings.psd1 │ ├── New-ISOMedia.ps1 │ ├── Write-USB.ps1 │ └── Get-ImageData.ps1 └── Private │ ├── Get-DISMPath.ps1 │ ├── Get-DeploymentTool.ps1 │ ├── Import-Win32API.ps1 │ ├── Grant-KeyAccess.ps1 │ └── Grant-Privilege.ps1 ├── Content ├── Lists │ ├── Capabilities │ │ ├── CapabilitiesList.json │ │ └── CapabilitiesTemplate.json │ ├── Packages │ │ ├── PackagesList.json │ │ └── PackagesTemplate.json │ ├── SystemApps │ │ ├── SystemAppsList.json │ │ └── SystemAppsTemplate.json │ ├── FeaturesToEnable │ │ ├── FeaturesToEnableList.json │ │ └── FeaturesToEnableTemplate.json │ ├── FeaturesToDisable │ │ ├── FeaturesToDisableList.json │ │ └── FeaturesToDisableTemplate.json │ ├── WindowsApps │ │ ├── WindowsAppsList.json │ │ └── WindowsAppsTemplate.json │ └── Services │ │ ├── ServicesList.json │ │ ├── ServicesAdvanced.json │ │ └── ServicesTemplate.json ├── Assets │ ├── setup.ico │ └── PlaceAssets.txt ├── Additional │ ├── Setup │ │ ├── Set-Additional.cmd │ │ ├── Remove-OneDrive.cmd │ │ ├── Services.json │ │ ├── ScheduledTasks.json │ │ ├── Remove-DefaultUser0.cmd │ │ ├── SetupComplete.cmd │ │ ├── Remove-DefaultUser0.ps1 │ │ ├── README.md │ │ ├── Refresh-Explorer.ps1 │ │ └── Run_TI_SetupComplete_online.cmd │ ├── LockScreen │ │ ├── Win10HD.jpg │ │ └── README.md │ ├── SystemLogo │ │ ├── OEM_LOGO.bmp │ │ └── README.md │ ├── Wallpaper │ │ ├── README.md │ │ └── Windows 10 HD │ │ │ ├── AlienHD.jpg │ │ │ ├── CortanaHD.jpg │ │ │ ├── DefaultHD.jpg │ │ │ └── SpaceHD.jpg │ ├── RegistryTemplates │ │ ├── README.md │ │ └── Additional Tweaks.reg │ ├── Drivers │ │ ├── Boot │ │ │ └── README.md │ │ ├── Install │ │ │ └── README.md │ │ └── Recovery │ │ │ └── README.md │ ├── LayoutModification │ │ └── README.md │ ├── Unattend │ │ ├── README.md │ │ ├── auditboot_example.xml │ │ ├── unattend.xml │ │ ├── unattend_basic.xml │ │ └── unattend_example.xml │ └── SelectiveRegistry │ │ ├── AMOLED_black_theme.reg │ │ ├── RunAsTi.reg │ │ ├── SelectiveRegistry.ps1 │ │ └── WindowsPhotoViewer.reg └── CustomAppAssociations.xml ├── .gitattributes ├── populateLists.bat ├── populateTemplates.bat ├── Start-helper.ps1 ├── .gitignore ├── .github └── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md ├── Start-Optimize.bat ├── Start-GUI.bat ├── LICENSE ├── Upcoming.md ├── Optimize-Offline.psd1 ├── Configuration.json ├── Remove_Failure_no_prompts.cmd ├── ChangeLog.md ├── Start-Optimize.ps1 ├── Start-Optimize-BAU-TI.ps1 └── en-US └── Optimize-Offline.strings.psd1 /Packages/WindowsStore/placeholder.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Src/GUI/image_info.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /Src/GUI/RemovalTemplates/ServicesTemplate.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] -------------------------------------------------------------------------------- /Src/GUI/RemovalTemplates/FeaturesTemplate.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] 4 | -------------------------------------------------------------------------------- /Src/GUI/RemovalTemplates/PackagesTemplate.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] 4 | -------------------------------------------------------------------------------- /Src/GUI/RemovalTemplates/SystemAppsTemplate.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] -------------------------------------------------------------------------------- /Src/GUI/RemovalTemplates/WindowsAppsTemplate.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] -------------------------------------------------------------------------------- /Src/GUI/RemovalTemplates/CapabilitiesTemplate.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] 4 | -------------------------------------------------------------------------------- /Content/Lists/Capabilities/CapabilitiesList.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": [ 3 | 4 | ] 5 | } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /Content/Lists/Packages/PackagesList.json: -------------------------------------------------------------------------------- 1 | { 2 | "PackageName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Lists/SystemApps/SystemAppsList.json: -------------------------------------------------------------------------------- 1 | { 2 | "DisplayName": [ 3 | 4 | ] 5 | } -------------------------------------------------------------------------------- /Src/GUI/setup.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Src/GUI/setup.ico -------------------------------------------------------------------------------- /Content/Lists/FeaturesToEnable/FeaturesToEnableList.json: -------------------------------------------------------------------------------- 1 | { 2 | "FeatureName" : [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /populateLists.bat: -------------------------------------------------------------------------------- 1 | powershell -ExecutionPolicy Bypass -File "%~dp0Start-Optimize.ps1" "-populateLists" -------------------------------------------------------------------------------- /Content/Lists/FeaturesToDisable/FeaturesToDisableList.json: -------------------------------------------------------------------------------- 1 | { 2 | "FeatureName" : [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /populateTemplates.bat: -------------------------------------------------------------------------------- 1 | powershell -ExecutionPolicy Bypass -File "%~dp0Start-Optimize.ps1" "-populateTemplates" -------------------------------------------------------------------------------- /Content/Assets/setup.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Assets/setup.ico -------------------------------------------------------------------------------- /Content/Additional/Setup/Set-Additional.cmd: -------------------------------------------------------------------------------- 1 | PowerShell -NoProfile -ExecutionPolicy Bypass -File ".\Set-Additional.ps1" -------------------------------------------------------------------------------- /Content/Lists/WindowsApps/WindowsAppsList.json: -------------------------------------------------------------------------------- 1 | { 2 | "DisplayName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Lists/Capabilities/CapabilitiesTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Packages/Win32Calc/Win32Calc.wim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Packages/Win32Calc/Win32Calc.wim -------------------------------------------------------------------------------- /Content/Additional/Setup/Remove-OneDrive.cmd: -------------------------------------------------------------------------------- 1 | PowerShell -NoProfile -ExecutionPolicy Bypass -File ".\Remove-OneDrive.ps1" 2 | 3 | -------------------------------------------------------------------------------- /Content/Lists/Packages/PackagesTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "PackageName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Additional/Setup/Services.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/Setup/Services.json -------------------------------------------------------------------------------- /Content/Lists/FeaturesToEnable/FeaturesToEnableTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "FeatureName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Additional/LockScreen/Win10HD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/LockScreen/Win10HD.jpg -------------------------------------------------------------------------------- /Content/Lists/FeaturesToDisable/FeaturesToDisableTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "FeatureName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Lists/SystemApps/SystemAppsTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "DisplayName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Lists/WindowsApps/WindowsAppsTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "DisplayName": [ 3 | 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /Content/Additional/SystemLogo/OEM_LOGO.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/SystemLogo/OEM_LOGO.bmp -------------------------------------------------------------------------------- /Content/Additional/Setup/ScheduledTasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/Setup/ScheduledTasks.json -------------------------------------------------------------------------------- /Content/Additional/Wallpaper/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any wallpaper files and/or folders to be added to the image here. 2 | -------------------------------------------------------------------------------- /Content/Additional/RegistryTemplates/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any registration templates (reg files) to be added to the image here. 2 | -------------------------------------------------------------------------------- /Content/Assets/PlaceAssets.txt: -------------------------------------------------------------------------------- 1 | Place different assets here 2 | You can place windows.ico - used as the windows local disk icon 3 | setup.ico - used as the USB/ISO icon -------------------------------------------------------------------------------- /Content/Additional/Drivers/Boot/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any driver .inf file(s) or full driver packages to be injected to the boot image here. 2 | -------------------------------------------------------------------------------- /Content/Additional/Wallpaper/Windows 10 HD/AlienHD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/Wallpaper/Windows 10 HD/AlienHD.jpg -------------------------------------------------------------------------------- /Content/Additional/Wallpaper/Windows 10 HD/CortanaHD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/Wallpaper/Windows 10 HD/CortanaHD.jpg -------------------------------------------------------------------------------- /Content/Additional/Wallpaper/Windows 10 HD/DefaultHD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/Wallpaper/Windows 10 HD/DefaultHD.jpg -------------------------------------------------------------------------------- /Content/Additional/Wallpaper/Windows 10 HD/SpaceHD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/Wallpaper/Windows 10 HD/SpaceHD.jpg -------------------------------------------------------------------------------- /Src/GUI/XAML/TabLayout.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {TabContent} 4 | 5 | -------------------------------------------------------------------------------- /Content/Additional/Drivers/Install/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any driver .inf file(s) or full driver packages to be injected to the install image here. -------------------------------------------------------------------------------- /Content/Additional/RegistryTemplates/Additional Tweaks.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdeliana/Optimize-Offline/HEAD/Content/Additional/RegistryTemplates/Additional Tweaks.reg -------------------------------------------------------------------------------- /Content/Additional/Drivers/Recovery/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any driver .inf file(s) or full driver packages to be injected to the recovery image here. 2 | -------------------------------------------------------------------------------- /Src/GUI/XAML/MainConfigGroupBox.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {Content} 4 | 5 | -------------------------------------------------------------------------------- /Content/Additional/LayoutModification/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any custom Start Menu layout XML/JSON (LayoutModification.xml/LayoutModification.json) file to be added to the image here. 2 | -------------------------------------------------------------------------------- /Src/GUI/XAML/TabScroll.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {TabContent} 5 | 6 | 7 | -------------------------------------------------------------------------------- /Content/Lists/Services/ServicesList.json: -------------------------------------------------------------------------------- 1 | { 2 | "__Info": [ 3 | "Insert the services display names as a list, the names are found in the ./ServicesTemplate.json in the 'name' key" 4 | ], 5 | "Services": [ 6 | 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /Content/Additional/SystemLogo/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place custom logo image file to be added to the image here. 2 | 3 | Only the bitmap file format (.bmp) with a dimension of 120x120 is supported by Windows 4 | -------------------------------------------------------------------------------- /Content/Additional/LockScreen/README.md: -------------------------------------------------------------------------------- 1 | If adding additional user content, place any custom LockScreen image file to be added to the image here. 2 | 3 | The image must be in .jpg format and have dimensions appropriate for the resolution (1920x1080) 4 | -------------------------------------------------------------------------------- /Content/Lists/Services/ServicesAdvanced.json: -------------------------------------------------------------------------------- 1 | { 2 | "__Info": [ 3 | "start key values", 4 | "0 = Boot", 5 | "1 = System", 6 | "2 = Automatic", 7 | "3 = Manual", 8 | "4 = Disabled" 9 | ], 10 | "Services": [ 11 | 12 | ] 13 | } -------------------------------------------------------------------------------- /Start-helper.ps1: -------------------------------------------------------------------------------- 1 | $scriptPath = '.\Start-Optimize.ps1' 2 | $process = Start-Process -FilePath "powershell.exe" -ArgumentList ("-NoExit", "-ExecutionPolicy Bypass", "-File `"$scriptPath`"") -PassThru 3 | $process | Wait-Process 4 | 5 | & .\Remove_Failure_no_prompts.cmd -------------------------------------------------------------------------------- /Src/Public/Get-PathSize.ps1: -------------------------------------------------------------------------------- 1 | Function Get-PathSize { 2 | Param 3 | ( 4 | [Parameter(Mandatory = $true)] 5 | [String]$Path 6 | ) 7 | $size = 0 8 | Get-ChildItem $Path -Recurse -File | ForEach-Object { 9 | $size += $_.Length 10 | } 11 | return $size 12 | } -------------------------------------------------------------------------------- /Src/GUI/XAML/InputLayout.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {Input} 10 | -------------------------------------------------------------------------------- /Src/GUI/XAML/MainConfigTab.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {ColsXAML} 10 | 11 | -------------------------------------------------------------------------------- /Content/Lists/Services/ServicesTemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "__Info": [ 3 | "start key values", 4 | "0 = Boot", 5 | "1 = System", 6 | "2 = Automatic", 7 | "3 = Manual", 8 | "4 = Disabled" 9 | ], 10 | "Services": [ 11 | 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /Src/GUI/XAML/ComboBox.xaml: -------------------------------------------------------------------------------- 1 |