Browse Source

Fix previous commit

master
Joe 1 year ago
parent
commit
29036f64d6
44 changed files with 2840 additions and 1 deletions
  1. +0
    -1
      21H1-21H2_PB
  2. +17
    -0
      21H1-21H2_PB/Configuration/custom.yml
  3. +9
    -0
      21H1-21H2_PB/Configuration/features/base/admin.yml
  4. +24
    -0
      21H1-21H2_PB/Configuration/features/base/base.yml
  5. +17
    -0
      21H1-21H2_PB/Configuration/features/base/choco.yml
  6. +24
    -0
      21H1-21H2_PB/Configuration/features/base/components.yml
  7. +715
    -0
      21H1-21H2_PB/Configuration/features/base/files.yml
  8. +8
    -0
      21H1-21H2_PB/Configuration/features/base/login.yml
  9. +9
    -0
      21H1-21H2_PB/Configuration/features/base/permission.yml
  10. +79
    -0
      21H1-21H2_PB/Configuration/features/base/services.yml
  11. +9
    -0
      21H1-21H2_PB/Configuration/features/base/shortcuts.yml
  12. +9
    -0
      21H1-21H2_PB/Configuration/features/base/silent.yml
  13. +9
    -0
      21H1-21H2_PB/Configuration/features/base/wallpaper.yml
  14. +9
    -0
      21H1-21H2_PB/Configuration/features/base/windowsterminal.yml
  15. +97
    -0
      21H1-21H2_PB/Configuration/features/languages/lang.yml
  16. +4
    -0
      21H1-21H2_PB/Configuration/langs.txt
  17. BIN
      21H1-21H2_PB/Executables/7za.dll
  18. BIN
      21H1-21H2_PB/Executables/7za.exe
  19. BIN
      21H1-21H2_PB/Executables/7zxa.dll
  20. +13
    -0
      21H1-21H2_PB/Executables/ADMIN.bat
  21. +83
    -0
      21H1-21H2_PB/Executables/APPX.bat
  22. BIN
      21H1-21H2_PB/Executables/Albacore.ViVe.dll
  23. +4
    -0
      21H1-21H2_PB/Executables/BANN.bat
  24. +101
    -0
      21H1-21H2_PB/Executables/CHOC.bat
  25. +37
    -0
      21H1-21H2_PB/Executables/CONVERT.bat
  26. +1
    -0
      21H1-21H2_PB/Executables/DNET.bat
  27. +169
    -0
      21H1-21H2_PB/Executables/EDGE.bat
  28. +16
    -0
      21H1-21H2_PB/Executables/EDGEX.bat
  29. +13
    -0
      21H1-21H2_PB/Executables/FILEASSOC.bat
  30. +202
    -0
      21H1-21H2_PB/Executables/FIREFOXCONF.bat
  31. +18
    -0
      21H1-21H2_PB/Executables/LOGIN.bat
  32. +443
    -0
      21H1-21H2_PB/Executables/ONED.bat
  33. +8
    -0
      21H1-21H2_PB/Executables/PERM.bat
  34. +420
    -0
      21H1-21H2_PB/Executables/REGI.bat
  35. +40
    -0
      21H1-21H2_PB/Executables/SERV.bat
  36. +23
    -0
      21H1-21H2_PB/Executables/SHRT.bat
  37. +42
    -0
      21H1-21H2_PB/Executables/SLNT.bat
  38. +33
    -0
      21H1-21H2_PB/Executables/TILE.bat
  39. +4
    -0
      21H1-21H2_PB/Executables/UPDATES.bat
  40. BIN
      21H1-21H2_PB/Executables/UsrClass.dat
  41. BIN
      21H1-21H2_PB/Executables/ViVeTool.exe
  42. +128
    -0
      21H1-21H2_PB/Executables/WALLPAPER.bat
  43. +3
    -0
      21H1-21H2_PB/Executables/WINTERM.bat
  44. BIN
      21H1-21H2_PB/Executables/silent_installers.7z

+ 0
- 1
21H1-21H2_PB

@ -1 +0,0 @@
Subproject commit ee13017910963ec819bd7bc53727e9e3fd0e7d0a

+ 17
- 0
21H1-21H2_PB/Configuration/custom.yml View File

@ -0,0 +1,17 @@
---
title: Custom
description: Custom AME configuration
privilege: Admin
actions: []
features:
- features/base/base.yml
- features/base/components.yml
- features/base/files.yml
- features/base/login.yml
- features/base/shortcuts.yml
- features/base/windowsterminal.yml
- features/base/choco.yml
- features/base/silent.yml
- features/base/wallpaper.yml
- features/base/permission.yml
- features/base/admin.yml

+ 9
- 0
21H1-21H2_PB/Configuration/features/base/admin.yml View File

@ -0,0 +1,9 @@
---
title: Admin
description: Remove user from admin group, enable administrator account
privilege: Admin
actions:
- !run:
exeDir: true
exe: "ADMIN.bat"
weight: 10

+ 24
- 0
21H1-21H2_PB/Configuration/features/base/base.yml View File

@ -0,0 +1,24 @@
---
title: Base
description: Base AME configuration
privilege: Admin
actions:
- !run:
exeDir: true
exe: "DNET.bat"
weight: 60
- !run:
exeDir: true
exe: "REGI.bat"
weight: 30
- !run:
exeDir: true
exe: "SFCDEPLOY.bat"
weight: 5
- !run:
exeDir: true
exe: "TILE.bat"
weight: 15
- !run:
exeDir: true
exe: "BANN.bat"

+ 17
- 0
21H1-21H2_PB/Configuration/features/base/choco.yml View File

@ -0,0 +1,17 @@
---
title: Chocolatey
description: Chocolatey configuration
privilege: Admin
actions:
- !run:
exeDir: true
exe: "CHOC.bat"
weight: 250
- !run:
exeDir: true
exe: "FIREFOXCONF.bat"
weight: 20
- !run:
exeDir: true
exe: "FILEASSOC.bat"
weight: 50

+ 24
- 0
21H1-21H2_PB/Configuration/features/base/components.yml View File

@ -0,0 +1,24 @@
title: Components
description: Remove certain windows components
privilege: TrustedInstaller
actions:
- !run:
exeDir: true
exe: "EDGE.bat"
weight: 20
- !run:
exeDir: true
exe: "EDGEX.bat"
weight: 10
- !run:
exeDir: true
exe: "ONED.bat"
weight: 20
- !run:
exeDir: true
exe: "APPX.bat"
weight: 120
- !run:
exeDir: true
exe: "CONVERT.bat"
weight: 10

+ 715
- 0
21H1-21H2_PB/Configuration/features/base/files.yml View File

@ -0,0 +1,715 @@
title: Files
description: delete files
privilege: TrustedInstaller
actions:
- !run:
exeDir: true
exe: "SERV.bat"
weight: 50
- !cmd:
command: "taskkill /f /im explorer.exe"
- !cmd:
command: "taskkill /f /im msedge.exe"
- !task:
path: "\\Microsoft\\Windows\\Customer Experience Improvement Program\\Consolidator"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Customer Experience Improvement Program\\KernelCeipTask"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Application Experience\\ProgramDataUpdater"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Application Experience\\StartupAppTask"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Clip\\License Validation"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip"
state: absent
- !task:
path: "\\Microsoft\\Windows\\HelloFace\\FODCleanupTask"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Maps\\MapsToastTask"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Maps\\MapsUpdateTask"
state: absent
- !task:
path: "\\Microsoft\\Windows\\UpdateOrchestrator\\Schedule Scan"
state: absent
- !task:
path: "\\Microsoft\\Windows\\UpdateOrchestrator\\Schedule Scan Static Task"
state: absent
- !task:
path: "\\Microsoft\\Windows\\UpdateOrchestrator\\UpdateModelTask"
state: absent
- !task:
path: "\\Microsoft\\Windows\\UpdateOrchestrator\\USO_UxBroker"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Windows Defender\\Windows Defender Cache Maintenance"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Windows Defender\\Windows Defender Cleanup"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Windows Defender\\Windows Defender Scheduled Scan"
state: absent
- !task:
path: "\\Microsoft\\Windows\\Windows Defender\\Windows Defender Verification"
state: absent
- !task:
path: "\\Microsoft\\Windows\\WindowsUpdate\\Scheduled Start"
state: absent
- !taskkill:
name: "NisSrv"
- !taskkill:
name: "MicrosoftEdgeUpdate"
- !taskkill:
name: "SecurityHealthService"
- !taskkill:
name: "SecurityHealthSystray"
- !taskkill:
name: "SkypeBackgroundHost"
- !taskkill:
name: "OneDrive"
- !taskkill:
name: "MsMpEng"
- !taskkill:
name: "msiexec"
- !file:
path: "%windir%\\System32\\smartscreen.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthSystray.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthService.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthAgent.dll"
- !file:
path: "%windir%\\System32\\SecurityHealthHost.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthSSO.dll"
- !file:
path: "%windir%\\System32\\smartscreenps.dll"
- !file:
path: "%ProgramFiles(x86)%\\Windows Media Player"
- !file:
path: "%ProgramW6432%\\Windows Media Player"
- !file:
path: "%ProgramFiles(x86)%\\Windows Mail"
- !file:
path: "%ProgramW6432%\\Windows Mail"
- !file:
path: "%windir%\\System32\\SecurityHealthSystray.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthService.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthHost.exe"
- !file:
path: "%windir%\\System32\\SecurityHealthAgent.dll"
- !file:
path: "%windir%\\System32\\wscsvc.dll"
- !file:
path: "%ProgramW6432%\\Windows Defender"
weight: 10
- !file:
path: "%ProgramData%\\Microsoft\\Windows Defender"
weight: 10
- !file:
path: "%ProgramFiles(x86)%\\Windows Defender"
weight: 10
- !file:
path: "%ProgramData%\\Microsoft OneDrive"
- !file:
path: "%ProgramW6432%\\Microsoft Update Health Tools"
- !file:
path: "%ProgramFiles(x86)%\\Internet Explorer"
- !file:
path: "%ProgramW6432%\\Internet Explorer"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate"
- !file:
path: "%windir%\\diagnostics\\system\\Apps"
- !file:
path: "%windir%\\SystemApps\\Microsoft.XboxIdentityProvider*"
- !file:
path: "%windir%\\SystemApps\\Microsoft.XboxGameCallableUI*"
- !file:
path: "%windir%\\SystemApps\\Microsoft.Windows.Cortana*"
- !file:
path: "%windir%\\SystemApps\\Microsoft.MicrosoftEdge*"
- !file:
path: "%windir%\\SystemApps\\*ContentDeliveryManager*"
- !file:
path: "%windir%\\SystemApps\\*CloudExperienceHost*"
- !file:
path: "%ProgramW6432%\\PCHealthCheck"
- !file:
path: "%ProgramW6432%\\Windows Defender Advanced Threat Protection"
- !file:
path: "C:\\ProgramData\\Microsoft\\Windows Defender Advanced Threat Protection"
- !file:
path: "%windir%\\System32\\MoNotificationUx.exe"
- !file:
path: "%windir%\\System32\\MusNotifyIcon.exe"
- !file:
path: "%windir%\\System32\\MusNotificationUx.exe"
- !file:
path: "%windir%\\System32\\MoNotifyIconHandler.dll"
- !file:
path: "%windir%\\System32\\MusUpdateHandlers.dll"
- !file:
path: "%windir%\\System32\\MusDialogHandlers.dll"
- !file:
path: "%windir%\\System32\\MusUxToastHandler.dll"
- !file:
path: "%windir%\\UUS"
# - !file:
# path: "%windir%\\SoftwareDistribution"
- !file:
path: "%windir%\\System32\\OOBE"
# - !file:
# path: "%windir%\\System32\\SgrmBroker.exe"
# - !file:
# path: "%windir%\\System32\\SgrmEnclave.dll"
# - !file:
# path: "%windir%\\System32\\SgrmEnclave_secure.dll"
# - !file:
# path: "%windir%\\System32\\SgrmLpac.exe"
- !file:
path: "%ProgramW6432%\\Windows Security"
- !file:
path: "%windir%\\System32\\wuapi.dll"
- !file:
path: "%windir%\\System32\\wuapihost.exe"
- !file:
path: "%windir%\\System32\\wuauclt.exe"
- !file:
path: "%windir%\\System32\\wuaueng.dll"
- !file:
path: "%ProgramFiles(x86)%\\Microsoft"
- !file:
path: "%windir%\\System32\\AppLockerCSP.dll"
- !file:
path: "%windir%\\SysWOW64\\AppLockerCSP.dll"
- !file:
path: "%windir%\\System32\\drivers\\applockerfltr.sys"
- !file:
path: "%windir%\\System32\\en-US\\applockercsp.dll.mui"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\AppLocker\\AppLocker.psd1"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\AppLocker\\AppLocker.psd1"
- !file:
path: "C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\Autologger\\AutoLogger-Diagtrack-Listener.etl"
- !file:
path: "C:\\Users\\All Users\\Microsoft\\Diagnosis\\ETLLogs\\Autologger\\AutoLogger-Diagtrack-Listener.etl"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\EventTracingManagement\\MSFT_AutologgerConfig_v1.0.cdxml"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\EventTracingManagement\\MSFT_AutologgerConfig_v1.0.cdxml"
- !file:
path: "C:\\Documents and Settings\\All Users\\Microsoft\\Diagnosis\\ETLLogs\\Autologger\\AutoLogger-Diagtrack-Listener.etl"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\EventTracingManagement\\MSFT_AutologgerConfig_v1.0.format.ps1xml"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\EventTracingManagement\\MSFT_AutologgerConfig_v1.0.format.ps1xml"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\Provisioning\\provautologger_add.reg"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\Provisioning\\provautologger_del.reg"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\Provisioning\\provautologger_add.reg"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\Provisioning\\provautologger_del.reg"
- !file:
path: "%windir%\\SysWOW64\\OneDriveSetup.exe"
- !file:
path: "%windir%\\SysWOW64\\OneDriveSettingSyncProvider.dll"
#- !file:
# path: "%windir%\\System32\\ClipSVC.dll"
#- !file:
# path: "%windir%\\System32\\en-US\\clipsvc.dll.mui"
- !file:
path: "C:\\ProgramData\\Microsoft\\Windows\\ClipSVC\\tokens.dat"
- !file:
path: "C:\\Users\\All Users\\Microsoft\\Windows\\ClipSVC\\tokens.dat"
- !file:
path: "C:\\Documents and Settings\\All Users\\Microsoft\\Windows\\ClipSVC\\tokens.dat"
- !file:
path: "C:\\ProgramData\\Microsoft\\Windows\\ClipSVC"
- !file:
path: "C:\\Users\\All Users\\Microsoft\\Windows\\ClipSVC"
- !file:
path: "C:\\Documents and Settings\\All Users\\Microsoft\\Windows\\ClipSVC"
- !file:
path: "%windir%\\System32\\ClipUp.exe"
- !file:
path: "%windir%\\System32\\DeliveryOptimizationMIProv.mof"
- !file:
path: "%windir%\\PolicyDefinitions\\DeliveryOptimization.admx"
- !file:
path: "%windir%\\System32\\DeliveryOptimizationMIProvUninstall.mof"
- !file:
path: "%windir%\\PolicyDefinitions\\en-US\\DeliveryOptimization.adml"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\DeliveryOptimization.psd1"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\DeliveryOptimization.psd1"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\DeliveryOptimizationStatus.psm1"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\DeliveryOptimizationStatus.psm1"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\DeliveryOptimizationVerboseLogs.psm1"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\DeliveryOptimizationVerboseLogs.psm1"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\State\\migration.dat"
- !taskkill:
name: "LogonUI"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\State\\dosvcState.dat"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\State\\migration.dat.LOG1"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\State\\migration.dat.LOG2"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\State\\dosvcState.dat.LOG1"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\State\\dosvcState.dat.LOG2"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\Microsoft.Windows.DeliveryOptimization.AdminCommands.dll"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\DeliveryOptimization\\Microsoft.Windows.DeliveryOptimization.AdminCommands.dll"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20201119_074736_959.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210317_230544_126.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210331_194932_086.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210401_010837_018.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210401_011649_049.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210401_014000_025.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210401_021554_184.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210401_023127_689.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210424_231742_182.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\dosvc.20210424_232559_356.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\domgmt.20210317_230400_085.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\domgmt.20210401_011537_705.etl"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization\\Logs\\domgmt.20210424_232442_384.etl"
- !file:
path: "%windir%\\System32\\DeviceCensus.exe"
- !file:
path: "%windir%\\System32\\diagtrack.dll"
- !file:
path: "%windir%\\DiagTrack\\utc.allow.diffbase"
- !file:
path: "%windir%\\DiagTrack\\analyticsevents.dat"
- !file:
path: "%windir%\\DiagTrack\\utc.privacy.diffbase"
- !file:
path: "%windir%\\DiagTrack\\Settings\\utc.app.json"
- !file:
path: "%windir%\\System32\\en-US\\diagtrack.dll.mui"
- !file:
path: "%windir%\\DiagTrack\\Settings\\utc.tracing.json"
- !file:
path: "%windir%\\DiagTrack\\RunExeActionAllowedList.dat"
- !file:
path: "%windir%\\DiagTrack\\GetFileActionAllowedList.dat"
- !file:
path: "%windir%\\DiagTrack\\GetFileInfoActionAllowedList.dat"
- !file:
path: "%windir%\\DiagTrack\\Scenarios\\windows.uif_ondemand.xml"
- !file:
path: "%windir%\\DiagTrack\\Settings\\windows.uif_ondemand.json"
- !file:
path: "%windir%\\DiagTrack\\RemoteAggregatorTriggerCriteria.dat"
- !file:
path: "%windir%\\DiagTrack\\Scenarios\\windows.diag_ondemand.xml"
- !file:
path: "%windir%\\System32\\LogFiles\\WMI\\Diagtrack-Listener.etl.004"
- !file:
path: "%windir%\\DiagTrack\\Settings\\telemetry.ASM-WindowsDefault.json"
- !file:
path: "C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\ShutdownLogger\\Diagtrack-Listener.etl"
- !file:
path: "C:\\Users\\All Users\\Microsoft\\Diagnosis\\ETLLogs\\ShutdownLogger\\Diagtrack-Listener.etl"
- !file:
path: "C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\Autologger\\AutoLogger-Diagtrack-Listener.etl"
- !file:
path: "C:\\Users\\All Users\\Microsoft\\Diagnosis\\ETLLogs\\Autologger\\AutoLogger-Diagtrack-Listener.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\Microsoft\\Diagnosis\\ETLLogs\\ShutdownLogger\\Diagtrack-Listener.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\Microsoft\\Diagnosis\\ETLLogs\\Autologger\\AutoLogger-Diagtrack-Listener.etl"
- !file:
path: "%windir%\\System32\\dmclient.exe"
- !file:
path: "%windir%\\System32\\DDFs\\DMClient_DDF.xml"
- !file:
path: "%windir%\\System32\\Tasks\\Microsoft\\Windows\\Feedback\\Siuf\\DmClient"
- !file:
path: "%windir%\\System32\\Tasks\\Microsoft\\Windows\\Feedback\\Siuf\\DmClientOnScenarioDownload"
- !file:
path: "%windir%\\System32\\omadmclient.exe"
- !file:
path: "%windir%\\System32\\dosvc.dll"
- !file:
path: "%windir%\\System32\\en-US\\dosvc.dll.mui"
- !file:
path: "%windir%\\ServiceProfiles\\NetworkService\\AppData\\Local\\Microsoft\\Windows\\DeliveryOptimization"
- !file:
path: "%windir%\\PolicyDefinitions\\EnhancedStorage.admx"
- !file:
path: "%windir%\\PolicyDefinitions\\en-US\\EnhancedStorage.adml"
- !file:
path: "%windir%\\PolicyDefinitions\\hotspotauth.admx"
- !file:
path: "%windir%\\PolicyDefinitions\\en-US\\hotspotauth.adml"
- !file:
path: "%windir%\\schemas\\Provisioning\\hotspotprofile_v1.xsd"
- !file:
path: "%windir%\\System32\\Windows.Networking.NetworkOperators.HotspotAuthentication.dll"
- !file:
path: "%windir%\\SysWOW64\\Windows.Networking.NetworkOperators.HotspotAuthentication.dll"
- !file:
path: "%windir%\\System32\\invagent.dll"
- !file:
path: "%windir%\\System32\\msra.exe"
- !file:
path: "%windir%\\SysWOW64\\msra.exe"
- !file:
path: "%windir%\\System32\\msrahc.dll"
- !file:
path: "%windir%\\System32\\MsraLegacy.tlb"
- !file:
path: "%windir%\\SysWOW64\\MsraLegacy.tlb"
- !file:
path: "%windir%\\System32\\en-US\\msra.exe.mui"
- !file:
path: "%windir%\\System32\\en-US\\msrahc.dll.mui"
- !file:
path: "%windir%\\System32\\SIHClient.exe"
- !file:
path: "%windir%\\System32\\en-US\\sihclient.exe.mui"
- !file:
path: "%windir%\\Prefetch\\SIHCLIENT.EXE-A872A8BF.pf"
- !file:
path: "%windir%\\System32\\slui.exe"
- !file:
path: "%windir%\\System32\\en-US\\slui.exe.mui"
- !file:
path: "%windir%\\Prefetch\\SLUI.EXE-724E99D9.pf"
- !file:
path: "%windir%\\System32\\Startupscan.dll"
- !file:
path: "%windir%\\SysWOW64\\Startupscan.dll"
- !file:
path: "%windir%\\System32\\en-US\\Startupscan.dll.mui"
- !file:
path: "%windir%\\SysWOW64\\en-US\\Startupscan.dll.mui"
- !file:
path: "%windir%\\System32\\StorSvc.dll"
- !file:
path: "%windir%\\System32\\en-US\\StorSvc.dll.mui"
- !file:
path: "%windir%\\System32\\usoapi.dll"
- !file:
path: "%windir%\\SysWOW64\\usoapi.dll"
- !file:
path: "%windir%\\System32\\UsoClient.exe"
- !file:
path: "%windir%\\System32\\usocoreps.dll"
- !file:
path: "%windir%\\System32\\usocoreworker.exe"
- !file:
path: "%windir%\\System32\\MoUsoCoreWorker.exe"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.761c6d23-f36c-46be-bf3f-26ba35c4dcca.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.80c59111-3f67-46a5-9fd1-379f4b7c2f7d.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.86ba5ad4-3ec9-43cf-997e-568832e6e2b8.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.ab8bb825-292c-450d-ac06-03e39e89d684.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.761c6d23-f36c-46be-bf3f-26ba35c4dcca.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.80c59111-3f67-46a5-9fd1-379f4b7c2f7d.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.86ba5ad4-3ec9-43cf-997e-568832e6e2b8.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.ab8bb825-292c-450d-ac06-03e39e89d684.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.761c6d23-f36c-46be-bf3f-26ba35c4dcca.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.80c59111-3f67-46a5-9fd1-379f4b7c2f7d.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.86ba5ad4-3ec9-43cf-997e-568832e6e2b8.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.ab8bb825-292c-450d-ac06-03e39e89d684.1.etl"
- !file:
path: "%windir%\\Prefetch\\MOUSOCOREWORKER.EXE-681A8FEE.pf"
- !file:
path: "%windir%\\System32\\usocoreworker.exe"
- !file:
path: "%windir%\\System32\\MoUsoCoreWorker.exe"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.761c6d23-f36c-46be-bf3f-26ba35c4dcca.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.80c59111-3f67-46a5-9fd1-379f4b7c2f7d.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.86ba5ad4-3ec9-43cf-997e-568832e6e2b8.1.etl"
- !file:
path: "C:\\ProgramData\\USOShared\\Logs\\System\\MoUsoCoreWorker.ab8bb825-292c-450d-ac06-03e39e89d684.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.761c6d23-f36c-46be-bf3f-26ba35c4dcca.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.80c59111-3f67-46a5-9fd1-379f4b7c2f7d.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.86ba5ad4-3ec9-43cf-997e-568832e6e2b8.1.etl"
- !file:
path: "C:\\Users\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.ab8bb825-292c-450d-ac06-03e39e89d684.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.2bdb351a-82b4-4f2c-bc55-ec328ca677be.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.4a695923-0852-4c25-9999-60bc09954fbe.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.5e2840a3-5955-481c-83b8-ddd64cdaa7ae.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.761c6d23-f36c-46be-bf3f-26ba35c4dcca.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.80c59111-3f67-46a5-9fd1-379f4b7c2f7d.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.86ba5ad4-3ec9-43cf-997e-568832e6e2b8.1.etl"
- !file:
path: "C:\\Documents and Settings\\All Users\\USOShared\\Logs\\System\\MoUsoCoreWorker.ab8bb825-292c-450d-ac06-03e39e89d684.1.etl"
- !file:
path: "%windir%\\Prefetch\\MOUSOCOREWORKER.EXE-681A8FEE.pf"
- !file:
path: "%windir%\\System32\\usosvc.dll"
- !file:
path: "%windir%\\System32\\en-US\\usosvc.dll.mui"
- !file:
path: "%windir%\\System32\\WaaSMedicPS.dll"
- !file:
path: "%windir%\\System32\\WaaSMedicSvc.dll"
- !file:
path: "%windir%\\System32\\WaaSAssessment.dll"
- !file:
path: "%windir%\\System32\\WaaSMedicAgent.exe"
- !file:
path: "%windir%\\System32\\WaaSMedicCapsule.dll"
- !file:
path: "%windir%\\System32\\en-US\\WaaSMedicSvc.dll.mui"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_WaaSMedic.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_WaaSMedic.ps1"
- !file:
path: "%windir%\\WaaS\\tasks\\17499b8d805e9480903b0df0326a3d231841049e.xml"
- !file:
path: "%windir%\\WaaS\\tasks\\5ffea6126f02e78b9099eb4614d2d339f03ca5a8.xml"
- !file:
path: "%windir%\\WaaS\\services\\14a3f9e824793931d34f7f786a538bbc9ef1f0d6.xml"
- !file:
path: "%windir%\\WaaS\\services\\20bbcadaff3e0543ef358ba4dd8b74bfe8e747c8.xml"
- !file:
path: "%windir%\\WaaS\\services\\2213703c9c64cc61ba900531652e23c84728d2a2.xml"
- !file:
path: "%windir%\\WaaS\\services\\315818c03ccc2b10070df2d4ebd09eb6c4c66e58.xml"
- !file:
path: "%windir%\\WaaS\\services\\43ee7b2a373632f9a701249fd96d0edec2ff1279.xml"
- !file:
path: "%windir%\\WaaS\\services\\ceb497ee0184aaa4681d2fb2ef242a5b8551eea8.xml"
- !file:
path: "%windir%\\System32\\Tasks\\Microsoft\\Windows\\WaaSMedic\\PerformRemediation"
- !file:
path: "C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe.xml"
- !file:
path: "C:\\Users\\All Users\\Microsoft\\Windows\\AppRepository\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe.xml"
- !file:
path: "%ProgramW6432%\\WindowsApps\\DeletedAllUserPackages\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe\\resources.pri"
- !file:
path: "%ProgramW6432%\\WindowsApps\\DeletedAllUserPackages\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe\\AppxBlockMap.xml"
- !file:
path: "%ProgramW6432%\\WindowsApps\\DeletedAllUserPackages\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe\\AppxManifest.xml"
- !file:
path: "%ProgramW6432%\\WindowsApps\\DeletedAllUserPackages\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe\\AppxSignature.p7x"
- !file:
path: "C:\\Documents and Settings\\All Users\\Microsoft\\Windows\\AppRepository\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe.xml"
- !file:
path: "%ProgramW6432%\\WindowsApps\\DeletedAllUserPackages\\Microsoft.WindowsMaps*"
- !file:
path: "%ProgramW6432%\\WindowsApps\\DeletedAllUserPackages\\Microsoft.WindowsMaps_5.1906.1972.0_neutral_split.scale-125_8wekyb3d8bbwe"
- !file:
path: "%windir%\\WindowsUpdate.log"
- !file:
path: "%windir%\\PolicyDefinitions\\WindowsUpdate.admx"
- !file:
path: "%windir%\\System32\\@WindowsUpdateToastIcon.png"
- !file:
path: "%windir%\\PolicyDefinitions\\en-US\\WindowsUpdate.adml"
- !file:
path: "%windir%\\System32\\WindowsUpdateElevatedInstaller.exe"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\TS_Main.ps1"
- !file:
path: "%windir%\\diagnostics\\index\\WindowsUpdateDiagnostic.xml"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\cl_Service.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\CL_Utility.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_appdata.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_AppData.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\CL_SetupEnv.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\DiagPackage.dll"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_DateTime.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_DateTime.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_DataStore.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_WaaSMedic.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_DataStore.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_WaaSMedic.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\VF_DataStore.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\rc_genwuerror.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_GENWUError.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\VF_GenWUError.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\DiagPackage.diagpkg"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\cl_windowsupdate.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\cl_windowsversion.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_Pendingrestart.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RC_Pendingupdates.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_Pendingrestart.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\RS_Pendingupdates.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\VF_Pendingupdates.ps1"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\en-US\\DiagPackage.dll.mui"
- !file:
path: "%windir%\\System32\\Tasks\\Microsoft\\Windows\\WindowsUpdate\\Scheduled Start"
- !file:
path: "%windir%\\diagnostics\\system\\WindowsUpdate\\en-US\\CL_LocalizationData.psd1"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\WindowsUpdate\\WindowsUpdate.psd1"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\WindowsUpdate\\WindowsUpdate.psd1"
- !file:
path: "%windir%\\System32\\WindowsPowerShell\\v1.0\\Modules\\WindowsUpdate\\WindowsUpdateLog.psm1"
- !file:
path: "%windir%\\SysWOW64\\WindowsPowerShell\\v1.0\\Modules\\WindowsUpdate\\WindowsUpdateLog.psm1"
- !file:
path: "C:\\Users\\Public\\Desktop\\Microsoft Edge.lnk"
- !file:
path: "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk"
- !file:
path: "%APPDATA%\\Microsoft\\Internet Explorer\\Quick Launch\\User Pinned\\TaskBar\\Microsoft Edge.lnk"
- !file:
path: "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\PC Health Check.lnk"
- !file:
path: "%windir%\\System32\\wsqmcons.exe"
- !file:
path: "%windir%\\System32\\en-US\\wsqmcons.exe.mui"
- !file:
path: "%windir%\\System32\\wuapi.dll"
- !file:
path: "%windir%\\SysWOW64\\wuapi.dll"
- !file:
path: "%windir%\\System32\\wuauclt.exe"
- !file:
path: "%windir%\\System32\\wuapihost.exe"
- !file:
path: "%windir%\\System32\\en-US\\wuapi.dll.mui"
- !file:
path: "%windir%\\SysWOW64\\en-US\\wuapi.dll.mui"
- !file:
path: "%windir%\\SystemResources\\wuapi.dll.mun"
- !file:
path: "%windir%\\System32\\en-US\\wuaueng.dll.mui"
- !file:
path: "%windir%\\System32\\storewuauth.dll"
- !file:
path: "%windir%\\System32\\wusa.exe"
- !file:
path: "%windir%\\SysWOW64\\wusa.exe"
- !file:
path: "%windir%\\System32\\en-US\\wusa.exe.mui"
- !file:
path: "%windir%\\System32\\wups.dll"
- !file:
path: "%windir%\\System32\\wups2.dll"
- !file:
path: "%windir%\\System32\\wuaueng.dll"
- !file:
path: "%windir%\\System32\\calc.exe"

+ 8
- 0
21H1-21H2_PB/Configuration/features/base/login.yml View File

@ -0,0 +1,8 @@
---
title: Login
description: Modifies login screen
privilege: TrustedInstaller
actions:
- !run:
exeDir: true
exe: "LOGIN.bat"

+ 9
- 0
21H1-21H2_PB/Configuration/features/base/permission.yml View File

@ -0,0 +1,9 @@
---
title: Permission
description: Sets UAC level and user permissions
privilege: Admin
actions:
- !run:
exeDir: true
exe: "PERM.bat"
weight: 10

+ 79
- 0
21H1-21H2_PB/Configuration/features/base/services.yml View File

@ -0,0 +1,79 @@
title: services
description: services
privilege: Admin
actions:
- !service:
name: "DoSvc"
state: stop
- !service:
name: "iphlpsvc"
state: stop
- !service:
name: "Winmgmt"
state: stop
- !service:
name: "ClipSVC"
state: stop
- !service:
name: "DiagTrack"
state: stop
- !service:
name: "RetailDemo"
state: stop
- !service:
name: "diagnosticshub.standardcollector.service"
state: stop
- !service:
name: "dmwappushservice"
state: stop
- !service:
name: "InstallService"
state: stop
- !service:
name: "LicenseManager"
state: stop
- !service:
name: "lfsvc"
state: stop
- !service:
name: "MapsBroker"
state: stop
- !service:
name: "NetTcpPortSharing"
state: stop
- !service:
name: "RemoteAccess"
state: stop
- !service:
name: "RemoteRegistry"
state: stop
- !service:
name: "SharedAccess"
state: stop
- !service:
name: "StorSvc"
state: stop
- !service:
name: "TrkWks"
state: stop
- !service:
name: "UsoSvc"
state: stop
- !service:
name: "WbioSrvc"
state: stop
- !service:
name: "WMPNetworkSvc"
state: stop
- !service:
name: "XblAuthManager"
state: stop
- !service:
name: "XblGameSave"
state: stop
- !service:
name: "XboxNetApiSvc"
state: stop
- !service:
name: "wlidsvc"
state: stop

+ 9
- 0
21H1-21H2_PB/Configuration/features/base/shortcuts.yml View File

@ -0,0 +1,9 @@
---
title: Shortcuts
description: Remove and add shortcuts
privilege: Admin
actions:
- !run:
exeDir: true
exe: "SHRT.bat"
weight: 5

+ 9
- 0
21H1-21H2_PB/Configuration/features/base/silent.yml View File

@ -0,0 +1,9 @@
---
title: Silent Installers
description: Silent Installers for Windows 7 Calculator
privilege: Admin
actions:
- !run:
exeDir: true
exe: "SLNT.bat"
weight: 30

+ 9
- 0
21H1-21H2_PB/Configuration/features/base/wallpaper.yml View File

@ -0,0 +1,9 @@
---
title: Malte Wallpapers
description: Installs Malte Wallpapers
privilege: Admin
actions:
- !run:
exeDir: true
exe: "WALLPAPER.bat"
weight: 20

+ 9
- 0
21H1-21H2_PB/Configuration/features/base/windowsterminal.yml View File

@ -0,0 +1,9 @@
---
title: Windows Terminal
description: Installs Windows Terminal
privilege: Admin
actions:
- !run:
exeDir: true
exe: "WINTERM.bat"
weight: 120

+ 97
- 0
21H1-21H2_PB/Configuration/features/languages/lang.yml View File

@ -0,0 +1,97 @@
!UTask
title: Language installation
description: Installs the files for the languages selected in the GUI
minVersion:
maxVersion:
status: ToDo
actions:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_de-de.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_de-de.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(de-DE); Set-WinUserLanguageList -LanguageList $OldList -Force
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_en-us.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_en-us.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(en-US); Set-WinUserLanguageList -LanguageList $OldList -Force
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_es-es.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_es-es.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(es-ES); Set-WinUserLanguageList -LanguageList $OldList -Force
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/basic_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/speech_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/tts_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/ocr_fi-fi.cab
standardError:
standardOutput:
- !cmd
command: Dism /online /Add-Package /PackagePath:%temp%/AME/Languages/hw_fi-fi.cab
standardError:
standardOutput:
- !powershell
command: $OldList = Get-WinUserLanguageList; $OldList.Add(fi-FI); Set-WinUserLanguageList -LanguageList $OldList -Force
priority: 1
features: []

+ 4
- 0
21H1-21H2_PB/Configuration/langs.txt View File

@ -0,0 +1,4 @@
de-DE
en-US
es-ES
fi-FI

BIN
21H1-21H2_PB/Executables/7za.dll View File


BIN
21H1-21H2_PB/Executables/7za.exe View File


BIN
21H1-21H2_PB/Executables/7zxa.dll View File


+ 13
- 0
21H1-21H2_PB/Executables/ADMIN.bat View File

@ -0,0 +1,13 @@
net user Administrator /active:yes
net user Administrator malte
@echo OFF
for /f "usebackq delims=" %%A in (`net localgroup administrators ^| findstr /V /X /I /R /c:"Alias name[ ].*" /c:"Comment[ ].*" /c:"Members" /c:"-*" /c:"The command completed.*" /c:"Administrator"`) do (
echo net localgroup administrators "%%A" /delete
net localgroup administrators "%%A" /delete
)
@echo ON
schtasks /create /tn "AME Admin Log-off" /tr "CMD /C 'SCHTASKS /run /tn 'AME Admin Log-off Msg' & Logoff'" /ru "Administrator" /sc ONLOGON /it /rl HIGHEST /f > NUL
PowerShell -NoP -C "$TaskSet = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries; Set-ScheduledTask -TaskName 'AME Admin Log-off Msg' -Settings $TaskSet" > NUL
schtasks /create /tn "AME Admin Log-off Msg" /tr "PowerShell -NoP -C 'While($lim -lt 20){WMIC computersystem get username|findstr /c:'\Administrator ';if(!$?){Break};$lim++;Sleep 1};'''Logging in as the Administrator user is not supported on AME.`nPlease login using a different account.'''|Msg *'" /sc MONTHLY /f /rl HIGHEST /ru "SYSTEM" > NUL
PowerShell -NoP -C "$TaskSet = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries; Set-ScheduledTask -TaskName 'AME Admin Log-off Msg' -Settings $TaskSet; $serv = New-Object -ComObject Schedule.Service; $serv.Connect($env:COMPUTERNAME); $folder = $serv.GetFolder('\'); $task = $folder.GetTask('AME Admin Log-off Msg'); $item = $task.Definition; $item.Triggers.Remove(1); $folder.RegisterTaskDefinition($task.Name, $item, 4, $null, $null, $null)" > NUL

+ 83
- 0
21H1-21H2_PB/Executables/APPX.bat View File

@ -0,0 +1,83 @@
cd Executables\ame-assassin
ame-assassin -Family *Microsoft.549981C3F5F10*
ame-assassin -Family *3DViewer*
ame-assassin -Family *AssignedAccessLockApp*
ame-assassin -Family *PinningConfirmationDialog*
ame-assassin -Family *SecureAssessmentBrowser*
ame-assassin -Family *FeedbackHub*
ame-assassin -Family *MixedReality*
ame-assassin -Family *Microsoft.Calculator*
ame-assassin -Family *Microsoft.WindowsAlarms*
ame-assassin -Family *Microsoft.GetHelp*
ame-assassin -Family *Getstarted*
ame-assassin -Family *disney*
ame-assassin -Family *Microsoft.OneConnect*
ame-assassin -Family *WindowsCamera*
ame-assassin -Family *bing*
ame-assassin -Family *Sticky*
ame-assassin -Family *Microsoft.WindowsStore*
ame-assassin -Family *StorePurchaseApp*
ame-assassin -Family *MicrosoftOfficeHub*
ame-assassin -Family *Paint*
ame-assassin -Family *wallet*
ame-assassin -Family *OneNote*
ame-assassin -Family *Microsoft.People*
ame-assassin -Family *WindowsPhone*
ame-assassin -Family *YourPhone*
ame-assassin -Family *photos*
ame-assassin -Family *SkypeApp*
ame-assassin -Family *solit*
ame-assassin -Family *spotify*
ame-assassin -Family *WindowsSoundRecorder*
ame-assassin -Family *windowscommunicationsapps*
ame-assassin -Family *zune*
ame-assassin -Family *WindowsCalculator*
ame-assassin -Family *WindowsMaps*
ame-assassin -Family *Sway*
ame-assassin -Family *CommsPhone*
ame-assassin -Family *ConnectivityStore*
ame-assassin -Family *Microsoft.Messaging*
ame-assassin -Family *Microsoft.WindowsStore*
ame-assassin -Family *XboxApp*
ame-assassin -Family *GamingApp*
ame-assassin -Family *XboxSpeechToTextOverlay*
ame-assassin -Family *XboxGamingOverlay*
ame-assassin -App *WebExperienceHost* -Verbose
ame-assassin -Family *XboxGameOverlay*
ame-assassin -Family *Xbox.TCUI*
ame-assassin -Family *Xbox.XboxGameCallableUI*
ame-assassin -Family *Xbox.XboxIdenitity*
ame-assassin -Family *SecHealthUI*
ame-assassin -Family *Microsoft.Todos*
ame-assassin -Family *PowerAutomate*
ame-assassin -Family *MicrosoftEdge*
ame-assassin -Family *OneDrive*
::ame-assassin -Family *DesktopAppInstaller*
ame-assassin -Family *PeopleExperienceHost*
ame-assassin -Family *Parental*
ame-assassin -Family *CloudExperienceHost*
ame-assassin -Family *ContentDeliveryManager*
ame-assassin -Family *Client.WebExperience*
ame-assassin -Family *Apprep.Chx*
ame-assassin -Family *OOBENetwork*
ame-assassin -Family *MicrosoftTeams*
ame-assassin -Family *Clipchamp*
ame-assassin -App *Global.IrisService* -Verbose
ame-assassin -App *Global.Accounts* -Verbose
ame-assassin -ClearCache *Client.CBS*
ame-assassin -ClearCache *StartMenuExperienceHost*
ame-assassin -ClearCache *Windows.Search*

BIN
21H1-21H2_PB/Executables/Albacore.ViVe.dll View File


+ 4
- 0
21H1-21H2_PB/Executables/BANN.bat View File

@ -0,0 +1,4 @@
cd Executables
ViVeTool addconfig 18299130 1
ViVeTool addconfig 31950543 1

+ 101
- 0
21H1-21H2_PB/Executables/CHOC.bat View File

@ -0,0 +1,101 @@
cd Executables
reg query "HKLM\SOFTWARE\Clients\StartMenuInternet" /k /f "Firefox-" > "%TEMP%\Firefox-Reg-Output.txt"
:: Load tile layout from before
PowerShell -NoP -C "(New-Object -ComObject wscript.shell).SendKeys('^{ESCAPE}')"
timeout /t 3 > NUL
PowerShell -NoP -C "(New-Object -ComObject wscript.shell).SendKeys('^{ESCAPE}')"
@echo OFF
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"S-" /c:"AME_UserHive_"`) do (
reg query "HKU\%%A" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > NUL 2>&1
if not errorlevel 1 call :CHOCCALL "%%A"
)
@PowerShell -NoP -ExecutionPolicy Bypass -C "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && set "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
@PowerShell -NoP -ExecutionPolicy Bypass -C "choco install -y --force --allow-empty-checksums firefox thunderbird open-shell vlc 7zip jpegview vcredist-all directx onlyoffice cascadiamono"
::@PowerShell -NoP -ExecutionPolicy Bypass -C "choco install -y --force --allow-empty-checksums -n eartrumpet"
::if exist "%ALLUSERSPROFILE%\chocolatey\lib\eartrumpet\tools\release.zip" (
:: echo PowerShell -NoP -C "Expand-Archive -Path '%ALLUSERSPROFILE%\chocolatey\lib\eartrumpet\tools\release.zip' -DestinationPath '%ALLUSERSPROFILE%\EarTrumpet'"
:: PowerShell -NoP -C "Expand-Archive -Path '%ALLUSERSPROFILE%\chocolatey\lib\eartrumpet\tools\release.zip' -DestinationPath '%ALLUSERSPROFILE%\EarTrumpet'"
:: echo rmdir /q /s "%ALLUSERSPROFILE%\chocolatey\lib\eartrumpet"
:: rmdir /q /s "%ALLUSERSPROFILE%\chocolatey\lib\eartrumpet"
:: echo mkdir "%SYSTEMDRIVE%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
:: mkdir "%SYSTEMDRIVE%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
:: echo PowerShell -NoP -C "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\EarTrumpet.lnk'); $S.TargetPath = '%ALLUSERSPROFILE%\EarTrumpet\EarTrumpet.exe'; $S.Save()"
:: PowerShell -NoP -C "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\EarTrumpet.lnk'); $S.TargetPath = '%ALLUSERSPROFILE%\EarTrumpet\EarTrumpet.exe'; $S.Save()"
::)
@echo ON
copy /y Fluent-Metro.skin "%PROGRAMFILES%\Open-Shell\Skins"
copy /y Fluent-Metro.skin7 "%PROGRAMFILES%\Open-Shell\Skins"
:: Load new Open-Shell menu
PowerShell -NoP -C "(New-Object -ComObject wscript.shell).SendKeys('^{ESCAPE}')"
timeout /t 3 > NUL
PowerShell -NoP -C "(New-Object -ComObject wscript.shell).SendKeys('^{ESCAPE}')"
@exit /b 0
:CHOCCALL
@echo ON
reg add "HKU\%~1\SOFTWARE\OpenShell" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\OpenShell" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\OpenShell\Settings" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\ClassicExplorer" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\ClassicExplorer\Settings" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\ClassicExplorer" /v "CSettingsDlg" /t REG_BINARY /d a8030000d00100000000000000000000aa0f00000100010100000000 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\ClassicExplorer" /v "ShowedToolbar" /t REG_DWORD /d 1 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\ClassicExplorer" /v "NewLine" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\ClassicExplorer\Settings" /v "ShowStatusBar" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu" /v "ShowedStyle2" /t REG_DWORD /d 1 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu" /v "CSettingsDlg" /t REG_BINARY /d c80100001a0100000000000000000000360d00000100000000000000 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu" /v "OldItems" /t REG_BINARY /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu" /v "ItemRanks" /t REG_BINARY /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\MRU" /v "0" /t REG_SZ /d "C:\Windows\regedit.exe" /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "Version" /t REG_DWORD /d 04040098 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "AllProgramsMetro" /t REG_DWORD /d 1 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "RecentMetroApps" /t REG_DWORD /d 1 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "StartScreenShortcut" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "SearchInternet" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "GlassOverride" /t REG_DWORD /d 1 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "GlassColor" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "SkinW7" /t REG_SZ /d "Fluent-Metro" /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "SkinVariationW7" /t REG_SZ /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "ShiftWin" /t REG_SZ /d "Nothing" /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "SkinOptionsW7" /t REG_MULTI_SZ /d "DARK_MAIN=0"\0"METRO_MAIN=0"\0"LIGHT_MAIN=0"\0"AUTOMODE_MAIN=1"\0"DARK_SUBMENU=0"\0"METRO_SUBMENU="\0"LIGHT_SUBMENU=0"\0"AUTOMODE_SUBMENU=1"\0"SUBMENU_SEPARATORS=1"\0"DARK_SEARCH=0"\0"METRO_SEARCH="\0"LIGHT_SEARCH=0"\0"AUTOMODE_SEARCH=1"\0"SEARCH_FRAME=1"\0"SEARCH_COLOR=0"\0"SMALL_SEARCH=0"\0"MOERN_SEARCH=1"\0"SEARCH_ITALICS=0"\0"NONE=0"\0"SEPARATOR=0"\0"TWO_TONE=1"\0"CLASSIC_SELECTOR=1"\0"HAF_SELECTOR=0"\0"CURVED_MENUSEL=1"\0"CURVED_SUBMENU=0"\0"SELECTOR_REVEAL=1"\0"TRANSPARENT=0"\0"OPAQU_SUBMENU=1"\0"OPAQUE_MENU=0"\0"OPAQUE=0"\0"STANDARD=0"\0"SMALL_MAIN2=1"\0"SMALL_ICONS=0"\0"COMPACT_UBMENU=0"\0"PRESERVE_MAIN2=0"\0"LESS_PADDING=0"\0"EXTRA_PADDING=1"\0"24_PADDING=0"\0"LARGE_PROGRAMS0"\0"TRANSPARENT_SHUTDOWN=0"\0"OUTLINE_SHUTDOWN=0"\0"BUTTON_SHUTDOWN=1"\0"EXPERIMENTAL_SHUTDOWN=0"\"LARGE_FONT=0"\0"CONNECTED_BORDER=1"\0"FLOATING_BORDER=0"\0"LARGE_SUBMENU=0"\0"LARGE_LISTS=0"\0"THI_MAIN2=0"\0"EXPERIMENTAL_MAIN2=1"\0"USER_IMAGE=1"\0"USER_OUTSIDE=0"\0"SCALING_USER=1"\0"56=0"\0"64="\0"TRANSPARENT_USER=0"\0"UWP_SCROLLBAR=0"\0"MODERN_SCROLLBAR=1"\0"SMALL_ARROWS=0"\0"ARROW_BACKGROUD=1"\0"ICON_FRAME=0"\0"SEARCH_SEPARATOR=0"\0"NO_PROGRAMS_BUTTON=0" /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "SkipMetro" /t REG_DWORD /d 1 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "MenuItems7" /t REG_MULTI_SZ /d "Item1.Command=user_files\0Item1.Settings=NOEXPAND\0Item2.Command=user_documents\0Item2.Settings=NOEXPAND\0Item3.Command=user_pictures\0Item3.Settings=NOEXPAND\0Item4.Command=user_music\0Item4.Settings=NOEXPAND\0Item5.Command=user_videos\0Item5.Settings=NOEXPAND\0Item6.Command=downloads\0Item6.Settings=NOEXPAND\0Item7.Command=homegroup\0Item7.Settings=ITEM_DISABLED\0Item8.Command=separator\0Item9.Command=games\0Item9.Settings=TRACK_RECENT|NOEXPAND|ITEM_DISABLED\0Item10.Command=favorites\0Item10.Settings=ITEM_DISABLED\0Item11.Command=recent_documents\0Item12.Command=computer\0Item12.Settings=NOEXPAND\0Item13.Command=network\0Item13.Settings=ITEM_DISABLED\0Item14.Command=network_connections\0Item14.Settings=ITEM_DISABLED\0Item15.Command=separator\0Item16.Command=control_panel\0Item16.Settings=TRACK_RECENT\0Item17.Command=pc_settings\0Item17.Settings=TRACK_RECENT\0Item18.Command=admin\0Item18.Settings=TRACK_RECENT|ITEM_DISABLED\0Item19.Command=devices\0Item19.Settings=ITEM_DISABLED\0Item20.Command=defaults\0Item20.Settings=ITEM_DISABLED\0Item21.Command=help\0Item21.Settings=ITEM_DISABLED\0Item22.Command=run\0Item23.Command=apps\0Item23.Settings=ITEM_DISABLED\0Item24.Command=windows_security\0Item24.Settings=ITEM_DISABLED\0" /f
reg add "HKU\%~1\SOFTWARE\OpenShell\OpenShell\Settings" /v "Update" /d 0 /t REG_DWORD /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "CheckWinUpdates" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "HighlightNew" /t REG_DWORD /d 0 /f
reg add "HKU\%~1\SOFTWARE\Microsoft\Internet Explorer\Toolbar\ShellBrowser" /v "ITBar7Layout" /t REG_BINARY /d 13000000000000000000000020000000100000000000000001000000010700005e01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 /f
@echo OFF
::if "%~1"=="AME_UserHive_Default" (
:: echo reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "MenuItems7" /t REG_MULTI_SZ /d "Item1.Command=user_files\0Item1.Settings=NOEXPAND\0Item2.Command=user_documents\0Item2.Settings=NOEXPAND\0Item3.Command=user_pictures\0Item3.Settings=NOEXPAND\0Item4.Command=user_music\0Item4.Settings=NOEXPAND\0Item5.Command=user_videos\0Item5.Settings=NOEXPAND\0Item6.Command=downloads\0Item6.Settings=NOEXPAND\0Item7.Command=homegroup\0Item7.Settings=ITEM_DISABLED\0Item8.Command=separator\0Item9.Command=games\0Item9.Settings=TRACK_RECENT|NOEXPAND|ITEM_DISABLED\0Item10.Command=favorites\0Item10.Settings=ITEM_DISABLED\0Item11.Command=recent_documents\0Item12.Command=computer\0Item12.Settings=NOEXPAND\0Item13.Command=network\0Item13.Settings=ITEM_DISABLED\0Item14.Command=network_connections\0Item14.Settings=ITEM_DISABLED\0Item15.Command=separator\0Item16.Command=control_panel\0Item16.Settings=TRACK_RECENT\0Item17.Command=ITEM_DISABLED\0Item17.Settings=TRACK_RECENT\0Item18.Command=admin\0Item18.Settings=TRACK_RECENT|ITEM_DISABLED\0Item19.Command=devices\0Item19.Settings=ITEM_DISABLED\0Item20.Command=defaults\0Item20.Settings=ITEM_DISABLED\0Item21.Command=help\0Item21.Settings=ITEM_DISABLED\0Item22.Command=run\0Item23.Command=apps\0Item23.Settings=ITEM_DISABLED\0Item24.Command=windows_security\0Item24.Settings=ITEM_DISABLED\0" /f
:: reg add "HKU\%~1\SOFTWARE\OpenShell\StartMenu\Settings" /v "MenuItems7" /t REG_MULTI_SZ /d "Item1.Command=user_files\0Item1.Settings=NOEXPAND\0Item2.Command=user_documents\0Item2.Settings=NOEXPAND\0Item3.Command=user_pictures\0Item3.Settings=NOEXPAND\0Item4.Command=user_music\0Item4.Settings=NOEXPAND\0Item5.Command=user_videos\0Item5.Settings=NOEXPAND\0Item6.Command=downloads\0Item6.Settings=NOEXPAND\0Item7.Command=homegroup\0Item7.Settings=ITEM_DISABLED\0Item8.Command=separator\0Item9.Command=games\0Item9.Settings=TRACK_RECENT|NOEXPAND|ITEM_DISABLED\0Item10.Command=favorites\0Item10.Settings=ITEM_DISABLED\0Item11.Command=recent_documents\0Item12.Command=computer\0Item12.Settings=NOEXPAND\0Item13.Command=network\0Item13.Settings=ITEM_DISABLED\0Item14.Command=network_connections\0Item14.Settings=ITEM_DISABLED\0Item15.Command=separator\0Item16.Command=control_panel\0Item16.Settings=TRACK_RECENT\0Item17.Command=pc_settings\0Item17.Settings=ITEM_DISABLED\0Item18.Command=admin\0Item18.Settings=TRACK_RECENT|ITEM_DISABLED\0Item19.Command=devices\0Item19.Settings=ITEM_DISABLED\0Item20.Command=defaults\0Item20.Settings=ITEM_DISABLED\0Item21.Command=help\0Item21.Settings=ITEM_DISABLED\0Item22.Command=run\0Item23.Command=apps\0Item23.Settings=ITEM_DISABLED\0Item24.Command=windows_security\0Item24.Settings=ITEM_DISABLED\0" /f
:: echo reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "HideSCAVolume" /t REG_DWORD /d 1 /f
:: reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "HideSCAVolume" /t REG_DWORD /d 1 /f
:: reg add "HKU\%~1\SOFTWARE\EarTrumpet" /v "hasShownFirstRun" /t REG_SZ /d "<?xml version=""""1.0"""" encoding=""""utf-16""""?><boolean>true</boolean>" /f
:: reg add "HKU\%~1\SOFTWARE\EarTrumpet" /v "IsTelemetryEnabled" /t REG_SZ /d "<?xml version=""""1.0"""" encoding=""""utf-16""""?><boolean>false</boolean>" /f
:: copy /y "UsrClass.dat" "%SYSTEMDRIVE%\Users\Default\AppData\Local\Microsoft\Windows"
::)
for /f "usebackq tokens=2* delims= " %%B in (`reg query "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "AppData" 2^>^&1 ^| findstr /R /X /C:".*AppData[ ]*REG_SZ[ ].*"`) do (
echo del "%%C\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" /q /f
del "%%C\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" /q /f
echo del "%%C\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" /q /f
del "%%C\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" /q /f
echo del "%%C\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk" /q /f
del "%%C\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk" /q /f
)
exit /b 0

+ 37
- 0
21H1-21H2_PB/Executables/CONVERT.bat View File

@ -0,0 +1,37 @@
cd Executables
for /f "usebackq delims=" %%E in (`PowerShell -NoP -C "(Get-LocalUser | Where {$_.PrincipalSource -eq 'MicrosoftAccount'}).Name"`) do call :CONVERTUSER "%%E"
for /f "usebackq delims=" %%E in (`reg query "HKLM\SOFTWARE\Microsoft\IdentityStore\LogonCache\Name2Sid" ^| findstr /i /c:"Name2Sid"`) do reg delete "%%E" /f
for /f "usebackq delims=" %%E in (`reg query "HKLM\SOFTWARE\Microsoft\IdentityStore\LogonCache\Sid2Name" ^| findstr /i /c:"Sid2Name"`) do reg delete "%%E" /f
rmdir /q /s "%WINDIR%\System32\config\systemprofile\AppData\Local\Microsoft\Windows\CloudAPCache"
rmdir /q /s "%WINDIR%\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc"
for /f "usebackq delims=" %%E in (`reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers" /s /f "NGC Credential Provider" ^| findstr /c:"Credential Providers\\"`) do reg delete "%%E" /f
for /f "usebackq delims=" %%E in (`reg query "HKLM\SOFTWARE\Microsoft\IdentityStore\Providers" /s /f "MicrosoftAccount" ^| findstr /c:"Providers\\"`) do reg delete "%%E" /f
exit /b 0
:CONVERTUSER
for /f "usebackq delims=" %%E in (`reg query "HKLM\SAM\SAM\Domains\Account\Users" ^| findstr /i /c:"Account\Users"`) do (
for /f "usebackq tokens=1 delims= " %%F in (`reg query "%%E" ^| findstr /r /c:"[]*Internet" /c:"GivenName" /c:"Surname"`) do reg delete "%%E" /v "%%F" /f
)
for /f "usebackq delims=" %%E in (`PowerShell -NoP -C "(New-Object -ComObject Microsoft.DiskQuota).TranslateLogonNameToSID('%~1')"`) do set "userSID=%%E"
reg add "HKU\%userSID%\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountState" /v "ExplicitLocal" /t REG_DWORD /d 1 /f
reg delete "HKU\%userSID%\SOFTWARE\Microsoft\IdentityCRL" /f
for /f "usebackq delims=" %%E in (`reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers" /s /f "%userSID%" ^| findstr /c:"%userSID%"`) do reg delete "%%E" /f
net user "%~1" /fullname:""
net user "%~1" malte

+ 1
- 0
21H1-21H2_PB/Executables/DNET.bat View File

@ -0,0 +1 @@
dism /online /enable-feature /featurename:NetFX3 /All /Source:Executables /LimitAccess

+ 169
- 0
21H1-21H2_PB/Executables/EDGE.bat View File

@ -0,0 +1,169 @@
taskkill /im msedge.exe /f
@echo OFF
::for /f "usebackq delims=" %%A in (`dir /b /s "%PROGRAMFILES(x86)%\Microsoft\Edge\Application\*setup.exe" ^| findstr /c:"Installer\\setup.exe"`) do (
:: echo PowerShell -NoP -C "Start-Process '%%A' -ArgumentList '--uninstall','--system-level','--verbose-logging','--force-uninstall' -NoNewWindow -Wait"
:: PowerShell -NoP -C "Start-Process '%%A' -ArgumentList '--uninstall','--system-level','--verbose-logging','--force-uninstall' -NoNewWindow -Wait"
::)
taskkill /f /im "msedge.exe"
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"S-"`) do (
reg query "HKU\%%A" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > NUL 2>&1
if not errorlevel 1 (
CALL :USERREG "%%A"
)
)
@echo ON
for /f "usebackq tokens=1 delims= " %%E in (`reg query "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^| findstr /i /c:"MicrosoftEdge" /c:"msedge"`) do reg delete "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "%%E" /f
reg delete "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMigratedBrowserPin" /f
del /q /f "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"
for /f "usebackq delims=" %%E in (`reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall" ^| findstr /i /r /c:"Microsoft[ ]*Edge" /c:"msedge"`) do reg delete "%%E" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /f
reg delete "HKCR\CLSID\{1FCBE96C-1697-43AF-9140-2897C7C69767}" /f
reg delete "HKCR\AppID\{1FCBE96C-1697-43AF-9140-2897C7C69767}" /f
reg delete "HKCR\Interface\{C9C2B807-7731-4F34-81B7-44FF7779522B}" /f
reg delete "HKCR\TypeLib\{C9C2B807-7731-4F34-81B7-44FF7779522B}" /f
reg delete "HKCR\MSEdgeHTM" /f
reg delete "HKCR\MSEdgePDF" /f
reg delete "HKCR\MSEdgeMHT" /f
reg delete "HKCR\AppID\{628ACE20-B77A-456F-A88D-547DB6CEEDD5}" /f
reg delete "HKLM\SOFTWARE\Clients\StartMenuInternet\Microsoft Edge" /f
reg delete "HKLM\SOFTWARE\RegisteredApplications" /v "Microsoft Edge" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe" /f
reg delete "HKCR\.htm\OpenWithProgIds" /v "MSEdgeHTM" /f
reg delete "HKCR\.html\OpenWithProgIds" /v "MSEdgeHTM" /f
reg delete "HKCR\.shtml\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKCR\.svg\OpenWithProgIds" /v "MSEdgeHTM" /f
reg delete "HKCR\.xht\OpenWithProgIds" /v "MSEdgeHTM" /f
reg delete "HKCR\.xhtml\OpenWithProgIds" /v "MSEdgeHTM" /f
reg delete "HKCR\.webp\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKCR\.xml\OpenWithProgIds" /v "MSEdgeHTM" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" /v "MSEdgeHTM_microsoft-edge" /f
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "MSEdgePath" /f
reg delete "HKCR\AppID\ie_to_edge_bho.dll" /f
reg delete "HKCR\AppID\{31575964-95F7-414B-85E4-0E9A93699E13}" /f
reg delete "HKCR\CLSID\{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
reg delete "HKCR\WOW6432Node\CLSID\{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
reg delete "HKCR\ie_to_edge_bho.IEToEdgeBHO" /f
reg delete "HKCR\ie_to_edge_bho.IEToEdgeBHO.1" /f
::
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Ext\PreApproved\{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Ext\CLSID" /v "{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Edge" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Edge" /f
reg delete "HKCR\CLSID\{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}" /f
reg delete "HKCR\WOW6432Node\CLSID\{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers" /v "{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}" /f
reg delete "HKCR\.pdf\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}" /v "(Default)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{9459C573-B17A-45AE-9F64-1857B5D58CEE}" /f
reg delete "HKU\S-1-5-21-3476428458-2503407758-626446112-1002\SOFTWARE\Microsoft\Active Setup\Installed Components\{9459C573-B17A-45AE-9F64-1857B5D58CEE}" /f
reg delete "HKLM\System\CurrentControlSet\Services\EventLog\Application\Edge" /f
reg delete "HKLM\SOFTWARE\Microsoft\MediaPlayer\ShimInclusionList\msedge.exe" /f
rmdir /q /s "%ProgramFiles(x86)%\Microsoft\EdgeCore"
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update" /f
::WebView
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView" /f
rmdir /q /s "%ProgramFiles(x86)%\Microsoft\EdgeWebView"
@echo OFF
for /f "usebackq delims=" %%A in (`dir /b /a:d "%SYSTEMDRIVE%\Users"`) do (
::WebView
echo rmdir /q /s "%SYSTEMDRIVE%\Users\%%A\AppData\Local\Microsoft\EdgeWebView"
rmdir /q /s "%SYSTEMDRIVE%\Users\%%A\AppData\Local\Microsoft\EdgeWebView"
echo rmdir /q /s "%SYSTEMDRIVE%\Users\%%A\AppData\Local\Microsoft\Edge"
rmdir /q /s "%SYSTEMDRIVE%\Users\%%A\AppData\Local\Microsoft\Edge"
)
exit /b 0
:USERREG
@echo ON
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /v "FavoritesResolve" /t REG_BINARY /d 320300004C0000000114020000000000C0000000000000468300800020000000549E39A5246AD8012B113CA5246AD801A8B6C6DADDACD501970100000000000001000000000000000000000000000000A0013A001F80C827341F105C1042AA032EE45287D668260001002600EFBE1200000056F21270246AD8010F37A185246AD8012B113CA5246AD80114005600310000000000B154E29B11005461736B42617200400009000400EFBEB154C69BB154E29B2E000000F4940100000001000000000000000000000000000000D5BA89005400610073006B00420061007200000016000E01320097010000874F0749200046494C4545587E312E4C4E4B00007C0009000400EFBEB154E29BB154E29B2E00000097900100000002000000000000000000520000000000589C4400460069006C00650020004500780070006C006F007200650072002E006C006E006B00000040007300680065006C006C00330032002E0064006C006C002C002D003200320030003600370000001C00220000001E00EFBE02005500730065007200500069006E006E006500640000001C00120000002B00EFBE2B113CA5246AD8011C00420000001D00EFBE02004D006900630072006F0073006F00660074002E00570069006E0064006F00770073002E004500780070006C006F0072006500720000001C0000009B0000001C000000010000001C0000002D000000000000009A0000001100000003000000E4A63B761000000000433A5C55736572735C757365725C417070446174615C526F616D696E675C4D6963726F736F66745C496E7465726E6574204578706C6F7265725C517569636B204C61756E63685C557365722050696E6E65645C5461736B4261725C46696C65204578706C6F7265722E6C6E6B000060000000030000A058000000000000006465736B746F702D62356E36683339006E1A1EE27BFFA94ABB0361D86F25337E500764DB17D6EC11A598000C2907D6A06E1A1EE27BFFA94ABB0361D86F25337E500764DB17D6EC11A598000C2907D6A045000000090000A03900000031535053B1166D44AD8D7048A748402EA43D788C1D000000680000000048000000CE2181FCD4BF31408F25FF009E4345CA000000000000000000000000 /f
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /v Favorites /t REG_BINARY /d 00A40100003A001F80C827341F105C1042AA032EE45287D668260001002600EFBE1200000056F21270246AD8010F37A185246AD8012B113CA5246AD80114005600310000000000B154E29B11005461736B42617200400009000400EFBEB154C69BB154E29B2E000000F4940100000001000000000000000000000000000000D5BA89005400610073006B00420061007200000016001201320097010000874F0749200046494C4545587E312E4C4E4B00007C0009000400EFBEB154E29BB154E29B2E00000097900100000002000000000000000000520000000000589C4400460069006C00650020004500780070006C006F007200650072002E006C006E006B00000040007300680065006C006C00330032002E0064006C006C002C002D003200320030003600370000001C00120000002B00EFBE2B113CA5246AD8011C00420000001D00EFBE02004D006900630072006F0073006F00660074002E00570069006E0064006F00770073002E004500780070006C006F0072006500720000001C00260000001E00EFBE0200530079007300740065006D00500069006E006E006500640000001C000000FF /f
reg delete "HKU\%~1\SOFTWARE\RegisteredApplications" /v "Microsoft Edge" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.htm\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.html\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.shtml\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.svg\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.xht\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.xhtml\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Classes\.webp\OpenWithProgids" /v "MSEdgeHTM" /f
reg delete "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" /v "MSEdgeHTM_microsoft-edge" /f
reg delete "HKU\%~1\SOFTWARE\Microsoft\Active Setup\Installed Components\{9459C573-B17A-45AE-9F64-1857B5D58CEE}" /f
reg delete "HKU\%~1\SOFTWARE\Microsoft\Edge" /f
::WebView
reg delete "HKU\%~1\SOFTWARE\Microsoft\EdgeWebView" /f
@echo OFF

+ 16
- 0
21H1-21H2_PB/Executables/EDGEX.bat View File

@ -0,0 +1,16 @@
cd Executables
start /b /wait install_wim_tweak.exe /o /l
start /b /wait install_wim_tweak.exe /o /c Microsoft-Windows-Internet-Browser-Package /r
start /b /wait install_wim_tweak.exe /h /o /l
:: Removes ActiveX item in open with menu
reg delete "HKCR\Applications\iexplore.exe" /f
:: Removes ActiveX item in open with menu for XML files
reg delete "HKCR\xmlfile" /f
:: Removes internet explorer option when setting default browser in settings
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer" /f
reg delete "HKLM\SOFTWARE\RegisteredApplications" /v "Internet Explorer" /f
reg delete "HKLM\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE" /f

+ 13
- 0
21H1-21H2_PB/Executables/FILEASSOC.bat View File

@ -0,0 +1,13 @@
cd Executables
copy /y "Associations.dll" "%WINDIR%\System32\OEMDefaultAssociations.dll"
del /q /f "%WINDIR%\System32\OEMDefaultAssociations.xml"
@echo OFF
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"S-" /c:"AME_UserHive_"`) do (
REM If the "Volatile Environment" key exists, that means it is a proper user. Built in accounts/SIDs don't have this key.
reg query "HKU\%%A" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > NUL 2>&1
if not errorlevel 1 (
PowerShell -NoP -ExecutionPolicy Bypass -File assoc.ps1 "Placeholder" "%%A" ".html:FirefoxHTML-308046B0AF4A39CB" ".htm:FirefoxHTML-308046B0AF4A39CB" ".url:FirefoxURL-308046B0AF4A39CB" "Proto:https:FirefoxURL-308046B0AF4A39CB" "Proto:http:FirefoxURL-308046B0AF4A39CB" "Proto:mailto:Thunderbird.Url.mailto" ".3g2:VLC.3g2" ".3gp:VLC.3gp" ".3gp2:VLC.3gp2" ".3gpp:VLC.3gpp" ".aac:VLC.aac" ".adts:VLC.adts" ".aif:VLC.aif" ".aifc:VLC.aifc" ".aiff:VLC.aiff" ".amr:VLC.amr" ".asf:VLC.asf" ".asx:VLC.asx" ".au:VLC.au" ".avi:VLC.avi" ".bmp:JPEGView.exe" ".cda:VLC.cda" ".flac:VLC.flac" ".jpeg:JPEGView.exe" ".jpg:JPEGView.exe" ".m1v:VLC.m1v" ".m2t:VLC.m2t" ".m2ts:VLC.m2ts" ".m3u:VLC.m3u" ".m4a:VLC.m4a" ".m4p:VLC.m4p" ".m4v:VLC.m4v" ".mid:VLC.mid" ".mka:VLC.mka" ".mkv:VLC.mkv" ".mov:VLC.mov" ".MP2:VLC.mp2" ".mp2v:VLC.mp2v" ".mp3:VLC.mp3" ".mp4:VLC.mp4" ".mp4v:VLC.mp4v" ".mpa:VLC.mpa" ".MPE:VLC.mpe" ".mpeg:VLC.mpeg" ".mpg:VLC.mpg" ".mpv2:VLC.mpv2" ".mts:VLC.mts" ".png:JPEGView.exe" ".ra:VLC.ra" ".ram:VLC.ram" ".rmi:VLC.rmi" ".s3m:VLC.s3m" ".snd:VLC.snd" ".TS:VLC.ts" ".TTS:VLC.tts" ".voc:VLC.voc" ".wav:VLC.wav" ".webp:JPEGView.exe" ".wma:VLC.wma" ".wmv:VLC.wmv" ".WPL:VLC.wpl" ".wvx:VLC.wvx" ".xm:VLC.xm" ".zpl:VLC.zpl" ".xml:txtfilelegacy"
)
)

+ 202
- 0
21H1-21H2_PB/Executables/FIREFOXCONF.bat View File

@ -0,0 +1,202 @@
@echo OFF
if not exist "%~dp0\AME-Firefox-Injection" (
echo. & echo No supplied AME-Firefox-Injection folder detected.
exit /b 4
)
:ENTRIES
echo. & echo Grabbing previous Firefox entries...
if not exist "%TEMP%\Firefox-Reg-Output.txt" echo No input entries detected & echo. & echo Generating random string... & goto GenRND
setlocal EnableDelayedExpansion
set /a "count1=0"
for /f "usebackq tokens=2 delims=-" %%A in (`findstr /c:"Firefox-" "%TEMP%\Firefox-Reg-Output.txt"`) do (
set /a "count1=!count1!+1"
set "ffBef!count1!=%%A"
set "par=!par!)"
set "arg=!arg!if not "%%D"=="%%A" ("
)
del /q /f "%TEMP%\Firefox-Reg-Output.txt" > NUL 2>&1
echo. & echo Comparing Firefox entries...
set /a "count2=0"
for /f "usebackq tokens=2 delims=-" %%D in (`reg query "HKLM\SOFTWARE\Clients\StartMenuInternet" /f "Firefox-"`) do (
set /a "count2=!count2!+1"
%arg%set "NewCode=%%D"%par%
)
if "%count1%"=="0" (if "%count2%"=="0" (set "NewCode=NULL"))
endlocal & set "NewCode=%NewCode%"
:CHECKS
set "RunEC=10"
set /a "count0=1"
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"S-" /c:"AME_UserHive_"`) do (
if "%%A"=="AME_UserHive_Default" (
call :AFISCALL "%SYSTEMDRIVE%\Users\Default\AppData\Roaming"
if errorlevel 2 set "RunEC=2"
if errorlevel 1 set "RunEC=1"
if errorlevel 0 set "RunEC=0"
) else (
for /f "usebackq tokens=2* delims= " %%B in (`reg query "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "AppData" 2^>^&1 ^| findstr /R /X /C:".*AppData[ ]*REG_SZ[ ].*"`) do (
call :AFISCALL "%%C"
if errorlevel 2 set "RunEC=2"
if errorlevel 1 set "RunEC=1"
if errorlevel 0 set "RunEC=0"
)
)
)
exit /b %RunEC%
:AFISCALL
setlocal
echo. & echo Generating random string...
:GenRND
setlocal EnableDelayedExpansion
set "RNDConsist=abcdefghijklmnopqrstuvwxyz0123456789"
set /a "RND=%RANDOM% %% 36"
set "RNDStr=!RNDStr!!RNDConsist:~%RND%,1!"
if "%RNDStr:~7%"=="" (goto GenRND)
endlocal & set "RNDStr=%RNDStr%"
:: Redundancy, incase the original Firefox installed check fails
if "%NewCode%"=="NULL" echo. & echo No Firefox install detected & goto PREFSONLY
if "%NewCode%"=="" echo. & echo Firefox version already installed & goto PREFSONLY
if not EXIST "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" echo. & echo Can't find Firefox.exe & goto PREFSONLY
if exist "%~1\Mozilla\Firefox\profiles.ini" (
findstr /c:"%NewCode%" "%~1\Mozilla\Firefox\profiles.ini" > NUL 2>&1
if not errorlevel 1 echo. & echo Firefox version already in profiles.ini & goto PREFSONLY
)
:PROFILENAME
if %count0% GTR 50 echo. & echo Default-release count exceeded 50 & goto PREFSONLY
if exist "%~1\Mozilla\Firefox\profiles.ini" (
findstr /c:"Name=default-release" "%~1\Mozilla\Firefox\profiles.ini" > NUL 2>&1
if not errorlevel 1 (
findstr /c:"Name=default-release-%count0%" "%~1\Mozilla\Firefox\profiles.ini"
if not errorlevel 1 (
set /a "count0=%count0%+1"
goto PROFILENAME
) else (
set "profileName=default-release-%count0%"
)
) else (
set "profileName=default-release"
)
) else (
set "profileName=default-release"
)
echo. & echo Injecting profile...
@echo ON
:: This could also be set manually in the profiles.ini file
mkdir "%~1\Mozilla\Firefox\Profiles\%RNDStr%.%profileName%"
robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%RNDStr%.%profileName%" /E > NUL
:: Sets profile as the default
echo [Install%NewCode%]>> "%~1\Mozilla\Firefox\profiles.ini"
echo Default=Profiles/%RNDStr%.%profileName%>> "%~1\Mozilla\Firefox\profiles.ini"
echo Locked=^1>> "%~1\Mozilla\Firefox\profiles.ini"
echo.>> "%~1\Mozilla\Firefox\profiles.ini"
echo [Profile0]>> "%~1\Mozilla\Firefox\profiles.ini"
echo Name=%profileName%>> "%~1\Mozilla\Firefox\profiles.ini"
echo IsRelative=^1>> "%~1\Mozilla\Firefox\profiles.ini"
echo Path=Profiles/%RNDStr%.%profileName%>> "%~1\Mozilla\Firefox\profiles.ini"
:: Add prefs to any other Firefox profiles in all users
@echo OFF
for /f "usebackq delims=" %%B in (`dir /B /A:d "%~1\Mozilla\Firefox\Profiles" ^| findstr /v /x /c:"%RNDStr%.%profileName%"`) do (
if exist "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js" (
:: Removes lines containing these entries from the profiles prefs.js. This way any old prefs don't overlap with the new prefs
echo findstr /V /C:""""app.shield.optoutstudies.enabled"""" /C:""""browser.aboutwelcome.enabled"""" /C:""""browser.disableResetPrompt