@ -0,0 +1,16 @@ | |||||
--- | |||||
title: Custom | |||||
description: Custom AME configuration | |||||
privilege: Admin | |||||
actions: [] | |||||
features: | |||||
- features/base/base.yml | |||||
- features/base/files.yml | |||||
- features/base/shortcuts.yml | |||||
- features/base/choco.yml | |||||
- features/base/windowsterminal.yml | |||||
- features/base/silent.yml | |||||
- features/base/login.yml | |||||
- features/base/wallpaper.yml | |||||
- features/base/permission.yml | |||||
- features/base/admin.yml |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Admin | |||||
description: Remove user from admin group, enable administrator account | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "ADMIN.bat" |
@ -0,0 +1,38 @@ | |||||
--- | |||||
title: Base | |||||
description: Base AME configuration | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "DNET.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "REGI.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "APPX.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "EDGE.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "EDGEX.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "ONED.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "PYTH.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "SFCDEPLOY.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "TILE.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "BANN.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "SERV.bat" |
@ -0,0 +1,17 @@ | |||||
--- | |||||
title: Chocolatey | |||||
description: Chocolatey configuration | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "CHOC.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "UI.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "FIREFOXCONF.bat" | |||||
- !run: | |||||
currentDir: true | |||||
exe: "FILEASSOC.bat" |
@ -0,0 +1,674 @@ | |||||
title: Files | |||||
description: delete files | |||||
privilege: TrustedInstaller | |||||
actions: | |||||
- !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" | |||||
- !file: | |||||
path: "C:\\ProgramData\\Microsoft\\Windows Defender" | |||||
- !file: | |||||
path: "%ProgramFiles(x86)%\\Windows Defender" | |||||
- !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\\MusNotifyIcon.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%\\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" | |||||
- !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" | |||||
- !cmd: | |||||
command: "start explorer.exe" |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Malte Wallpapers | |||||
description: Installs Malte Wallpapers | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "LOGIN.bat" |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Permission | |||||
description: Sets UAC level and user permissions | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "PERM.bat" |
@ -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 |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Shortcuts | |||||
description: Remove and add shortcuts | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "SHRT.bat" |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Silent Installers | |||||
description: Silent Installers for Windows 7 Calculator, OldNewExplorer, and Hardentools | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "SLNT.bat" |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Malte Wallpapers | |||||
description: Installs Malte Wallpapers | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "WALLPAPER.bat" |
@ -0,0 +1,8 @@ | |||||
--- | |||||
title: Windows Terminal | |||||
description: Installs Windows Terminal | |||||
privilege: Admin | |||||
actions: | |||||
- !run: | |||||
currentDir: true | |||||
exe: "WINTERM.bat" |
@ -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: [] |
@ -0,0 +1,4 @@ | |||||
de-DE | |||||
en-US | |||||
es-ES | |||||
fi-FI |
@ -0,0 +1,12 @@ | |||||
net user Administrator /active:yes | |||||
net user Administrator malte | |||||
@echo OFF | |||||
for /f "usebackq delims=" %%A in (`net localgroup users ^| findstr /V /I /c:"NT AUTHORITY\\" /c:"Alias name" /c:"Comment" /c:"Members" /c:"------------------------------------------------------------" /c:"The command completed"`) 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 |
@ -0,0 +1 @@ | |||||
{"doh-rollout@mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"formautofill@mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"pictureinpicture@mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"screenshots@mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"webcompat@mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"default-theme@mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"addons-search-detection@mozilla.com":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"google@search.mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"amazondotcom@search.mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"wikipedia@search.mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"bing@search.mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"ddg@search.mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"ebay@search.mozilla.org":{"permissions":["internal:svgContextPropertiesAllowed","internal:privateBrowsingAllowed"],"origins":[]},"uBlock0@raymondhill.net":{"permissions":["internal:privateBrowsingAllowed"],"origins":[]}} |
@ -0,0 +1 @@ | |||||
{"version":2,"url_overrides":{},"prefs":{"websites.hyperlinkAuditingEnabled":{"initialValue":{},"precedenceList":[{"id":"uBlock0@raymondhill.net","installDate":1646367075296,"value":false,"enabled":true}]},"network.networkPredictionEnabled":{"initialValue":{},"precedenceList":[{"id":"uBlock0@raymondhill.net","installDate":1646367075296,"value":false,"enabled":true}]}},"default_search":{},"commands":{},"homepageNotification":{},"tabHideNotification":{},"newTabNotification":{}} |
@ -0,0 +1,31 @@ | |||||
user_pref("app.shield.optoutstudies.enabled", false); | |||||
user_pref("browser.aboutwelcome.enabled", false); | |||||
user_pref("browser.disableResetPrompt", true); | |||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); | |||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); | |||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); | |||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); | |||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); | |||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); | |||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); | |||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); | |||||
user_pref("browser.newtabpage.activity-stream.showSponsored", false); | |||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); | |||||
user_pref("browser.toolbars.bookmarks.visibility", "never"); | |||||
user_pref("browser.urlbar.placeholderName", "DuckDuckGo"); | |||||
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); | |||||
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); | |||||
user_pref("browser.urlbar.suggest.topsites", false); | |||||
user_pref("datareporting.healthreport.uploadEnabled", false); | |||||
user_pref("dom.security.https_only_mode", true); | |||||
user_pref("dom.security.https_only_mode_ever_enabled", true); | |||||
user_pref("extensions.webextensions.uuids", "{\"doh-rollout@mozilla.org\":\"db2f3e5c-14de-49d9-8dba-b953fc744979\",\"formautofill@mozilla.org\":\"51dd30ef-9ab4-4a12-a55e-2e0c502da764\",\"pictureinpicture@mozilla.org\":\"f58f1670-842e-419e-a88e-fb02b207d325\",\"screenshots@mozilla.org\":\"f51197d4-5e00-4135-af57-cff02e92c03d\",\"webcompat-reporter@mozilla.org\":\"c3f18954-9055-44da-baf8-4e5081fcbf25\",\"webcompat@mozilla.org\":\"782c9238-3b41-4d82-9a32-977118171186\",\"default-theme@mozilla.org\":\"c5434107-1db1-4584-88cf-4dc0e5a2952b\",\"addons-search-detection@mozilla.com\":\"604c46f5-3495-47fd-b2bd-dabb4a0cf2e4\",\"google@search.mozilla.org\":\"df5a10df-d6bd-4830-9c3b-8377639bc132\",\"amazondotcom@search.mozilla.org\":\"ac0cb5cc-dab0-4baf-ac09-2d6dc327b46c\",\"wikipedia@search.mozilla.org\":\"8fae9046-aa02-4b30-8d6a-71b529043aec\",\"bing@search.mozilla.org\":\"86db028d-03fe-4ab6-82ad-a72a27a869d2\",\"ddg@search.mozilla.org\":\"f6c25656-b513-4508-a26e-929c8eebddfd\",\"ebay@search.mozilla.org\":\"2f7fe7fe-f2af-4d09-bed8-5469a52a3184\",\"uBlock0@raymondhill.net\":\"41087662-660a-4251-8c0c-38aa4da5b325\"}"); | |||||
user_pref("extensions.pocket.enabled", false); |
@ -0,0 +1,42 @@ | |||||
PowerShell -NoP -C "Get-AppxPackage -AllUsers *Microsoft.549981C3F5F10* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *3DViewer* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *AssignedAccessLockApp* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *PinningConfirmationDialog* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *SecureAssessmentBrowser* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *FeedbackHub* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *MixedReality* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.Calculator* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.WindowsAlarms* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.GetHelp* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Getstarted* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *disney* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.OneConnect* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *bing* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Sticky* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Store* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Paint* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *wallet* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *OneNote* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.People* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *YourPhone* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *photos* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *SkypeApp* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *solit* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *spotify* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *zune* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Sway* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *CommsPhone* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *XboxApp* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *XboxSpeechToTextOverlay* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *XboxGamingOverlay* | Remove-AppxPackage" | |||||
PowerShell -NoP -C "Get-AppxPackage *XboxGameOverlay* | Remove-AppxPackage" |
@ -0,0 +1,4 @@ | |||||
cd Executables | |||||
start .\ViVeTool.exe addconfig 18299130 1 | |||||
start .\ViVeTool.exe addconfig 31950543 1 |
@ -0,0 +1,78 @@ | |||||
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" | |||||
) | |||||
@echo ON | |||||
@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" | |||||
cd Executables | |||||
copy Fluent-Metro.skin "C:\%PROGRAMFILES%\Open-Shell\Skins" | |||||
copy 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"\0"Item1.Settings=NOEXPAND"\0"Item2.Command=user_documents"\0"Item2.Settings=NOEXPAND"\0"Item3.Command=user_pictures"\0"Item3.Settings=NOEXPAND"\0"Item4.Command=user_music"\0"Item4.Settings=NOEXPAND"\0"Item5.Command=user_videos"\0"Item5.Settings=NOEXPAND"\0"Item6.Command=downloads"\0"Item6.Settings=NOEXPAND"\0"Item7.Command=homegroup"\0"Item7.Settings=ITEM_DISABLED"\0"Item8.Command=separator"\0"Item9.Command=games"\0"Item9.Settings=TRACK_RECENT|NOEXPAND|ITEM_DISABLED"\0"Item10.Command=favorites"\0"Item10.Settings=ITEM_DISABLED"\0"Item11.Command=recent_documents"\0"Item12.Command=computer"\0"Item12.Settings=NOEXPAND"\0"Item13.Command=network"\0"Item13.Settings=ITEM_DISABLED"\0"Item14.Command=network_connections"\0"Item14.Settings=ITEM_DISABLED"\0"Item15.Command=separator"\0"Item16.Command=control_panel"\0"Item16.Settings=TRACK_RECENT"\0"Item17.Command=pc_settings"\0"Item17.Settings=TRACK_RECENT"\0"Item18.Command=admin"\0"Item18.Settings=TRACK_RECENT|ITEM_DISABLED"\0"Item19.Command=devices"\0"Item19.Settings=ITEM_DISABLED"\0"Item20.Command=defaults"\0"Item20.Settings=ITEM_DISABLED"\0"Item21.Command=help"\0"Item21.Settings=ITEM_DISABLED"\0"Item22.Command=run"\0"Item23.Command=apps"\0"Item23.Settings=ITEM_DISABLED"\0"Item24.Command=windows_security"\0"Item24.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 | |||||
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 |
@ -0,0 +1,6 @@ | |||||
cd Executables | |||||
start /b /wait install_wim_tweak.exe /o /l | |||||
start /b /wait install_wim_tweak.exe /o /c "Windows-Defender" /r | |||||
start /b /wait install_wim_tweak.exe /h /o /l | |||||
start /b /wait winmgmt /resetrepository | |||||
shutdown /r /f /t 0 |
@ -0,0 +1 @@ | |||||
dism /online /enable-feature /featurename:NetFX3 /All /Source:Executables /LimitAccess |
@ -0,0 +1,20 @@ | |||||
taskkill /im msedge.exe /f | |||||
cd "%PROGRAMFILES(x86)%\Microsoft\Edge\Application" | |||||
if exist "84.0.522.52" cd 84.0.522.52\Installer | |||||
if exist "9*" cd 9*\Installer | |||||
if exist "1*" cd 1*\Installer | |||||
start setup.exe --uninstall --system-level --verbose-logging --force-uninstall | |||||
@echo OFF | |||||
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 ( | |||||
echo reg add "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /v "FavoritesResolve" /t REG_BINARY /d 320300004C0000000114020000000000C0000000000000468300800020000000549E39A5246AD8012B113CA5246AD801A8B6C6DADDACD501970100000000000001000000000000000000000000000000A0013A001F80C827341F105C1042AA032EE45287D668260001002600EFBE1200000056F21270246AD8010F37A185246AD8012B113CA5246AD80114005600310000000000B154E29B11005461736B42617200400009000400EFBEB154C69BB154E29B2E000000F4940100000001000000000000000000000000000000D5BA89005400610073006B00420061007200000016000E01320097010000874F0749200046494C4545587E312E4C4E4B00007C0009000400EFBEB154E29BB154E29B2E00000097900100000002000000000000000000520000000000589C4400460069006C00650020004500780070006C006F007200650072002E006C006E006B00000040007300680065006C006C00330032002E0064006C006C002C002D003200320030003600370000001C00220000001E00EFBE02005500730065007200500069006E006E006500640000001C00120000002B00EFBE2B113CA5246AD8011C00420000001D00EFBE02004D006900630072006F0073006F00660074002E00570069006E0064006F00770073002E004500780070006C006F0072006500720000001C0000009B0000001C000000010000001C0000002D000000000000009A0000001100000003000000E4A63B761000000000433A5C55736572735C757365725C417070446174615C526F616D696E675C4D6963726F736F66745C496E7465726E6574204578706C6F7265725C517569636B204C61756E63685C557365722050696E6E65645C5461736B4261725C46696C65204578706C6F7265722E6C6E6B000060000000030000A058000000000000006465736B746F702D62356E36683339006E1A1EE27BFFA94ABB0361D86F25337E500764DB17D6EC11A598000C2907D6A06E1A1EE27BFFA94ABB0361D86F25337E500764DB17D6EC11A598000C2907D6A045000000090000A03900000031535053B1166D44AD8D7048A748402EA43D788C1D000000680000000048000000CE2181FCD4BF31408F25FF009E4345CA000000000000000000000000 /f | |||||
reg add "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /v "FavoritesResolve" /t REG_BINARY /d 320300004C0000000114020000000000C0000000000000468300800020000000549E39A5246AD8012B113CA5246AD801A8B6C6DADDACD501970100000000000001000000000000000000000000000000A0013A001F80C827341F105C1042AA032EE45287D668260001002600EFBE1200000056F21270246AD8010F37A185246AD8012B113CA5246AD80114005600310000000000B154E29B11005461736B42617200400009000400EFBEB154C69BB154E29B2E000000F4940100000001000000000000000000000000000000D5BA89005400610073006B00420061007200000016000E01320097010000874F0749200046494C4545587E312E4C4E4B00007C0009000400EFBEB154E29BB154E29B2E00000097900100000002000000000000000000520000000000589C4400460069006C00650020004500780070006C006F007200650072002E006C006E006B00000040007300680065006C006C00330032002E0064006C006C002C002D003200320030003600370000001C00220000001E00EFBE02005500730065007200500069006E006E006500640000001C00120000002B00EFBE2B113CA5246AD8011C00420000001D00EFBE02004D006900630072006F0073006F00660074002E00570069006E0064006F00770073002E004500780070006C006F0072006500720000001C0000009B0000001C000000010000001C0000002D000000000000009A0000001100000003000000E4A63B761000000000433A5C55736572735C757365725C417070446174615C526F616D696E675C4D6963726F736F66745C496E7465726E6574204578706C6F7265725C517569636B204C61756E63685C557365722050696E6E65645C5461736B4261725C46696C65204578706C6F7265722E6C6E6B000060000000030000A058000000000000006465736B746F702D62356E36683339006E1A1EE27BFFA94ABB0361D86F25337E500764DB17D6EC11A598000C2907D6A06E1A1EE27BFFA94ABB0361D86F25337E500764DB17D6EC11A598000C2907D6A045000000090000A03900000031535053B1166D44AD8D7048A748402EA43D788C1D000000680000000048000000CE2181FCD4BF31408F25FF009E4345CA000000000000000000000000 /f | |||||
echo reg add "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /v Favorites /t REG_BINARY /d 00A40100003A001F80C827341F105C1042AA032EE45287D668260001002600EFBE1200000056F21270246AD8010F37A185246AD8012B113CA5246AD80114005600310000000000B154E29B11005461736B42617200400009000400EFBEB154C69BB154E29B2E000000F4940100000001000000000000000000000000000000D5BA89005400610073006B00420061007200000016001201320097010000874F0749200046494C4545587E312E4C4E4B00007C0009000400EFBEB154E29BB154E29B2E00000097900100000002000000000000000000520000000000589C4400460069006C00650020004500780070006C006F007200650072002E006C006E006B00000040007300680065006C006C00330032002E0064006C006C002C002D003200320030003600370000001C00120000002B00EFBE2B113CA5246AD8011C00420000001D00EFBE02004D006900630072006F0073006F00660074002E00570069006E0064006F00770073002E004500780070006C006F0072006500720000001C00260000001E00EFBE0200530079007300740065006D00500069006E006E006500640000001C000000FF /f | |||||
reg add "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /v Favorites /t REG_BINARY /d 00A40100003A001F80C827341F105C1042AA032EE45287D668260001002600EFBE1200000056F21270246AD8010F37A185246AD8012B113CA5246AD80114005600310000000000B154E29B11005461736B42617200400009000400EFBEB154C69BB154E29B2E000000F4940100000001000000000000000000000000000000D5BA89005400610073006B00420061007200000016001201320097010000874F0749200046494C4545587E312E4C4E4B00007C0009000400EFBEB154E29BB154E29B2E00000097900100000002000000000000000000520000000000589C4400460069006C00650020004500780070006C006F007200650072002E006C006E006B00000040007300680065006C006C00330032002E0064006C006C002C002D003200320030003600370000001C00120000002B00EFBE2B113CA5246AD8011C00420000001D00EFBE02004D006900630072006F0073006F00660074002E00570069006E0064006F00770073002E004500780070006C006F0072006500720000001C00260000001E00EFBE0200530079007300740065006D00500069006E006E006500640000001C000000FF /f | |||||
) | |||||
) |
@ -0,0 +1,5 @@ | |||||
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 |
@ -0,0 +1,32 @@ | |||||
cd Executables | |||||
reg delete "HKLM\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE" /f | |||||
@echo OFF | |||||
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"S-"`) 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"> NUL 2>&1 | |||||
if not errorlevel 1 ( | |||||
echo reg add "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "UserSignedIn" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "UserSignedIn" /t REG_DWORD /d 1 /f | |||||
PowerShell -NoP -ExecutionPolicy Bypass -File assoc.ps1 "%%A" "%%A" ".html:FirefoxHTML-308046B0AF4A39CB" ".htm:FirefoxHTML-308046B0AF4A39CB" "Proto:https:FirefoxURL-308046B0AF4A39CB" "Proto:http:FirefoxURL-308046B0AF4A39CB" ".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" | |||||
) | |||||
) | |||||
for /f "usebackq tokens=4 delims=_" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"AME_UserHive_"`) do ( | |||||
for /f "usebackq tokens=7 delims=\" %%B in (`reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" ^| findstr /c:"S-"`) do ( | |||||
for /f "usebackq tokens=2* delims= " %%C in (`reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\%%B" ^| findstr /R /X /C:".*ProfileImagePath[ ]*REG_EXPAND_SZ[ ].*"`) do ( | |||||
for /f "usebackq tokens=2* delims= " %%E in (`reg query "HKU\AME_UserHive_%%A\SOFTWARE\AME" ^| findstr /R /X /C:".*UserPath[ ]*REG_SZ[ ].*"`) do ( | |||||
if "%%D"=="%%F" ( | |||||
echo reg delete "HKU\AME_UserHive_%%A\SOFTWARE\AME" /f | |||||
reg delete "HKU\AME_UserHive_%%A\SOFTWARE\AME" /f | |||||
echo reg add "HKU\AME_UserHive_%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "UserSignedIn" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\AME_UserHive_%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "UserSignedIn" /t REG_DWORD /d 1 /f | |||||
PowerShell -NoP -ExecutionPolicy Bypass -File assoc.ps1 "%%B" "AME_UserHive_%%A" ".html:FirefoxHTML-308046B0AF4A39CB" ".htm:FirefoxHTML-308046B0AF4A39CB" "Proto:https:FirefoxURL-308046B0AF4A39CB" "Proto:http:FirefoxURL-308046B0AF4A39CB" ".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" | |||||
) | |||||
) | |||||
) | |||||
) | |||||
) |
@ -0,0 +1,195 @@ | |||||
@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 ( | |||||
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"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"""" /C:""""browser.newtabpage.activity-stream.feeds.section.topstories"""" /C:""""browser.newtabpage.activity-stream.feeds.topsites"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includePocket"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includeVisited"""" /C:""""browser.newtabpage.activity-stream.showSponsored"""" /C:""""browser.newtabpage.activity-stream.showSponsoredTopSites"""" /C:""""browser.urlbar.placeholderNam"""" /C:""""browser.urlbar.suggest.quicksuggest.nonsponsored"""" /C:""""browser.urlbar.suggest.quicksuggest.sponsored"""" /C:""""browser.urlbar.suggest.topsites"""" /C:""""datareporting.healthreport.uploadEnabled"""" /C:""""dom.security.https_only_mode"""" /C:""""dom.security.https_only_mode_ever_enabled"""" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js "^>^> "%TEMP%\prefs.js.tmp" | |||||
findstr /V /C:""""app.shield.optoutstudies.enabled"""" /C:""""browser.aboutwelcome.enabled"""" /C:""""browser.disableResetPrompt"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"""" /C:""""browser.newtabpage.activity-stream.feeds.section.topstories"""" /C:""""browser.newtabpage.activity-stream.feeds.topsites"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includePocket"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includeVisited"""" /C:""""browser.newtabpage.activity-stream.showSponsored"""" /C:""""browser.newtabpage.activity-stream.showSponsoredTopSites"""" /C:""""browser.urlbar.placeholderNam"""" /C:""""browser.urlbar.suggest.quicksuggest.nonsponsored"""" /C:""""browser.urlbar.suggest.quicksuggest.sponsored"""" /C:""""browser.urlbar.suggest.topsites"""" /C:""""datareporting.healthreport.uploadEnabled"""" /C:""""dom.security.https_only_mode"""" /C:""""dom.security.https_only_mode_ever_enabled"""" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js ">> "%TEMP%\prefs.js.tmp" | |||||
) | |||||
:: Filters out a few prefs from AME-Firefox-Injectiont\prefs.js and adds them to prefs.js.tmp | |||||
echo findstr /V /C:""""browser.toolbars.bookmarks.visibility"""" /C:""""extensions.webextensions.uuids"""" /C:""""extensions.webextensions.uuids"""" "%~dp0\AME-Firefox-Injection\prefs.js"^>^> "%TEMP%\prefs.js.tmp" | |||||
findstr /V /C:""""browser.toolbars.bookmarks.visibility"""" /C:""""extensions.webextensions.uuids"""" /C:""""extensions.webextensions.uuids"""" "%~dp0\AME-Firefox-Injection\prefs.js">> "%TEMP%\prefs.js.tmp" | |||||
echo move /y "%TEMP%\prefs.js.tmp" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js" | |||||
move /y "%TEMP%\prefs.js.tmp" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js" | |||||
if exist "%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4" echo del /Q /F "%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4" & del /Q /F "%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4" | |||||
echo robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%%B" search.json.mozlz4 /E ^> NUL | |||||
robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%%B" search.json.mozlz4 /E > NUL | |||||
echo PowerShell -NoP -C "%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\prefs.js'" ^> NUL 2^>^&1 | |||||
PowerShell -NoP -C "%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\prefs.js'" > NUL 2>&1 | |||||
echo PowerShell -NoP -C "Get-Acl '%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4'" ^> NUL 2^>^&1 | |||||
PowerShell -NoP -C "Get-Acl '%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4'" > NUL 2>&1 | |||||
) | |||||
echo. & echo Successfully injected custom Firefox configs. | |||||
endlocal & exit /b 0 | |||||
:PREFSONLY | |||||
:: uBlock Origin could be installed automatically here, however that would involve overwriting the old extension.json etc | |||||
:: files, which, if the user had previous extensions, could cause issues. | |||||
@echo. & echo Injecting config files... | |||||
if exist "%TEMP%\prefs.js.tmp" del /q /f "%TEMP%\prefs.js.tmp" > NUL | |||||
set /a "count3=0" | |||||
@echo OFF | |||||
for /f "usebackq delims=" %%A in (`dir /B /A:d "%~1\Mozilla\Firefox\Profiles"`) do ( | |||||
set /a "count3=%count3%+1" | |||||
if exist "%~1\Mozilla\Firefox\Profiles\%%A\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"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"""" /C:""""browser.newtabpage.activity-stream.feeds.section.topstories"""" /C:""""browser.newtabpage.activity-stream.feeds.topsites"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includePocket"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includeVisited"""" /C:""""browser.newtabpage.activity-stream.showSponsored"""" /C:""""browser.newtabpage.activity-stream.showSponsoredTopSites"""" /C:""""browser.urlbar.placeholderNam"""" /C:""""browser.urlbar.suggest.quicksuggest.nonsponsored"""" /C:""""browser.urlbar.suggest.quicksuggest.sponsored"""" /C:""""browser.urlbar.suggest.topsites"""" /C:""""datareporting.healthreport.uploadEnabled"""" /C:""""dom.security.https_only_mode"""" /C:""""dom.security.https_only_mode_ever_enabled"""" "%~1\Mozilla\Firefox\Profiles\%%A\prefs.js "^>^> "%TEMP%\prefs.js.tmp" | |||||
findstr /V /C:""""app.shield.optoutstudies.enabled"""" /C:""""browser.aboutwelcome.enabled"""" /C:""""browser.disableResetPrompt"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"""" /C:""""browser.newtabpage.activity-stream.feeds.section.topstories"""" /C:""""browser.newtabpage.activity-stream.feeds.topsites"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includePocket"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includeVisited"""" /C:""""browser.newtabpage.activity-stream.showSponsored"""" /C:""""browser.newtabpage.activity-stream.showSponsoredTopSites"""" /C:""""browser.urlbar.placeholderNam"""" /C:""""browser.urlbar.suggest.quicksuggest.nonsponsored"""" /C:""""browser.urlbar.suggest.quicksuggest.sponsored"""" /C:""""browser.urlbar.suggest.topsites"""" /C:""""datareporting.healthreport.uploadEnabled"""" /C:""""dom.security.https_only_mode"""" /C:""""dom.security.https_only_mode_ever_enabled"""" "%~1\Mozilla\Firefox\Profiles\%%A\prefs.js ">> "%TEMP%\prefs.js.tmp" | |||||
) | |||||
:: Filters out a few prefs from AME-Firefox-Injectiont\prefs.js and adds them to prefs.js.tmp | |||||
echo findstr /V /C:""""browser.toolbars.bookmarks.visibility"""" /C:""""extensions.webextensions.uuids"""" /C:""""extensions.webextensions.uuids"""" "%~dp0\AME-Firefox-Injection\prefs.js"^>^> "%TEMP%\prefs.js.tmp" | |||||
findstr /V /C:""""browser.toolbars.bookmarks.visibility"""" /C:""""extensions.webextensions.uuids"""" /C:""""extensions.webextensions.uuids"""" "%~dp0\AME-Firefox-Injection\prefs.js">> "%TEMP%\prefs.js.tmp" | |||||
echo move /y "%TEMP%\prefs.js.tmp" "%~1\Mozilla\Firefox\Profiles\%%A\prefs.js" | |||||
move /y "%TEMP%\prefs.js.tmp" "%~1\Mozilla\Firefox\Profiles\%%A\prefs.js" | |||||
if exist "%~1\Mozilla\Firefox\Profiles\%%A\search.json.mozlz4" echo del /Q /F "%~1\Mozilla\Firefox\Profiles\%%A\search.json.mozlz4" & del /Q /F "%~1\Mozilla\Firefox\Profiles\%%A\search.json.mozlz4" | |||||
echo robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%%A" search.json.mozlz4 /E ^> NUL | |||||
robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%%A" search.json.mozlz4 /E > NUL | |||||
) | |||||
for /f "usebackq delims=" %%A in (`dir /B /A:d "%SYSTEMDRIVE%\Users"`) do ( | |||||
if exist "%~1\Mozilla\Firefox\Profiles" ( | |||||
for /f "usebackq delims=" %%B in (`dir /B /A:d "%~1\Mozilla\Firefox\Profiles"`) do ( | |||||
set /a "count3=%count3%+1" | |||||
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"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"""" /C:""""browser.newtabpage.activity-stream.feeds.section.topstories"""" /C:""""browser.newtabpage.activity-stream.feeds.topsites"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includePocket"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includeVisited"""" /C:""""browser.newtabpage.activity-stream.showSponsored"""" /C:""""browser.newtabpage.activity-stream.showSponsoredTopSites"""" /C:""""browser.urlbar.placeholderNam"""" /C:""""browser.urlbar.suggest.quicksuggest.nonsponsored"""" /C:""""browser.urlbar.suggest.quicksuggest.sponsored"""" /C:""""browser.urlbar.suggest.topsites"""" /C:""""datareporting.healthreport.uploadEnabled"""" /C:""""dom.security.https_only_mode"""" /C:""""dom.security.https_only_mode_ever_enabled"""" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js "^>^> "%TEMP%\prefs.js.tmp" | |||||
findstr /V /C:""""app.shield.optoutstudies.enabled"""" /C:""""browser.aboutwelcome.enabled"""" /C:""""browser.disableResetPrompt"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"""" /C:""""browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"""" /C:""""browser.newtabpage.activity-stream.feeds.section.topstories"""" /C:""""browser.newtabpage.activity-stream.feeds.topsites"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includePocket"""" /C:""""browser.newtabpage.activity-stream.section.highlights.includeVisited"""" /C:""""browser.newtabpage.activity-stream.showSponsored"""" /C:""""browser.newtabpage.activity-stream.showSponsoredTopSites"""" /C:""""browser.urlbar.placeholderNam"""" /C:""""browser.urlbar.suggest.quicksuggest.nonsponsored"""" /C:""""browser.urlbar.suggest.quicksuggest.sponsored"""" /C:""""browser.urlbar.suggest.topsites"""" /C:""""datareporting.healthreport.uploadEnabled"""" /C:""""dom.security.https_only_mode"""" /C:""""dom.security.https_only_mode_ever_enabled"""" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js ">> "%TEMP%\prefs.js.tmp" | |||||
) | |||||
:: Filters out a few prefs from AME-Firefox-Injectiont\prefs.js and adds them to prefs.js.tmp | |||||
echo findstr /V /C:""""browser.toolbars.bookmarks.visibility"""" /C:""""extensions.webextensions.uuids"""" /C:""""extensions.webextensions.uuids"""" "%~dp0\AME-Firefox-Injection\prefs.js"^>^> "%TEMP%\prefs.js.tmp" | |||||
findstr /V /C:""""browser.toolbars.bookmarks.visibility"""" /C:""""extensions.webextensions.uuids"""" /C:""""extensions.webextensions.uuids"""" "%~dp0\AME-Firefox-Injection\prefs.js">> "%TEMP%\prefs.js.tmp" | |||||
echo move /y "%TEMP%\prefs.js.tmp" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js" | |||||
move /y "%TEMP%\prefs.js.tmp" "%~1\Mozilla\Firefox\Profiles\%%B\prefs.js" | |||||
if exist "%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4" echo del /Q /F "%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4" & del /Q /F "%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4" | |||||
echo robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%%B" search.json.mozlz4 /E ^> NUL | |||||
robocopy "%~dp0\AME-Firefox-Injection" "%~1\Mozilla\Firefox\Profiles\%%B" search.json.mozlz4 /E > NUL | |||||
echo PowerShell -NoP -C "Get-Acl '%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\prefs.js'" ^> NUL 2^>^&1 | |||||
PowerShell -NoP -C "Get-Acl '%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\prefs.js'" > NUL 2>&1 | |||||
echo PowerShell -NoP -C "Get-Acl '%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4'" ^> NUL 2^>^&1 | |||||
PowerShell -NoP -C "Get-Acl '%~1\Mozilla\Firefox\Profiles' | Set-Acl '%~1\Mozilla\Firefox\Profiles\%%B\search.json.mozlz4'" > NUL 2>&1 | |||||
) | |||||
) | |||||
) | |||||
if %count3% EQU 0 ( | |||||
echo. & echo Failed! No profiles detected | |||||
endlocal & exit /b 2 | |||||
) else ( | |||||
echo. & echo Successfully injected custom Firefox configs. | |||||
endlocal & exit /b 1 | |||||
) |
@ -0,0 +1,17 @@ | |||||
<?xml version="1.0" encoding="UTF-8"?> | |||||
<DefaultAssociations> | |||||
<Association Identifier=".inf" ProgId="inffile" ApplicationName="Notepad" /> | |||||
<Association Identifier=".ini" ProgId="inifile" ApplicationName="Notepad" /> | |||||
<Association Identifier=".log" ProgId="txtfile" ApplicationName="Notepad" /> | |||||
<Association Identifier=".MP2" ProgId="WMP11.AssocFile.MP3" /> | |||||
<Association Identifier=".ps1" ProgId="Microsoft.PowerShellScript.1" ApplicationName="Notepad" /> | |||||
<Association Identifier=".psd1" ProgId="Microsoft.PowerShellData.1" ApplicationName="Notepad" /> | |||||
<Association Identifier=".psm1" ProgId="Microsoft.PowerShellModule.1" ApplicationName="Notepad" /> | |||||
<Association Identifier=".scp" ProgId="txtfile" ApplicationName="Notepad" /> | |||||
<Association Identifier=".tif" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" /> | |||||
<Association Identifier=".tiff" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" /> | |||||
<Association Identifier=".txt" ProgId="txtfile" ApplicationName="Notepad" /> | |||||
<Association Identifier=".url" ProgId="IE.AssocFile.URL" ApplicationName="Internet Browser" /> | |||||
<Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" /> | |||||
<Association Identifier=".wtx" ProgId="txtfile" ApplicationName="Notepad" /> | |||||
</DefaultAssociations> |
@ -0,0 +1,8 @@ | |||||
cd Executables | |||||
takeown /f C:\Windows\System32\en-US\credprovhost.dll.mui | |||||
icacls C:\Windows\System32\en-US\credprovhost.dll.mui /reset | |||||
del C:\Windows\System32\en-US\credprovhost.dll.mui /f /q | |||||
copy credprovhost.dll.mui C:\Windows\System32\en-US\ /Y | |||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 0 /f | |||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d "" /f | |||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d "" /f |
@ -0,0 +1,16 @@ | |||||
<LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"> | |||||
<LayoutOptions StartTileGroupCellWidth="6" /> | |||||
<DefaultLayoutOverride> | |||||
<StartLayoutCollection> | |||||
<defaultlayout:StartLayout GroupCellWidth="6" /> | |||||
</StartLayoutCollection> | |||||
</DefaultLayoutOverride> | |||||
<CustomTaskbarLayoutCollection PinListPlacement="Replace"> | |||||
<defaultlayout:TaskbarLayout> | |||||
<taskbar:TaskbarPinList> | |||||
<taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" /> | |||||
<taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Firefox.lnk" /> | |||||
</taskbar:TaskbarPinList> | |||||
</defaultlayout:TaskbarLayout> | |||||
</CustomTaskbarLayoutCollection> | |||||
</LayoutModificationTemplate> |
@ -0,0 +1 @@ | |||||
PowerShell -NoP -C "Start-Process '%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe' -ArgumentList '/uninstall' -NoNewWindow" |
@ -0,0 +1,8 @@ | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 00000005 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorUser /t REG_DWORD /d 00000003 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableInstallerDetection /t REG_DWORD /d 00000001 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 00000001 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableVirtualization /t REG_DWORD /d 00000001 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v PromptOnSecureDesktop /t REG_DWORD /d 00000001 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ValidateAdminCodeSignatures /t REG_DWORD /d 00000000 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v FilterAdministratorToken /t REG_DWORD /d 00000000 /f |
@ -0,0 +1,2 @@ | |||||
start "C:\Program Files\Open-Shell\StartMenu.exe" -settings | |||||
PowerShell -Command "$wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('~')" |
@ -0,0 +1,5 @@ | |||||
cd Executables | |||||
python-3.9.7-amd64.exe /quiet InstallAllUsers=1 TargetDir="%PROGRAMFILES%\Python39" | |||||
NSudoLC -U:S -P:E -M:S -Priority:RealTime -UseCurrentConsole -Wait PowerShell -NoP -C "Start-Process '%PROGRAMFILES%\Python39\python.exe' -ArgumentList 'remove_SecHealthUI_stub.py' -NoNewWindow" | |||||
PowerShell -NoP -ExecutionPolicy Bypass -Command "Get-AppxPackage -All *Microsoft.Windows.SecHealthUI* | Remove-AppPackage -AllUsers" |
@ -0,0 +1,502 @@ | |||||
Process Hacker | |||||
2.31 | |||||
* NEW/IMPROVED: | |||||
* Updated ExtendedServices plugin: | |||||
* Fixed some bugs relating to Windows 8 | |||||
* Updated OnlineChecks plugin: | |||||
* Added upload progress | |||||
* Updated UserNotes plugin: | |||||
* Fixed bug where process priorities were not actually saved | |||||
* FIXED: | |||||
* Fixed module list not updating properly | |||||
* DLL enumeration crash | |||||
2.30 | |||||
* NEW/IMPROVED: | |||||
* Added "Icon click toggles visibility" option | |||||
* Re-enabled powerful process termination on 32-bit Windows 8 | |||||
* Updated UserNotes plugin: | |||||
* Added ability to save process priority | |||||
* Added "Only for processes with the same command line" option for process comments | |||||
* FIXED: | |||||
* Fixed crash on CPUs without SSE2 | |||||
2.29 | |||||
* NEW/IMPROVED: | |||||
* Added App ID column for processes | |||||
* Added new ASLR information for Windows 8 | |||||
* Added Restart to Boot Options and Hybrid Shutdown menu items for | |||||
Windows 8 | |||||
* Added ability to specify processes by their names and inject and | |||||
unload DLLs in command line | |||||
* Removed 512 character limit when copying text | |||||
* Moved Terminator to Miscellaneous menu | |||||
* Updated default dbghelp.dll path for Windows SDK v8 | |||||
* Updated ExtendedServices plugin: | |||||
* Added new triggers for Windows 8 | |||||
* Fixed bug when restarting services | |||||
* Updated ExtendedTools plugin: | |||||
* Improved support for multiple GPUs (again) | |||||
* GPU column now respects "Include CPU usage of children" option | |||||
* Updated ToolStatus plugin: | |||||
* Fixed search box fonts | |||||
* Fixed controls not being properly hidden/removed from the window when disabled | |||||
* Updated WindowExplorer plugin: | |||||
* Fixed window list not displaying Modern UI windows | |||||
* FIXED: | |||||
* Fixed Load Count column sorting bug | |||||
* Fixed signature verification on Windows 8 | |||||
* Fixed task scheduler information on Windows 8 | |||||
* Fixed drag bug in tree list | |||||
* Fixed KProcessHacker bug affecting TmTx objects | |||||
* Fixed Run As feature on Windows 8 | |||||
* Fixed bug where -settings parameter is not propagated | |||||
* Fixed tab key behavior on main window | |||||
* Fixed recognition of Modern UI windows | |||||
2.28 | |||||
* NEW/IMPROVED: | |||||
* peview now resolves .lnk targets | |||||
* Fixed Ctrl+A for processes, services and network connections and | |||||
added Ctrl+A for other windows | |||||
* Changed confirmation prompts to select the destructive action by | |||||
default | |||||
* Updated DotNetTools plugin: | |||||
* Fixed inaccurate stack traces for certain .NET programs | |||||
* Updated ExtendedTools plugin: | |||||
* Fixed network graph scaling | |||||
* Updated ToolStatus plugin: | |||||
* Added search box | |||||
* Updated Updater plugin | |||||
* FIXED: | |||||
* Fixed Verification Status column sorting bug in module list | |||||
* Fixed rare System Information crash | |||||
* Fixed bug in opening process handles | |||||
* Fixed freezing when viewing stack traces of certain system threads | |||||
2.27 | |||||
* NEW/IMPROVED: | |||||
* Updated OnlineChecks plugin: | |||||
* 2012-01-16: Updated VirusTotal uploader and added hash checking | |||||
* FIXED: | |||||
* Fixed Description column sorting bug | |||||
* Fixed notification icon bug | |||||
2.26 | |||||
* NEW/IMPROVED: | |||||
* Added option to show Commit Charge in system information | |||||
summary view | |||||
* Added -priority and -selectpid command line options | |||||
* Updated ExtendedTools plugin: | |||||
* Improved support for multiple GPUs | |||||
* FIXED: | |||||
* Fixed 100% CPU when starting on some machines | |||||
2.25 | |||||
* NEW/IMPROVED: | |||||
* Improved CPU frequency calculation | |||||
* Updated ExtendedTools plugin: | |||||
* Added GPU node selection | |||||
* Fixed incorrect GPU usage calculation | |||||
* FIXED: | |||||
* Graph tooltip position with large cursors | |||||
* Fixed .NET process detection | |||||
* Fixed incorrect values in Bits column | |||||
2.24 | |||||
* NOTE: | |||||
* This release has significant internal code changes. Please | |||||
make sure all plugins are up-to-date. | |||||
* NEW/IMPROVED: | |||||
* Completely new system information window | |||||
* Added option to scroll to new processes | |||||
* Added option to hide driver services | |||||
* Added menu item to copy individual cells | |||||
* Improved module scanning | |||||
* Added Start Task Manager menu item | |||||
* Added Image base to peview | |||||
* Updated ExtendedTools plugin: | |||||
* Added support for new system information window | |||||
* Added Disk, Network and GPU tray icons | |||||
* Added support for custom fonts in the Disk tab | |||||
* Updated Updater plugin: | |||||
* Added download speed | |||||
* Added remaining time | |||||
* FIXED: | |||||
* Fixed retrieval of version information for certain files | |||||
* Fixed driver file names on Windows XP | |||||
* Fixed Run As Administrator when used with complex commands | |||||
2.23 | |||||
* NEW/IMPROVED: | |||||
* Added display of token capabilities, user/device claims | |||||
and security attributes | |||||
* Added ability to change token integrity levels | |||||
* Added Description column to service list | |||||
* Added option to reset all settings | |||||
* Made grid color darker | |||||
* Enabled multi-selection in the hidden processes window | |||||
* Added UserNotes plugin | |||||
* Updated ExtendedNotifications plugin: | |||||
* Added Growl support | |||||
* Updated ExtendedTools plugin: | |||||
* Added GPU monitoring | |||||
* Added rate columns for disk and network I/O | |||||
* FIXED: | |||||
* Fixed copying lists when plugin columns are enabled | |||||
* Freezing when viewing the tooltip for a process with a | |||||
very long command line | |||||
* Disabled Hidden Processes feature on 64-bit systems | |||||
2.22 | |||||
* NEW/IMPROVED: | |||||
* Added highlighting for metro style apps | |||||
* Added Package Name column | |||||
* Added package name to process tooltip | |||||
* Improved .NET process detection | |||||
* Updated OS Context column for Windows 8 | |||||
* Updated ExtendedTools plugin: | |||||
* Updated disk monitoring for Windows 8 | |||||
* Updated memory list information for Windows 8 | |||||
* Updated WindowExplorer plugin: | |||||
* Fixed hook support for low integrity processes | |||||
* FIXED: | |||||
* Fixed memory leaks | |||||
* Fixed bug preventing Interrupts/DPCs from being shown | |||||
as the max. CPU process on 64-bit systems | |||||
* Fixed DEP Status column on 64-bit systems | |||||
2.21 | |||||
* NEW/IMPROVED: | |||||
* Added Private Bytes Delta, ASLR and Subsystem columns | |||||
* Added ASLR and Time Stamp columns to modules list | |||||
* Added check for debugger in Terminator | |||||
* FIXED: | |||||
* Fixed Show CPU Below 0.01 not respecting locale | |||||
* Fixed copying from network list | |||||
2.20 | |||||
* NEW/IMPROVED: | |||||
* Added support for managed thread stacks on x64 | |||||
* Added column selection for handle list | |||||
* Added CPU column to threads list | |||||
* Improved module detection | |||||
* Added Ideal Processor to Threads tab | |||||
* Added pool usage and minimum/maximum working set columns | |||||
* Implemented Properties button for Thread handles | |||||
* Set descending sort as the default for most numeric columns | |||||
* Extended header context menu | |||||
* Removed tooltip text truncation | |||||
* Improved cycle-based CPU usage calculation | |||||
* Set default KProcessHacker security level to only allow | |||||
connections when Process Hacker is running as administrator. | |||||
See README.txt for instructions on how to restore the old | |||||
behavior. | |||||
* Added Updater plugin | |||||
* Updated DotNetTools plugin: | |||||
* Added managed symbol resolution for thread stacks | |||||
* Updated ExtendedTools plugin: | |||||
* Added Disk tab | |||||
* Added Hard Faults, Hard Faults Delta and Peak Threads | |||||
columns to process tree list | |||||
* Added Firewall Status column | |||||
* FIXED: | |||||
* Fixed file name resolution bug | |||||
* Save settings on shutdown/logoff | |||||
* Fixed state highlighting bug | |||||
* Fixed command line propagation for -elevate | |||||
* Fixed tree list mouse wheel handling | |||||
* Fixed saving network list | |||||
2.19 | |||||
* NEW/IMPROVED: | |||||
* Added cycle-based CPU usage for Windows 7 | |||||
* Added Show CPU Below 0.01 | |||||
* Added OS Context column | |||||
* Rewrote graph drawing code for improved performance | |||||
* Optimized retrieval of cycle time and private working set | |||||
information for Windows 7 | |||||
* Added Open File Location to process context menu and | |||||
reorganized some items | |||||
* Added checkboxes to Terminator | |||||
* FIXED: | |||||
* Crash when sorting by Time Stamp | |||||
* GDI handle leak in drag selection | |||||
2.18 | |||||
* NEW/IMPROVED: | |||||
* Completely rewritten tree list control: | |||||
* Process Name column is now fixed to the left | |||||
* Tooltips for column headers | |||||
* Improved performance | |||||
* Bug fixes | |||||
* Added more process tree list columns | |||||
* Added Time stamp column to network list | |||||
* Date/time display is now swapped (so time is shown before | |||||
date) | |||||
* Added W3 terminator test | |||||
* Added DotNetTools plugin | |||||
* Updated ExtendedServices plugin: | |||||
* Disabled editing of required privileges for drivers | |||||
* Updated ExtendedTools plugin: | |||||
* Added ETW columns for processes and network connections | |||||
* Updated OnlineChecks plugin: | |||||
* Added Comodo Instant Malware Analysis | |||||
* Updated WindowExplorer plugin: | |||||
* Fixed hook bugs | |||||
* FIXED: | |||||
* Fixed Run As This User | |||||
* Verification Status sorting | |||||
2.17 | |||||
* NEW/IMPROVED: | |||||
* Added support for setting page priority | |||||
* Added elevation support for setting priority | |||||
* Added support for automatically using a settings file in | |||||
the program directory (e.g. ProcessHacker.exe.settings.xml) | |||||
* Improved Run As mechanism | |||||
* Updated ExtendedServices plugin: | |||||
* Added support for editing triggers | |||||
* Added support for editing preshutdown time-out | |||||
* Added support for editing required privileges | |||||
* Added elevation support for restarting services | |||||
* Updated WindowExplorer plugin: | |||||
* Added more window properties | |||||
* FIXED: | |||||
* Handle leak | |||||
2.16 | |||||
* NEW/IMPROVED: | |||||
* Updated WindowExplorer plugin | |||||
* PE viewer: Added version string to CLR tab | |||||
* PE viewer: Added display of delay imports | |||||
* PE viewer: Added Load Config tab | |||||
* Improved wait analysis | |||||
* Added arrows to the service list to indicate whether a | |||||
service is running | |||||
* FIXED: | |||||
* Fixed the IPv6-related workaround causing crashes | |||||
* Incorrect handling of window positions | |||||
2.15 | |||||
* NEW/IMPROVED: | |||||
* Updated ExtendedServices plugin | |||||
* Updated ToolStatus plugin | |||||
* Added DEP Status column | |||||
* Improved User Name column | |||||
* FIXED: | |||||
* Image file versions | |||||
* Workaround for an IPv6-related bug in Windows XP | |||||
* DPCs and Interrupts in System Information tooltips | |||||
* File dialog crash on Windows XP | |||||
* ExtendedTools plugin: WS Watch refresh bug | |||||
2.14 | |||||
* NEW/IMPROVED: | |||||
* ExtendedServices plugin: Option to add a Services menu | |||||
for processes | |||||
* Command line support for setting process priority and | |||||
I/O priority | |||||
* Improved termination of explorer.exe | |||||
* FIXED: | |||||
* Icon should restore the main window if it is minimized | |||||
* System Information window crashes | |||||
* Hide Processes From Other Users and Hide Signed Processes | |||||
settings are now saved | |||||
* Font selection on Windows XP | |||||
* ToolStatus plugin: Always on Top status being reset by | |||||
Find Window | |||||
* Service-related crashes | |||||
* WindowExplorer plugin: sorting in tree list | |||||
* Process minidump creation with old versions of dbghelp.dll | |||||
2.13 | |||||
* NEW/IMPROVED: | |||||
* Added copy support to PE viewer | |||||
* Added Connect Time, Disconnect Time and Last Input Time | |||||
to session properties | |||||
* Added more working set counters to the Statistics tab | |||||
* FIXED: | |||||
* Column sort arrows | |||||
* CPU usage calculations | |||||
2.12 | |||||
* NEW/IMPROVED: | |||||
* Updated KProcessHacker for Windows 7 SP1 | |||||
* Added elevation support for more actions | |||||
* Added ability to disable plugins | |||||
* Updated ToolStatus plugin | |||||
* Added Remote Control for sessions | |||||
* More command line options | |||||
* FIXED: | |||||
* Memory leaks | |||||
* Run As issues with different sessions | |||||
2.11 | |||||
* NEW/IMPROVED: | |||||
* Added WS Watch and other features to ExtendedTools | |||||
plugin | |||||
* Added WindowExplorer plugin | |||||
* Properties for hidden processes | |||||
* Improved menus | |||||
* Debug console can now be closed without affecting the | |||||
entire program | |||||
* FIXED: | |||||
* Always on Top issues | |||||
* Hang when setting DEP status of a terminating process | |||||
* Encoding bug in NetworkTools plugin | |||||
* LSA interfacing issues | |||||
* Creating dumps of self | |||||
2.10 | |||||
* NEW/IMPROVED: | |||||
* KProcessHacker is now signed, so it works on 64-bit | |||||
systems. Thank you to the ReactOS Foundation. | |||||
* Added Run As Limited User | |||||
* Added CPU, private bytes and I/O history columns | |||||
* Added font selection | |||||
* Slightly improved highlighting configuration | |||||
* FIXED: | |||||
* High DPI support | |||||
* Multi-monitor support in graph tooltips | |||||
* DEP status retrieval | |||||
* ExtendedTools plugin crash | |||||
* Notification icon menu crash | |||||
* Memory leaks | |||||
* Other small bug fixes | |||||
2.9 | |||||
* NEW/IMPROVED: | |||||
* Added column selection for modules list | |||||
* Added wait analysis for 64-bit systems | |||||
* Added signature verification for modules | |||||
* Added ExtendedTools plugin (Vista and above only) | |||||
with Disk and Network information | |||||
* Updated ExtendedNotifications plugin: added ability | |||||
to log events to a file | |||||
* Updated ExtendedServices plugin: new tab on Vista | |||||
and above | |||||
* Updated ToolStatus plugin: resolves ghost windows | |||||
to hung windows | |||||
* Environment variables and current directory are | |||||
now correctly shown for WOW64 processes | |||||
* I/O priority names are now used instead of numbers | |||||
* FIXED: | |||||
* Network list bug | |||||
* Memory leaks | |||||
2.8 | |||||
* NEW/IMPROVED: | |||||
* Better service list (including column selection) | |||||
* Added Peak Handles | |||||
* Process tree sorting is now preserved | |||||
* Save works for services and network connections | |||||
* Pausing now works correctly with the Network tab | |||||
* Added option to display inclusive CPU usages for | |||||
collapsed processes | |||||
* Added CLR tab to peview | |||||
* Added ability to destroy heaps | |||||
* Improved process tree list appearance | |||||
* Certain command line parameters are now propagated | |||||
* FIXED: | |||||
* Icon handling bugs | |||||
* Memory leaks | |||||
* Extended tooltips for WOW64 processes | |||||
2.7 | |||||
* NEW/IMPROVED: | |||||
* Vastly improved startup time and lower memory usage | |||||
* Added Cycles and Cycles Delta columns | |||||
* Added option to disable address resolution for | |||||
network connections | |||||
* Added Logon Time to session properties | |||||
* Added time stamp display to peview | |||||
* FIXED: | |||||
* ToolStatus layout problems | |||||
* .NET highlighting crashes | |||||
* Run As on Windows XP | |||||
2.6 | |||||
* NEW/IMPROVED: | |||||
* Sorting for most lists is now much faster | |||||
* Hide Signed Processes option | |||||
* Added plugin for uploading files to online virus | |||||
scanners | |||||
* Added Network tools plugin | |||||
* Updated ExtendedServices plugin | |||||
* PE viewer now verifies checksums | |||||
* Performance improvements | |||||
* FIXED: | |||||
* Fixed service handle leak | |||||
2.5 | |||||
* NEW/IMPROVED: | |||||
* Unmap section views in Memory tab | |||||
* Plugin for extended service information (including | |||||
recovery information, dependencies and dependents) | |||||
* FIXED: | |||||
* Critical bug for file dialogs on Windows XP | |||||
* Esc couldn't close Service Properties on open | |||||
* Small bug fixes | |||||
2.4 | |||||
* NEW/IMPROVED: | |||||
* Better Run As behaviour | |||||
* Show Processes From All Users option | |||||
* Can now unmap section views | |||||
* Control over thread affinity | |||||
* Window Title and Window Status columns | |||||
* Plugin for filtering notifications | |||||
* Plugin for toolbar and status bar | |||||
* Performance improvements | |||||
* FIXED: | |||||
* Memory leak | |||||
* SbieSupport plugin on 64-bit | |||||
* Crash when running under certain conditions | |||||
* Memory case-insensitive filter | |||||
* Process parent association bug | |||||
* REMOVED: | |||||
* Process database | |||||
2.3 | |||||
* NEW/IMPROVED: | |||||
* Can add processes to jobs | |||||
* Double-clicking in the system information graphs now opens | |||||
information for the relevant process | |||||
* Setting I/O priority doesn't need KProcessHacker anymore | |||||
* Elevation for certain actions | |||||
* FIXED: | |||||
* HKCU key name resolution | |||||
* Network connection host resolution | |||||
* Information window resizing | |||||
* Log clearing | |||||
2.2 | |||||
* NEW/IMPROVED: | |||||
* Plugins support | |||||
* Can now unload 32-bit modules on 64-bit systems | |||||
* Tasks are shown in tooltips for taskeng.exe/taskhost.exe processes | |||||
* Run As can now start processes elevated | |||||
* Handle count by type | |||||
* Process priorities in notification icon menu | |||||
* CSV export | |||||
* Relative start times | |||||
* FIXED: | |||||
* Run and Run As shortcuts | |||||
* Command line handling | |||||
* Process tree selection | |||||
2.1 | |||||
* NEW/IMPROVED: | |||||
* Add Pause key shortcut to pause/resume updates | |||||
* Added Ctrl+Tab and Ctrl+Shift+Tab shortcuts | |||||
* Grid is a bit darker | |||||
* Checks for digital signatures and packing is now | |||||
off by default and optional | |||||
* FIXED: | |||||
* MD5 calculation code for files was wrong | |||||
* Process record bugs | |||||
2.0 | |||||
* First release in the Process Hacker 2.x branch. |
@ -0,0 +1,132 @@ | |||||
== Process Hacker == | |||||
Process Hacker is licensed under the GNU GPL v3, with exceptions. A full | |||||
copy of the license is provided in LICENSE.txt. | |||||
Copyright (C) 2009-2012 wj32 and various authors | |||||
This program is free software: you can redistribute it and/or modify | |||||
it under the terms of the GNU General Public License as published by | |||||
the Free Software Foundation, either version 3 of the License, or | |||||
(at your option) any later version. | |||||
This program is distributed in the hope that it will be useful, | |||||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
GNU General Public License for more details. | |||||
You should have received a copy of the GNU General Public License | |||||
along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||
== Mini-XML == | |||||
Process Hacker uses Mini-XML licensed under the following terms: | |||||
The Mini-XML library and included programs are provided under the | |||||
terms of the GNU Library General Public License (LGPL) with the | |||||
following exceptions: | |||||
1. Static linking of applications to the Mini-XML library | |||||
does not constitute a derivative work and does not require | |||||
the author to provide source code for the application, use | |||||
the shared Mini-XML libraries, or link their applications | |||||
against a user-supplied version of Mini-XML. | |||||
If you link the application to a modified version of | |||||
Mini-XML, then the changes to Mini-XML must be provided | |||||
under the terms of the LGPL in sections 1, 2, and 4. | |||||
2. You do not have to provide a copy of the Mini-XML license | |||||
with programs that are linked to the Mini-XML library, nor | |||||
do you have to identify the Mini-XML license in your | |||||
program or documentation as required by section 6 of the | |||||
LGPL. | |||||
== PCRE == | |||||
Process Hacker uses Perl-Compatible Regular Expressions licensed under the | |||||
following terms: | |||||
PCRE is a library of functions to support regular expressions whose syntax | |||||
and semantics are as close as possible to those of the Perl 5 language. | |||||
Release 8 of PCRE is distributed under the terms of the "BSD" licence, as | |||||
specified below. | |||||
Redistribution and use in source and binary forms, with or without | |||||
modification, are permitted provided that the following conditions are met: | |||||
* Redistributions of source code must retain the above copyright notice, | |||||
this list of conditions and the following disclaimer. | |||||
* Redistributions in binary form must reproduce the above copyright | |||||
notice, this list of conditions and the following disclaimer in the | |||||
documentation and/or other materials provided with the distribution. | |||||
* Neither the name of the University of Cambridge nor the name of Google | |||||
Inc. nor the names of their contributors may be used to endorse or | |||||
promote products derived from this software without specific prior | |||||
written permission. | |||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | |||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |||||
POSSIBILITY OF SUCH DAMAGE. | |||||
== MD5 == | |||||
Process Hacker uses a MD5 implementation licensed under the following terms: | |||||
MD5 hash implementation and interface functions | |||||
Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi> | |||||
This program is free software; you can redistribute it and/or modify | |||||
it under the terms of the GNU General Public License version 2 as | |||||
published by the Free Software Foundation. | |||||
== SHA == | |||||
Process Hacker uses a SHA implementation licensed under the following terms: | |||||
Copyright 2004 Filip Navara | |||||
Based on public domain SHA code by Steve Reid <steve@edmweb.com> | |||||
This library is free software; you can redistribute it and/or | |||||
modify it under the terms of the GNU Lesser General Public | |||||
License as published by the Free Software Foundation; either | |||||
version 2.1 of the License, or (at your option) any later version. | |||||
This library is distributed in the hope that it will be useful, | |||||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||||
Lesser General Public License for more details. | |||||
You should have received a copy of the GNU Lesser General Public | |||||
License along with this library; if not, write to the Free Software | |||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | |||||
== Natural order string comparison == | |||||
Process Hacker uses "strnatcmp.c" licensed under the following terms: | |||||
strnatcmp.c -- Perform 'natural order' comparisons of strings in C. | |||||
Copyright (C) 2000, 2004 by Martin Pool <mbp sourcefrog net> | |||||
This software is provided 'as-is', without any express or implied | |||||
warranty. In no event will the authors be held liable for any damages | |||||
arising from the use of this software. | |||||
Permission is granted to anyone to use this software for any purpose, | |||||
including commercial applications, and to alter it and redistribute it | |||||
freely, subject to the following restrictions: | |||||
1. The origin of this software must not be misrepresented; you must not | |||||
claim that you wrote the original software. If you use this software | |||||
in a product, an acknowledgment in the product documentation would be | |||||
appreciated but is not required. | |||||
2. Altered source versions must be plainly marked as such, and must not be | |||||
misrepresented as being the original software. | |||||
3. This notice may not be removed or altered from any source distribution. | |||||
This code has been modified for Process Hacker. |
@ -0,0 +1,685 @@ | |||||
Process Hacker is distributed under the GNU GPL version 3, with the | |||||
following exception: | |||||
Permission is granted to dynamically (but not statically) link this | |||||
program with independent modules, regardless of the license terms of | |||||
these independent modules, provided that this program is not modified | |||||
in any way. An independent module is a module which is not derived | |||||
from or based on this program. If you modify this program, this | |||||
additional permission no longer applies unless authorized by the | |||||
copyright holders. | |||||
GNU GENERAL PUBLIC LICENSE | |||||
Version 3, 29 June 2007 | |||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |||||
Everyone is permitted to copy and distribute verbatim copies | |||||
of this license document, but changing it is not allowed. | |||||
Preamble | |||||
The GNU General Public License is a free, copyleft license for | |||||
software and other kinds of works. | |||||
The licenses for most software and other practical works are designed | |||||
to take away your freedom to share and change the works. By contrast, | |||||
the GNU General Public License is intended to guarantee your freedom to | |||||
share and change all versions of a program--to make sure it remains free | |||||
software for all its users. We, the Free Software Foundation, use the | |||||
GNU General Public License for most of our software; it applies also to | |||||
any other work released this way by its authors. You can apply it to | |||||
your programs, too. | |||||
When we speak of free software, we are referring to freedom, not | |||||
price. Our General Public Licenses are designed to make sure that you | |||||
have the freedom to distribute copies of free software (and charge for | |||||
them if you wish), that you receive source code or can get it if you | |||||
want it, that you can change the software or use pieces of it in new | |||||
free programs, and that you know you can do these things. | |||||
To protect your rights, we need to prevent others from denying you | |||||
these rights or asking you to surrender the rights. Therefore, you have | |||||
certain responsibilities if you distribute copies of the software, or if | |||||
you modify it: responsibilities to respect the freedom of others. | |||||
For example, if you distribute copies of such a program, whether | |||||
gratis or for a fee, you must pass on to the recipients the same | |||||
freedoms that you received. You must make sure that they, too, receive | |||||
or can get the source code. And you must show them these terms so they | |||||
know their rights. | |||||
Developers that use the GNU GPL protect your rights with two steps: | |||||
(1) assert copyright on the software, and (2) offer you this License | |||||
giving you legal permission to copy, distribute and/or modify it. | |||||
For the developers' and authors' protection, the GPL clearly explains | |||||
that there is no warranty for this free software. For both users' and | |||||
authors' sake, the GPL requires that modified versions be marked as | |||||
changed, so that their problems will not be attributed erroneously to | |||||
authors of previous versions. | |||||
Some devices are designed to deny users access to install or run | |||||
modified versions of the software inside them, although the manufacturer | |||||
can do so. This is fundamentally incompatible with the aim of | |||||
protecting users' freedom to change the software. The systematic | |||||
pattern of such abuse occurs in the area of products for individuals to | |||||
use, which is precisely where it is most unacceptable. Therefore, we | |||||
have designed this version of the GPL to prohibit the practice for those | |||||
products. If such problems arise substantially in other domains, we | |||||
stand ready to extend this provision to those domains in future versions | |||||
of the GPL, as needed to protect the freedom of users. | |||||
Finally, every program is threatened constantly by software patents. | |||||
States should not allow patents to restrict development and use of | |||||
software on general-purpose computers, but in those that do, we wish to | |||||
avoid the special danger that patents applied to a free program could | |||||
make it effectively proprietary. To prevent this, the GPL assures that | |||||
patents cannot be used to render the program non-free. | |||||
The precise terms and conditions for copying, distribution and | |||||
modification follow. | |||||
TERMS AND CONDITIONS | |||||
0. Definitions. | |||||
"This License" refers to version 3 of the GNU General Public License. | |||||
"Copyright" also means copyright-like laws that apply to other kinds of | |||||
works, such as semiconductor masks. | |||||
"The Program" refers to any copyrightable work licensed under this | |||||
License. Each licensee is addressed as "you". "Licensees" and | |||||
"recipients" may be individuals or organizations. | |||||
To "modify" a work means to copy from or adapt all or part of the work | |||||
in a fashion requiring copyright permission, other than the making of an | |||||
exact copy. The resulting work is called a "modified version" of the | |||||
earlier work or a work "based on" the earlier work. | |||||
A "covered work" means either the unmodified Program or a work based | |||||
on the Program. | |||||
To "propagate" a work means to do anything with it that, without | |||||
permission, would make you directly or secondarily liable for | |||||
infringement under applicable copyright law, except executing it on a | |||||
computer or modifying a private copy. Propagation includes copying, | |||||
distribution (with or without modification), making available to the | |||||
public, and in some countries other activities as well. | |||||
To "convey" a work means any kind of propagation that enables other | |||||
parties to make or receive copies. Mere interaction with a user through | |||||
a computer network, with no transfer of a copy, is not conveying. | |||||
An interactive user interface displays "Appropriate Legal Notices" | |||||
to the extent that it includes a convenient and prominently visible | |||||
feature that (1) displays an appropriate copyright notice, and (2) | |||||
tells the user that there is no warranty for the work (except to the | |||||
extent that warranties are provided), that licensees may convey the | |||||
work under this License, and how to view a copy of this License. If | |||||
the interface presents a list of user commands or options, such as a | |||||
menu, a prominent item in the list meets this criterion. | |||||
1. Source Code. | |||||
The "source code" for a work means the preferred form of the work | |||||
for making modifications to it. "Object code" means any non-source | |||||
form of a work. | |||||
A "Standard Interface" means an interface that either is an official | |||||
standard defined by a recognized standards body, or, in the case of | |||||
interfaces specified for a particular programming language, one that | |||||
is widely used among developers working in that language. | |||||
The "System Libraries" of an executable work include anything, other | |||||
than the work as a whole, that (a) is included in the normal form of | |||||
packaging a Major Component, but which is not part of that Major | |||||
Component, and (b) serves only to enable use of the work with that | |||||
Major Component, or to implement a Standard Interface for which an | |||||
implementation is available to the public in source code form. A | |||||
"Major Component", in this context, means a major essential component | |||||
(kernel, window system, and so on) of the specific operating system | |||||
(if any) on which the executable work runs, or a compiler used to | |||||
produce the work, or an object code interpreter used to run it. | |||||
The "Corresponding Source" for a work in object code form means all | |||||
the source code needed to generate, install, and (for an executable | |||||
work) run the object code and to modify the work, including scripts to | |||||
control those activities. However, it does not include the work's | |||||
System Libraries, or general-purpose tools or generally available free | |||||
programs which are used unmodified in performing those activities but | |||||
which are not part of the work. For example, Corresponding Source | |||||
includes interface definition files associated with source files for | |||||
the work, and the source code for shared libraries and dynamically | |||||
linked subprograms that the work is specifically designed to require, | |||||
such as by intimate data communication or control flow between those | |||||
subprograms and other parts of the work. | |||||
The Corresponding Source need not include anything that users | |||||
can regenerate automatically from other parts of the Corresponding | |||||
Source. | |||||
The Corresponding Source for a work in source code form is that | |||||
same work. | |||||
2. Basic Permissions. | |||||
All rights granted under this License are granted for the term of | |||||
copyright on the Program, and are irrevocable provided the stated | |||||
conditions are met. This License explicitly affirms your unlimited | |||||
permission to run the unmodified Program. The output from running a | |||||
covered work is covered by this License only if the output, given its | |||||
content, constitutes a covered work. This License acknowledges your | |||||
rights of fair use or other equivalent, as provided by copyright law. | |||||
You may make, run and propagate covered works that you do not | |||||
convey, without conditions so long as your license otherwise remains | |||||
in force. You may convey covered works to others for the sole purpose | |||||
of having them make modifications exclusively for you, or provide you | |||||
with facilities for running those works, provided that you comply with | |||||
the terms of this License in conveying all material for which you do | |||||
not control copyright. Those thus making or running the covered works | |||||
for you must do so exclusively on your behalf, under your direction | |||||
and control, on terms that prohibit them from making any copies of | |||||
your copyrighted material outside their relationship with you. | |||||
Conveying under any other circumstances is permitted solely under | |||||
the conditions stated below. Sublicensing is not allowed; section 10 | |||||
makes it unnecessary. | |||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law. | |||||
No covered work shall be deemed part of an effective technological | |||||
measure under any applicable law fulfilling obligations under article | |||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or | |||||
similar laws prohibiting or restricting circumvention of such | |||||
measures. | |||||
When you convey a covered work, you waive any legal power to forbid | |||||
circumvention of technological measures to the extent such circumvention | |||||
is effected by exercising rights under this License with respect to | |||||
the covered work, and you disclaim any intention to limit operation or | |||||
modification of the work as a means of enforcing, against the work's | |||||
users, your or third parties' legal rights to forbid circumvention of | |||||
technological measures. | |||||
4. Conveying Verbatim Copies. | |||||
You may convey verbatim copies of the Program's source code as you | |||||
receive it, in any medium, provided that you conspicuously and | |||||
appropriately publish on each copy an appropriate copyright notice; | |||||
keep intact all notices stating that this License and any | |||||
non-permissive terms added in accord with section 7 apply to the code; | |||||
keep intact all notices of the absence of any warranty; and give all | |||||
recipients a copy of this License along with the Program. | |||||
You may charge any price or no price for each copy that you convey, | |||||
and you may offer support or warranty protection for a fee. | |||||
5. Conveying Modified Source Versions. | |||||
You may convey a work based on the Program, or the modifications to | |||||
produce it from the Program, in the form of source code under the | |||||
terms of section 4, provided that you also meet all of these conditions: | |||||
a) The work must carry prominent notices stating that you modified | |||||
it, and giving a relevant date. | |||||
b) The work must carry prominent notices stating that it is | |||||
released under this License and any conditions added under section | |||||
7. This requirement modifies the requirement in section 4 to | |||||
"keep intact all notices". | |||||
c) You must license the entire work, as a whole, under this | |||||
License to anyone who comes into possession of a copy. This | |||||
License will therefore apply, along with any applicable section 7 | |||||
additional terms, to the whole of the work, and all its parts, | |||||
regardless of how they are packaged. This License gives no | |||||
permission to license the work in any other way, but it does not | |||||
invalidate such permission if you have separately received it. | |||||
d) If the work has interactive user interfaces, each must display | |||||
Appropriate Legal Notices; however, if the Program has interactive | |||||
interfaces that do not display Appropriate Legal Notices, your | |||||
work need not make them do so. | |||||
A compilation of a covered work with other separate and independent | |||||
works, which are not by their nature extensions of the covered work, | |||||
and which are not combined with it such as to form a larger program, | |||||
in or on a volume of a storage or distribution medium, is called an | |||||
"aggregate" if the compilation and its resulting copyright are not | |||||
used to limit the access or legal rights of the compilation's users | |||||
beyond what the individual works permit. Inclusion of a covered work | |||||
in an aggregate does not cause this License to apply to the other | |||||
parts of the aggregate. | |||||
6. Conveying Non-Source Forms. | |||||
You may convey a covered work in object code form under the terms | |||||
of sections 4 and 5, provided that you also convey the | |||||
machine-readable Corresponding Source under the terms of this License, | |||||
in one of these ways: | |||||
a) Convey the object code in, or embodied in, a physical product | |||||
(including a physical distribution medium), accompanied by the | |||||
Corresponding Source fixed on a durable physical medium | |||||
customarily used for software interchange. | |||||
b) Convey the object code in, or embodied in, a physical product | |||||
(including a physical distribution medium), accompanied by a | |||||
written offer, valid for at least three years and valid for as | |||||
long as you offer spare parts or customer support for that product | |||||
model, to give anyone who possesses the object code either (1) a | |||||
copy of the Corresponding Source for all the software in the | |||||
product that is covered by this License, on a durable physical | |||||
medium customarily used for software interchange, for a price no | |||||
more than your reasonable cost of physically performing this | |||||
conveying of source, or (2) access to copy the | |||||
Corresponding Source from a network server at no charge. | |||||
c) Convey individual copies of the object code with a copy of the | |||||
written offer to provide the Corresponding Source. This | |||||
alternative is allowed only occasionally and noncommercially, and | |||||
only if you received the object code with such an offer, in accord | |||||
with subsection 6b. | |||||
d) Convey the object code by offering access from a designated | |||||
place (gratis or for a charge), and offer equivalent access to the | |||||
Corresponding Source in the same way through the same place at no | |||||
further charge. You need not require recipients to copy the | |||||
Corresponding Source along with the object code. If the place to | |||||
copy the object code is a network server, the Corresponding Source | |||||
may be on a different server (operated by you or a third party) | |||||
that supports equivalent copying facilities, provided you maintain | |||||
clear directions next to the object code saying where to find the | |||||
Corresponding Source. Regardless of what server hosts the | |||||
Corresponding Source, you remain obligated to ensure that it is | |||||
available for as long as needed to satisfy these requirements. | |||||
e) Convey the object code using peer-to-peer transmission, provided | |||||
you inform other peers where the object code and Corresponding | |||||
Source of the work are being offered to the general public at no | |||||
charge under subsection 6d. | |||||
A separable portion of the object code, whose source code is excluded | |||||
from the Corresponding Source as a System Library, need not be | |||||
included in conveying the object code work. | |||||
A "User Product" is either (1) a "consumer product", which means any | |||||
tangible personal property which is normally used for personal, family, | |||||
or household purposes, or (2) anything designed or sold for incorporation | |||||
into a dwelling. In determining whether a product is a consumer product, | |||||
doubtful cases shall be resolved in favor of coverage. For a particular | |||||
product received by a particular user, "normally used" refers to a | |||||
typical or common use of that class of product, regardless of the status | |||||
of the particular user or of the way in which the particular user | |||||
actually uses, or expects or is expected to use, the product. A product | |||||
is a consumer product regardless of whether the product has substantial | |||||
commercial, industrial or non-consumer uses, unless such uses represent | |||||
the only significant mode of use of the product. | |||||
"Installation Information" for a User Product means any methods, | |||||
procedures, authorization keys, or other information required to install | |||||
and execute modified versions of a covered work in that User Product from | |||||
a modified version of its Corresponding Source. The information must | |||||
suffice to ensure that the continued functioning of the modified object | |||||
code is in no case prevented or interfered with solely because | |||||
modification has been made. | |||||
If you convey an object code work under this section in, or with, or | |||||
specifically for use in, a User Product, and the conveying occurs as | |||||
part of a transaction in which the right of possession and use of the | |||||
User Product is transferred to the recipient in perpetuity or for a | |||||
fixed term (regardless of how the transaction is characterized), the | |||||
Corresponding Source conveyed under this section must be accompanied | |||||
by the Installation Information. But this requirement does not apply | |||||
if neither you nor any third party retains the ability to install | |||||
modified object code on the User Product (for example, the work has | |||||
been installed in ROM). | |||||
The requirement to provide Installation Information does not include a | |||||
requirement to continue to provide support service, warranty, or updates | |||||
for a work that has been modified or installed by the recipient, or for | |||||
the User Product in which it has been modified or installed. Access to a | |||||
network may be denied when the modification itself materially and | |||||
adversely affects the operation of the network or violates the rules and | |||||
protocols for communication across the network. | |||||
Corresponding Source conveyed, and Installation Information provided, | |||||
in accord with this section must be in a format that is publicly | |||||
documented (and with an implementation available to the public in | |||||
source code form), and must require no special password or key for | |||||
unpacking, reading or copying. | |||||
7. Additional Terms. | |||||
"Additional permissions" are terms that supplement the terms of this | |||||
License by making exceptions from one or more of its conditions. | |||||
Additional permissions that are applicable to the entire Program shall | |||||
be treated as though they were included in this License, to the extent | |||||
that they are valid under applicable law. If additional permissions | |||||
apply only to part of the Program, that part may be used separately | |||||
under those permissions, but the entire Program remains governed by | |||||
this License without regard to the additional permissions. | |||||
When you convey a copy of a covered work, you may at your option | |||||
remove any additional permissions from that copy, or from any part of | |||||
it. (Additional permissions may be written to require their own | |||||
removal in certain cases when you modify the work.) You may place | |||||
additional permissions on material, added by you to a covered work, | |||||
for which you have or can give appropriate copyright permission. | |||||
Notwithstanding any other provision of this License, for material you | |||||
add to a covered work, you may (if authorized by the copyright holders of | |||||
that material) supplement the terms of this License with terms: | |||||
a) Disclaiming warranty or limiting liability differently from the | |||||
terms of sections 15 and 16 of this License; or | |||||
b) Requiring preservation of specified reasonable legal notices or | |||||
author attributions in that material or in the Appropriate Legal | |||||
Notices displayed by works containing it; or | |||||
c) Prohibiting misrepresentation of the origin of that material, or | |||||
requiring that modified versions of such material be marked in | |||||
reasonable ways as different from the original version; or | |||||
d) Limiting the use for publicity purposes of names of licensors or | |||||
authors of the material; or | |||||
e) Declining to grant rights under trademark law for use of some | |||||
trade names, trademarks, or service marks; or | |||||
f) Requiring indemnification of licensors and authors of that | |||||
material by anyone who conveys the material (or modified versions of | |||||
it) with contractual assumptions of liability to the recipient, for | |||||
any liability that these contractual assumptions directly impose on | |||||
those licensors and authors. | |||||
All other non-permissive additional terms are considered "further | |||||
restrictions" within the meaning of section 10. If the Program as you | |||||
received it, or any part of it, contains a notice stating that it is | |||||
governed by this License along with a term that is a further | |||||
restriction, you may remove that term. If a license document contains | |||||
a further restriction but permits relicensing or conveying under this | |||||
License, you may add to a covered work material governed by the terms | |||||
of that license document, provided that the further restriction does | |||||
not survive such relicensing or conveying. | |||||
If you add terms to a covered work in accord with this section, you | |||||
must place, in the relevant source files, a statement of the | |||||
additional terms that apply to those files, or a notice indicating | |||||
where to find the applicable terms. | |||||
Additional terms, permissive or non-permissive, may be stated in the | |||||
form of a separately written license, or stated as exceptions; | |||||
the above requirements apply either way. | |||||
8. Termination. | |||||
You may not propagate or modify a covered work except as expressly | |||||
provided under this License. Any attempt otherwise to propagate or | |||||
modify it is void, and will automatically terminate your rights under | |||||
this License (including any patent licenses granted under the third | |||||
paragraph of section 11). | |||||
However, if you cease all violation of this License, then your | |||||
license from a particular copyright holder is reinstated (a) | |||||
provisionally, unless and until the copyright holder explicitly and | |||||
finally terminates your license, and (b) permanently, if the copyright | |||||
holder fails to notify you of the violation by some reasonable means | |||||
prior to 60 days after the cessation. | |||||
Moreover, your license from a particular copyright holder is | |||||
reinstated permanently if the copyright holder notifies you of the | |||||
violation by some reasonable means, this is the first time you have | |||||
received notice of violation of this License (for any work) from that | |||||
copyright holder, and you cure the violation prior to 30 days after | |||||
your receipt of the notice. | |||||
Termination of your rights under this section does not terminate the | |||||
licenses of parties who have received copies or rights from you under | |||||
this License. If your rights have been terminated and not permanently | |||||
reinstated, you do not qualify to receive new licenses for the same | |||||
material under section 10. | |||||
9. Acceptance Not Required for Having Copies. | |||||
You are not required to accept this License in order to receive or | |||||
run a copy of the Program. Ancillary propagation of a covered work | |||||
occurring solely as a consequence of using peer-to-peer transmission | |||||
to receive a copy likewise does not require acceptance. However, | |||||
nothing other than this License grants you permission to propagate or | |||||
modify any covered work. These actions infringe copyright if you do | |||||
not accept this License. Therefore, by modifying or propagating a | |||||
covered work, you indicate your acceptance of this License to do so. | |||||
10. Automatic Licensing of Downstream Recipients. | |||||
Each time you convey a covered work, the recipient automatically | |||||
receives a license from the original licensors, to run, modify and | |||||
propagate that work, subject to this License. You are not responsible | |||||
for enforcing compliance by third parties with this License. | |||||
An "entity transaction" is a transaction transferring control of an | |||||
organization, or substantially all assets of one, or subdividing an | |||||
organization, or merging organizations. If propagation of a covered | |||||
work results from an entity transaction, each party to that | |||||
transaction who receives a copy of the work also receives whatever | |||||
licenses to the work the party's predecessor in interest had or could | |||||
give under the previous paragraph, plus a right to possession of the | |||||
Corresponding Source of the work from the predecessor in interest, if | |||||
the predecessor has it or can get it with reasonable efforts. | |||||
You may not impose any further restrictions on the exercise of the | |||||
rights granted or affirmed under this License. For example, you may | |||||
not impose a license fee, royalty, or other charge for exercise of | |||||
rights granted under this License, and you may not initiate litigation | |||||
(including a cross-claim or counterclaim in a lawsuit) alleging that | |||||
any patent claim is infringed by making, using, selling, offering for | |||||
sale, or importing the Program or any portion of it. | |||||
11. Patents. | |||||
A "contributor" is a copyright holder who authorizes use under this | |||||
License of the Program or a work on which the Program is based. The | |||||
work thus licensed is called the contributor's "contributor version". | |||||
A contributor's "essential patent claims" are all patent claims | |||||
owned or controlled by the contributor, whether already acquired or | |||||
hereafter acquired, that would be infringed by some manner, permitted | |||||
by this License, of making, using, or selling its contributor version, | |||||
but do not include claims that would be infringed only as a | |||||
consequence of further modification of the contributor version. For | |||||
purposes of this definition, "control" includes the right to grant | |||||
patent sublicenses in a manner consistent with the requirements of | |||||
this License. | |||||
Each contributor grants you a non-exclusive, worldwide, royalty-free | |||||
patent license under the contributor's essential patent claims, to | |||||
make, use, sell, offer for sale, import and otherwise run, modify and | |||||
propagate the contents of its contributor version. | |||||
In the following three paragraphs, a "patent license" is any express | |||||
agreement or commitment, however denominated, not to enforce a patent | |||||
(such as an express permission to practice a patent or covenant not to | |||||
sue for patent infringement). To "grant" such a patent license to a | |||||
party means to make such an agreement or commitment not to enforce a | |||||
patent against the party. | |||||
If you convey a covered work, knowingly relying on a patent license, | |||||
and the Corresponding Source of the work is not available for anyone | |||||
to copy, free of charge and under the terms of this License, through a | |||||
publicly available network server or other readily accessible means, | |||||
then you must either (1) cause the Corresponding Source to be so | |||||
available, or (2) arrange to deprive yourself of the benefit of the | |||||
patent license for this particular work, or (3) arrange, in a manner | |||||
consistent with the requirements of this License, to extend the patent | |||||
license to downstream recipients. "Knowingly relying" means you have | |||||
actual knowledge that, but for the patent license, your conveying the | |||||
covered work in a country, or your recipient's use of the covered work | |||||
in a country, would infringe one or more identifiable patents in that | |||||
country that you have reason to believe are valid. | |||||
If, pursuant to or in connection with a single transaction or | |||||
arrangement, you convey, or propagate by procuring conveyance of, a | |||||
covered work, and grant a patent license to some of the parties | |||||
receiving the covered work authorizing them to use, propagate, modify | |||||
or convey a specific copy of the covered work, then the patent license | |||||
you grant is automatically extended to all recipients of the covered | |||||
work and works based on it. | |||||
A patent license is "discriminatory" if it does not include within | |||||
the scope of its coverage, prohibits the exercise of, or is | |||||
conditioned on the non-exercise of one or more of the rights that are | |||||
specifically granted under this License. You may not convey a covered | |||||
work if you are a party to an arrangement with a third party that is | |||||
in the business of distributing software, under which you make payment | |||||
to the third party based on the extent of your activity of conveying | |||||
the work, and under which the third party grants, to any of the | |||||
parties who would receive the covered work from you, a discriminatory | |||||
patent license (a) in connection with copies of the covered work | |||||
conveyed by you (or copies made from those copies), or (b) primarily | |||||
for and in connection with specific products or compilations that | |||||
contain the covered work, unless you entered into that arrangement, | |||||
or that patent license was granted, prior to 28 March 2007. | |||||
Nothing in this License shall be construed as excluding or limiting | |||||
any implied license or other defenses to infringement that may | |||||
otherwise be available to you under applicable patent law. | |||||
12. No Surrender of Others' Freedom. | |||||
If conditions are imposed on you (whether by court order, agreement or | |||||
otherwise) that contradict the conditions of this License, they do not | |||||
excuse you from the conditions of this License. If you cannot convey a | |||||
covered work so as to satisfy simultaneously your obligations under this | |||||
License and any other pertinent obligations, then as a consequence you may | |||||
not convey it at all. For example, if you agree to terms that obligate you | |||||
to collect a royalty for further conveying from those to whom you convey | |||||
the Program, the only way you could satisfy both those terms and this | |||||
License would be to refrain entirely from conveying the Program. | |||||
13. Use with the GNU Affero General Public License. | |||||
Notwithstanding any other provision of this License, you have | |||||
permission to link or combine any covered work with a work licensed | |||||
under version 3 of the GNU Affero General Public License into a single | |||||
combined work, and to convey the resulting work. The terms of this | |||||
License will continue to apply to the part which is the covered work, | |||||
but the special requirements of the GNU Affero General Public License, | |||||
section 13, concerning interaction through a network will apply to the | |||||
combination as such. | |||||
14. Revised Versions of this License. | |||||
The Free Software Foundation may publish revised and/or new versions of | |||||
the GNU General Public License from time to time. Such new versions will | |||||
be similar in spirit to the present version, but may differ in detail to | |||||
address new problems or concerns. | |||||
Each version is given a distinguishing version number. If the | |||||
Program specifies that a certain numbered version of the GNU General | |||||
Public License "or any later version" applies to it, you have the | |||||
option of following the terms and conditions either of that numbered | |||||
version or of any later version published by the Free Software | |||||
Foundation. If the Program does not specify a version number of the | |||||
GNU General Public License, you may choose any version ever published | |||||
by the Free Software Foundation. | |||||
If the Program specifies that a proxy can decide which future | |||||
versions of the GNU General Public License can be used, that proxy's | |||||
public statement of acceptance of a version permanently authorizes you | |||||
to choose that version for the Program. | |||||
Later license versions may give you additional or different | |||||
permissions. However, no additional obligations are imposed on any | |||||
author or copyright holder as a result of your choosing to follow a | |||||
later version. | |||||
15. Disclaimer of Warranty. | |||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY | |||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT | |||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY | |||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | |||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM | |||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF | |||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | |||||
16. Limitation of Liability. | |||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | |||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS | |||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY | |||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE | |||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF | |||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD | |||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), | |||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF | |||||
SUCH DAMAGES. | |||||
17. Interpretation of Sections 15 and 16. | |||||
If the disclaimer of warranty and limitation of liability provided | |||||
above cannot be given local legal effect according to their terms, | |||||
reviewing courts shall apply local law that most closely approximates | |||||
an absolute waiver of all civil liability in connection with the | |||||
Program, unless a warranty or assumption of liability accompanies a | |||||
copy of the Program in return for a fee. | |||||
END OF TERMS AND CONDITIONS | |||||
How to Apply These Terms to Your New Programs | |||||
If you develop a new program, and you want it to be of the greatest | |||||
possible use to the public, the best way to achieve this is to make it | |||||
free software which everyone can redistribute and change under these terms. | |||||
To do so, attach the following notices to the program. It is safest | |||||
to attach them to the start of each source file to most effectively | |||||
state the exclusion of warranty; and each file should have at least | |||||
the "copyright" line and a pointer to where the full notice is found. | |||||
<one line to give the program's name and a brief idea of what it does.> | |||||
Copyright (C) <year> <name of author> | |||||
This program is free software: you can redistribute it and/or modify | |||||
it under the terms of the GNU General Public License as published by | |||||
the Free Software Foundation, either version 3 of the License, or | |||||
(at your option) any later version. | |||||
This program is distributed in the hope that it will be useful, | |||||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
GNU General Public License for more details. | |||||
You should have received a copy of the GNU General Public License | |||||
along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||
Also add information on how to contact you by electronic and paper mail. | |||||
If the program does terminal interaction, make it output a short | |||||
notice like this when it starts in an interactive mode: | |||||
<program> Copyright (C) <year> <name of author> | |||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | |||||
This is free software, and you are welcome to redistribute it | |||||
under certain conditions; type `show c' for details. | |||||
The hypothetical commands `show w' and `show c' should show the appropriate | |||||
parts of the General Public License. Of course, your program's commands | |||||
might be different; for a GUI interface, you would use an "about box". | |||||
You should also get your employer (if you work as a programmer) or school, | |||||
if any, to sign a "copyright disclaimer" for the program, if necessary. | |||||
For more information on this, and how to apply and follow the GNU GPL, see | |||||
<http://www.gnu.org/licenses/>. | |||||
The GNU General Public License does not permit incorporating your program | |||||
into proprietary programs. If your program is a subroutine library, you | |||||
may consider it more useful to permit linking proprietary applications with | |||||
the library. If this is what you want to do, use the GNU Lesser General | |||||
Public License instead of this License. But first, please read | |||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>. |
@ -0,0 +1,73 @@ | |||||
Process Hacker is a powerful free and open source process viewer. | |||||
== Getting started == | |||||
Simply run ProcessHacker.exe to start Process Hacker. There are two | |||||
versions, 32-bit (x86) and 64-bit (x64). If you are not sure which | |||||
version to use, open Control Panel > System and check the "System | |||||
type". You cannot run the 32-bit version of Process Hacker on a | |||||
64-bit system and expect it to work correctly, unlike other programs. | |||||
== System requirements == | |||||
Windows XP SP2 or higher, 32-bit or 64-bit. | |||||
== Settings == | |||||
If you are running Process Hacker from a USB drive, you may want to | |||||
save Process Hacker's settings there as well. To do this, create a | |||||
blank file named "ProcessHacker.exe.settings.xml" in the same | |||||
directory as ProcessHacker.exe. You can do this using Windows Explorer: | |||||
1. Make sure "Hide extensions for known file types" is unticked in | |||||
Tools > Folder options > View. | |||||
2. Right-click in the folder and choose New > Text Document. | |||||
3. Rename the file to ProcessHacker.exe.settings.xml (delete the ".txt" | |||||
extension). | |||||
== Plugins == | |||||
Plugins can be configured from Hacker > Plugins. | |||||
If you experience any crashes involving plugins, make sure they | |||||
are up to date. | |||||
The ExtendedTools plugin is only available for Windows Vista and | |||||
above. Disk and Network information provided by this plugin is | |||||
only available when running Process Hacker with administrative | |||||
rights. | |||||
== KProcessHacker == | |||||
NOTE: The driver has been very generously signed by the | |||||
ReactOS Foundation (http://www.reactos.org). | |||||
Process Hacker uses a kernel-mode driver, KProcessHacker, to | |||||
assist with certain functionality. This includes: | |||||
* Bypassing security software and rootkits in limited ways | |||||
* More powerful process and thread termination (*) | |||||
* Setting DEP status of processes | |||||
* Capturing kernel-mode stack traces | |||||
* More efficiently enumerating process handles | |||||
* Retrieving names for file handles | |||||
* Retrieving names for EtwRegistration objects | |||||
* Setting handle attributes | |||||
The feature(s) marked with an asterisk (*) are NOT available on 64-bit | |||||
versions of Windows. | |||||
Certain features such as modifying process protection are disabled | |||||
in the released driver binary due to legal reasons. You can enable | |||||
them by building KProcessHacker with the "dirty" configuration. | |||||
Note that by default, KProcessHacker only allows connections from | |||||
processes with SeDebugPrivilege. To allow Process Hacker to show details | |||||
for all processes when it is not running as administrator: | |||||
1. In Registry Editor, navigate to: | |||||
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KProcessHacker2 | |||||
2. Under this key, create a key named Parameters if it does not exist. | |||||
3. Create a DWORD value named SecurityLevel and set it to 0. | |||||
4. Restart the KProcessHacker2 service (sc stop KProcessHacker2, | |||||
sc start KProcessHacker2). |
@ -0,0 +1,371 @@ | |||||
@echo OFF | |||||
for /f "usebackq delims=" %%A in (`DIR /B /A:d "%SYSTEMDRIVE%\Users" ^| findstr /V /I /X /c:"Public" /c:"Default User" /c:"Default" /c:"All Users"`) do ( | |||||
for /f "usebackq tokens=2 delims=\" %%B in (`reg query "HKEY_USERS" ^| findstr /c:"S-"`) do ( | |||||
for /f "usebackq tokens=2* delims= " %%C in (`reg query "HKU\%%B\Volatile Environment" /v "USERPROFILE" 2^>^&1 ^| findstr /R /X /C:".*USERPROFILE[ ]*REG_SZ[ ].*"`) do ( | |||||
REM IF errorlevel 5 CMD /C "exit /b 5" | |||||
if /i "%SYSTEMDRIVE%\Users\%%A"=="%%D" cmd /c "exit /b 5" | |||||
) | |||||
) | |||||
if not errorlevel 5 ( | |||||
reg query "HKEY_USERS" | findstr /c:"AME_UserHive_" | |||||
if not errorlevel 1 ( | |||||
for /f "usebackq tokens=1 delims=:" %%D in (`echo :^>NUL ^& ^(reg query "HKEY_USERS" ^| findstr /c:"AME_UserHive_" ^& echo AME-Placeholder^) ^| findstr /N /c:"AME-Placeholder"`) do ( | |||||
if exist "%SYSTEMDRIVE%\Users\%%A\NTUSER.DAT" ( | |||||
echo reg load "HKU\AME_UserHive_%%D" "%SYSTEMDRIVE%\Users\%%A\NTUSER.DAT" | |||||
reg load "HKU\AME_UserHive_%%D" "%SYSTEMDRIVE%\Users\%%A\NTUSER.DAT" | |||||
echo reg add "HKU\AME_UserHive_%%D\SOFTWARE\AME" /v "UserPath" /t REG_SZ /d "%SYSTEMDRIVE%\Users\%%A" /f | |||||
reg add "HKU\AME_UserHive_%%D\SOFTWARE\AME" /v "UserPath" /t REG_SZ /d "%SYSTEMDRIVE%\Users\%%A" /f | |||||
) | |||||
) | |||||
) else ( | |||||
if exist "%SYSTEMDRIVE%\Users\%%A\NTUSER.DAT" ( | |||||
echo reg load "HKU\AME_UserHive_1" "%SYSTEMDRIVE%\Users\%%A\NTUSER.DAT" | |||||
reg load "HKU\AME_UserHive_1" "%SYSTEMDRIVE%\Users\%%A\NTUSER.DAT" | |||||
echo reg add "HKU\AME_UserHive_1\SOFTWARE\AME" /v "UserPath" /t REG_SZ /d "%SYSTEMDRIVE%\Users\%%A" /f | |||||
reg add "HKU\AME_UserHive_1\SOFTWARE\AME" /v "UserPath" /t REG_SZ /d "%SYSTEMDRIVE%\Users\%%A" /f | |||||
) | |||||
) | |||||
) else ( | |||||
cmd /c "exit /b 0" | |||||
) | |||||
) | |||||
for /f "usebackq tokens=2 delims=\" %%E 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\%%E" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > NUL 2>&1 | |||||
if not errorlevel 1 ( | |||||
call :REGICALL "%%E" | |||||
) | |||||
) | |||||
@echo ON | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DownloadMode /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSync /t REG_DWORD /d 2 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSyncUserOverride /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" /v DisabledByGroupPolicy /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\EnhancedStorageDevices" /v TCGSecurityActivationDisabled /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v DisableFileSyncNGSC /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\safer\codeidentifiers" /v authenticodeenabled /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v DontSendAdditionalData /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /v NoGenTicket /t REG_DWORD /d 1 /f | |||||
:: Remove SecurityHealth from startup | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "SecurityHealth" /f | |||||
:: Turns off Windows blocking installation of files downloaded from the internet | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f | |||||
:: Disables SmartScreen | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SmartScreenEnabled /t REG_SZ /d "Off" /f | |||||
:: Remove Metadata Tracking | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /f | |||||
:: New Control Panel cleanup - List of commands: https://winaero.com/ms-settings-commands-in-windows-10/ | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v SettingsPageVisibility /t REG_SZ /d "showonly:display;nightlight;sound;notifications;quiethours;powersleep;batterysaver;tabletmode;multitasking;clipboard;remote-desktop;about;bluetooth;connecteddevices;printers;mousetouchpad;devices-touchpad;typing;pen;autoplay;usb;network-status;network-cellular;network-wifi;network-wificalling;network-wifisettings;network-ethernet;network-dialup;network-vpn;network-airplanemode;network-mobilehotspot;datausage;network-proxy;personalization-background;personalization-start;fonts;colors;lockscreen;themes;taskbar;defaultapps;videoplayback;startupapps;dateandtime;regionformatting;gaming;gamemode;easeofaccess-display;easeofaccess-colorfilter;easeofaccess-audio;easeofaccess-easeofaccess-narrator;easeofaccess-magnifier;easeofaccess-highcontrast;easeofaccess-closedcaptioning;easeofaccess-speechrecognition;easeofaccess-eyecontrol;easeofaccess-keyboard;easeofaccess-mouse;cortana-windowssearch;search-moredetails" /f | |||||
:: Decrease shutdown time | |||||
reg add "HKLM\SYSTEM\CurrentControlSet\Control" /v WaitToKillServiceTimeout /t REG_SZ /d 2000 /f | |||||
reg add "HKLM\SYSTEM\CurrentControlSet\Control" /v HungAppTimeout /t REG_SZ /d 2000 /f | |||||
reg add "HKLM\SYSTEM\CurrentControlSet\Control" /v AutoEndTasks /t REG_SZ /d 1 /f | |||||
:: Clean up the This PC Icon Selection | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" /f | |||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f | |||||
:: Disable Windows Error Reporting | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD d/1 /f | |||||
:: Enables full drive indexing (Enhanced Search) | |||||
cd Executables | |||||
NSudoLC -U:S -P:E -M:S -Priority:RealTime -UseCurrentConsole -Wait reg add "HKLM\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex" /v "EnableFindMyFiles" /t REG_DWORD /d 1 /f | |||||
:: Search | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowIndexingEncryptedStoresOrItems" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AlwaysUseAutoLangDetection" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCloudSearch" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Speech_OneCore\Preferences" /v "VoiceActivationDefaultOn" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Speech_OneCore\Preferences" /v "VoiceActivationEnableAboveLockscreen" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Speech_OneCore\Preferences" /v "ModelDownloadAllowed" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v "DisableVoice" /t REG_DWORD /d 1 /f | |||||
:: Firewall rules to prevent the startmenu from talking | |||||
reg add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Search SearchApp.exe" /t REG_SZ /d "v2.30|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe|Name=Block Search SearchUI.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|" /f | |||||
::reg add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Search Package" /t REG_SZ /d "v2.30|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|Name=Block Search Package|Desc=Block Search Outbound UDP/TCP Traffic|AppPkgId=S-1-15-2-536077884-713174666-1066051701-3219990555-339840825-1966734348-1611281757|Platform=2:6:2|Platform2=GTEQ|" /f | |||||
:: Disable Timeline | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableActivityFeed" /t REG_DWORD /d 0 /f | |||||
:: Setup Windows Explorer | |||||
reg delete "HKEY_CLASSES_ROOT\CABFolder\CLSID" /f | |||||
reg delete "HKEY_CLASSES_ROOT\SystemFileAssociations\.cab\CLSID" /f | |||||
reg delete "HKEY_CLASSES_ROOT\CompressedFolder\CLSID" /f | |||||
reg delete "HKEY_CLASSES_ROOT\SystemFileAssociations\.zip\CLSID" /f | |||||
:: Taskbar | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ImmersiveShell" /v UseActionCenterExperience /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideSCAHealth /t REG_DWORD /d 0x1 /f | |||||
:: Remove the Open with Paint 3D from the explorer context menu | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.bmp\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.jpeg\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.jpe\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.jpg\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.jpg\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.png\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.gif\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.tif\Shell\3D Edit" /f | |||||
reg delete "HKLM\SOFTWARE\Classes\SystemFileAssociations\.tiff\Shell\3D Edit" /f | |||||
:: Remove OneDrive from the Explorer Side Panel | |||||
reg delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f | |||||
reg delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f | |||||
:: Disable ActiveProbing/NCSI | |||||
:: reg add "HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v EnableActiveProbing /t REG_DWORD /d 0 /f | |||||
:: smb config | |||||
sc config lanmanworkstation depend= bowser/mrxsmb20/nsi | |||||
:: Set Time reference to UTC | |||||
reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /t REG_DWORD /d 1 /f | |||||
::Disable Users On Login Screen | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v dontdisplaylastusername /t REG_DWORD /d 1 /f | |||||
::Disable The Lock Screen | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v NoLockScreen /t REG_DWORD /d 1 /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f | |||||
:: Prevent NVCP not found message after installing NVIDIA drivers | |||||
reg add "HKLM\System\CurrentControlSet\Services\nvlddmkm" /f | |||||
reg add "HKLM\System\CurrentControlSet\Services\nvlddmkm\Global" /f | |||||
reg add "HKLM\System\CurrentControlSet\Services\nvlddmkm\Global\NVTweak" /f | |||||
reg add "HKLM\System\CurrentControlSet\Services\nvlddmkm\Global\NVTweak" /v "DisableStoreNvCplNotifications" /t REG_DWORD /d 1 /f | |||||
:: Fix black screen issue with new users | |||||
:: start NSudoLC -U:T -P:E -M:S -Priority:RealTime -Wait reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore" /f | |||||
:: Enable Legacy F8 Bootmenu | |||||
bcdedit /set {default} bootmenupolicy legacy | |||||
:: Disable Recovery | |||||
bcdedit /set {current} recoveryenabled no | |||||
:: Disable Hibernation to make NTFS accessable outside of Windows | |||||
powercfg /h off | |||||
:: Set Performance Plan to High Performance and display to never turn off | |||||
powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c | |||||
powercfg /change monitor-timeout-ac 0 | |||||
@exit /b 0 | |||||
:REGICALL | |||||
@echo ON | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 0 /f | |||||
:: Autorun | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 181 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v DisableAutoplay /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoAutorun /t REG_DWORD /d 1 /f | |||||
:: Adobe Security Improvements | |||||
reg add "HKU\%~1\SOFTWARE\Adobe" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\JSPrefs" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\JSPrefs" /v "bEnableJS" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\Originals" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\Originals" /v "bAllowOpenFile" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\Originals" /v "bSecureOpenFile" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\Privileged" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\Privileged" /v "bProtectedMode" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\TrustManager" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\TrustManager" /v "iProtectedView" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\TrustManager" /v "bEnhancedSecurityInBrowser" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\DC\TrustManager" /v "bEnhancedSecurityStandalone" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\JSPrefs" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\JSPrefs" /v "bEnableJS" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\Originals" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\Originals" /v "bAllowOpenFile" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\Originals" /v "bSecureOpenFile" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\Privileged" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\Privileged" /v "bProtectedMode" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\TrustManager" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\TrustManager" /v "iProtectedView" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\TrustManager" /v "bEnhancedSecurityInBrowser" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Adobe\Acrobat Reader\XI\TrustManager" /v "bEnhancedSecurityStandalone" /t REG_DWORD /d 1 /f | |||||
:: Office Security Improvements | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Excel" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Excel\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Excel\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Excel\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Excel\Security" /v "WorkbookLinkWarnings" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\PowerPoint" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\PowerPoint\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\PowerPoint\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\PowerPoint\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word\Options\vpref" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word\Options\vpref" /v "fNoCalclinksOnopen_90_1" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\12.0\Word\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel\Options" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Excel\Security" /v "WorkbookLinkWarnings" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\PowerPoint" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\PowerPoint\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\PowerPoint\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\PowerPoint\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Options" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Options\WordMail" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Options\WordMail" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\14.0\Word\Security" /v "AllowDDE" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel\Options" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Excel\Security" /v "WorkbookLinkWarnings" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\PowerPoint" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\PowerPoint\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\PowerPoint\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\PowerPoint\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Options" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Options\WordMail" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Options\WordMail" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\15.0\Word\Security" /v "AllowDDE" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel\Options" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Excel\Security" /v "WorkbookLinkWarnings" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\PowerPoint" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\PowerPoint\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\PowerPoint\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\PowerPoint\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Options" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Options" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Options\WordMail" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Options\WordMail" /v "DontUpdateLinks" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Security" /v "PackagerPrompt" /t REG_DWORD /d 2 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Security" /v "VBAWarnings" /t REG_DWORD /d 4 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\16.0\Word\Security" /v "AllowDDE" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\Common" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\Common\Security" /t REG_SZ /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Office\Common\Security" /v "DisableAllActiveX" /t REG_DWORD /d 1 /f | |||||
:: Turns off Windows blocking installation of files downloaded from the internet | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f | |||||
:: Disables SmartScreen | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v ContentEvaluation /t REG_DWORD /d 0 /f | |||||
:: Decrease shutdown time | |||||
reg add "HKU\%~1\Control Panel\Desktop" /v WaitToKillAppTimeOut /t REG_SZ /d 2000 /f | |||||
:: Disable Storage Sense | |||||
reg delete "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense" /f | |||||
:: Search | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "CortanaConsent" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "CortanaInAmbientMode" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "HistoryViewEnabled" /t REG_DWORD 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "HasAboveLockTips" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings" /v "SafeSearchMode" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableSearchBoxSuggestions" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\InputPersonalization" /v "RestrictImplicitTextCollection" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\InputPersonalization" /v "RestrictImplicitInkCollection" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" /v "AcceptedPrivacyPolicy" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" /v "HarvestContacts" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Personalization\Settings" /v "AcceptedPrivacyPolicy" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableSearchBoxSuggestions" /t REG_DWORD /d 1 /f | |||||
:: Setup Windows Explorer | |||||
:: Removes the shake to minimze all other windows gesture | |||||
::reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisallowShaking" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneShowAllFolders" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LaunchTo /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f | |||||
:: TBD | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V TaskbarGlomLevel /T REG_DWORD /D 2 /F | |||||
:: Taskbar | |||||
reg add "HKU\%~1\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v DisableNotificationCenter /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowCortanaButton /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowTaskViewButton /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideSCAMeetNow /t REG_DWORD /d 1 /f | |||||
:: Disable Security and Maintenance notifications | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance" /v "Enabled" /t REG_DWORD /d 0 /f | |||||
:: Disable configue backup notifications | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.BackupReminder" /v "Enabled" /t REG_DWORD /d 0 /f | |||||
@echo OFF | |||||
@exit /b 0 |
@ -0,0 +1,38 @@ | |||||
cd Executables\ProcessHacker\x64 | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject AppReadiness -caction stop | |||||
timeout /t 8 > NUL | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject AppReadiness -caction delete | |||||
timeout /t 2 > NUL | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject wuauserv -caction stop | |||||
timeout /t 8 > NUL | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject wuauserv -caction delete | |||||
timeout /t 8 > NUL | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject wuauserv -caction stop | |||||
timeout /t 8 > NUL | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject DoSvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject iphlpsvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject Winmgmt -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject ClipSVC -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject DiagTrack -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject RetailDemo -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject diagnosticshub.standardcollector.service -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject dmwappushservice -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject InstallService -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject LicenseManager -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject lfsvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject MapsBroker -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject NetTcpPortSharing -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject RemoteAccess -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject RemoteRegistry -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject SharedAccess -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject StorSvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject TrkWks -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject UsoSvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject WbioSrvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject WMPNetworkSvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject XblAuthManager -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject XblGameSave -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject XboxNetApiSvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject wlidsvc -caction stop | |||||
ProcessHacker.exe -elevate -s -c -ctype service -cobject ClipSVC -caction stop |
@ -0,0 +1,69 @@ | |||||
@echo OFF | |||||
:sfcCmdChecks | |||||
if not exist "%~dp0\sfc.cmd" ( | |||||
echo. & echo No supplied sfc.cmd detected | |||||
exit /b 2 | |||||
) | |||||
if exist "%SYSTEMROOT%\System32\sfc.cmd" ( | |||||
echo takeown /f "%SYSTEMROOT%\System32\sfc.cmd" /a | |||||
takeown /f "%SYSTEMROOT%\System32\sfc.cmd" /a | |||||
echo icacls "%SYSTEMROOT%\System32\sfc.cmd" /grant Administrators:F | |||||
icacls "%SYSTEMROOT%\System32\sfc.cmd" /grant Administrators:F | |||||
echo del /q /f "%SYSTEMROOT%\System32\sfc.cmd" | |||||
del /q /f "%SYSTEMROOT%\System32\sfc.cmd" | |||||
goto move | |||||
) else ( | |||||
goto move | |||||
) | |||||
:move | |||||
@echo on | |||||
move /y "%~dp0\sfc.cmd" "%SYSTEMROOT%\System32\" 1> NUL | |||||
:sfc1ExeCheck | |||||
@echo OFF | |||||
if exist "%SYSTEMROOT%\System32\sfc1.exe" ( | |||||
echo sfc1.exe already exists, assigning permissions... & echo. | |||||
echo PowerShell -NoP -C "Get-Acl '%SYSTEMROOT%\System32\diskmgmt.msc' | Set-Acl '%SYSTEMROOT%\System32\sfc1.exe'" ^> NUL 2^>^&1 | |||||
PowerShell -NoP -C "Get-Acl '%SYSTEMROOT%\System32\diskmgmt.msc' | Set-Acl '%SYSTEMROOT%\System32\sfc1.exe'" > NUL 2>&1 | |||||
echo PowerShell -NoP -C "Get-Acl '%SYSTEMROOT%\System32\diskmgmt.msc' | Set-Acl '%SYSTEMROOT%\System32\sfc.cmd'" ^> NUL 2^>^&1 | |||||
PowerShell -NoP -C "Get-Acl '%SYSTEMROOT%\System32\diskmgmt.msc' | Set-Acl '%SYSTEMROOT%\System32\sfc.cmd'" > NUL 2>&1 | |||||
@echo OFF | |||||
goto complete | |||||
) else ( | |||||
goto managePermissions | |||||
) | |||||
:managePermissions | |||||
echo Assigning permissions and renaming sfc.exe... & echo. | |||||
@echo ON | |||||
:: Copies the ACL from diskmgmt.msc to sfc.cmd. | |||||
PowerShell -NoP -C "Get-Acl '%SYSTEMROOT%\System32\diskmgmt.msc' | Set-Acl '%SYSTEMROOT%\System32\sfc.cmd'" > NUL 2>&1 | |||||
:: Gives the Administrator group full access for renaming sfc.exe to sfc1.exe. | |||||
takeown /f "%SYSTEMROOT%\System32\sfc.exe" /a > NUL 2>&1 | |||||
icacls "%SYSTEMROOT%\System32\sfc.exe" /grant Administrators:F > NUL 2>&1 | |||||
goto renameSFCExe | |||||
:renameSFCExe | |||||
rename "%SYSTEMROOT%\System32\sfc.exe" "sfc1.exe" > NUL 2>&1 | |||||
:: Copies the ACL from diskmgmt.msc to sfc1.exe. Essentially resetting its ACL. | |||||
PowerShell -NoP -C "Get-Acl '%SYSTEMROOT%\System32\diskmgmt.msc' | Set-Acl '%SYSTEMROOT%\System32\sfc1.exe'" > NUL 2>&1 | |||||
goto complete | |||||
:complete | |||||
@echo Successfully deployed sfc modification. | |||||
@exit /b 0 |
@ -0,0 +1,20 @@ | |||||
cd Executables | |||||
@echo OFF | |||||
for /f "usebackq delims=" %%A in (`dir /B /A:d "%SYSTEMDRIVE%\Users" ^| findstr /V /I /X /c:"Public" /c:"Default User" /c:"Default" /c:"All Users"`) do ( | |||||
echo mkdir "%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell" | |||||
mkdir "%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell" | |||||
echo mkdir "%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned" | |||||
mkdir "%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned" | |||||
echo PowerShell -NoP -C "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned\Windows Terminal.lnk'); $S.TargetPath = '%PROGRAMFILES%\Scoop\GlobalScoopApps\apps\windows-terminal\current\WindowsTerminal.exe'; $S.Save(); $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned\Mozilla Thunderbird.lnk'); $S.TargetPath = '%HOMEDRIVE%\Program Files\Mozilla Thunderbird\thunderbird.exe'; $S.WorkingDirectory = 'C:\Program Files\Mozilla Thunderbird'; $S.Save(); $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned\Firefox.lnk'); $S.TargetPath = '%HOMEDRIVE%\Program Files\Mozilla Firefox\firefox.exe'; $S.WorkingDirectory = 'C:\Program Files\Mozilla Firefox'; $S.Save()" | |||||
PowerShell -NoP -C "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned\Windows Terminal.lnk'); $S.TargetPath = '%PROGRAMFILES%\Scoop\GlobalScoopApps\apps\windows-terminal\current\WindowsTerminal.exe'; $S.Save(); $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned\Mozilla Thunderbird.lnk'); $S.TargetPath = '%HOMEDRIVE%\Program Files\Mozilla Thunderbird\thunderbird.exe'; $S.WorkingDirectory = 'C:\Program Files\Mozilla Thunderbird'; $S.Save(); $s = $ws.CreateShortcut('%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\OpenShell\Pinned\Firefox.lnk'); $S.TargetPath = '%HOMEDRIVE%\Program Files\Mozilla Firefox\firefox.exe'; $S.WorkingDirectory = 'C:\Program Files\Mozilla Firefox'; $S.Save()" | |||||
echo del /q /f "%SYSTEMDRIVE%\Users\%%A\Desktop\Microsoft Edge.lnk" | |||||
del /q /f "%SYSTEMDRIVE%\Users\%%A\Desktop\Microsoft Edge.lnk" | |||||
echo del /q /f "%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" | |||||
del /q /f "%SYSTEMDRIVE%\Users\%%A\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" | |||||
) | |||||
@echo ON | |||||
del /q /f "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player.lnk" |
@ -0,0 +1,67 @@ | |||||
cd Executables | |||||
@echo OFF | |||||
if exist OldCalculatorforWindows10Cfg.exe ( | |||||
echo del /q /f OldCalculatorforWindows10Cfg.exe | |||||
del /q /f OldCalculatorforWindows10Cfg.exe | |||||
echo del /q /f readme.txt | |||||
del /q /f readme.txt | |||||
echo rmdir /q /s "silent_installers" | |||||
rmdir /q /s "silent_installers" | |||||
echo rmdir /q /s "OldNewExplorer" | |||||
rmdir /q /s "OldNewExplorer" | |||||
echo rmdir /q /s "%ALLUSERSPROFILE%\OldNewExplorer | |||||
rmdir /q /s "%ALLUSERSPROFILE%\OldNewExplorer | |||||
) | |||||
@echo ON | |||||
7za.exe e silent_installers.7z -pwizard | |||||
mkdir "%ALLUSERSPROFILE%\OldNewExplorer" | |||||
move /y OldNewExplorer32.dll "%ALLUSERSPROFILE%\OldNewExplorer" | |||||
move /y OldNewExplorer64.dll "%ALLUSERSPROFILE%\OldNewExplorer" | |||||
move /y OldNewExplorerCfg.exe "%ALLUSERSPROFILE%\OldNewExplorer" | |||||
icacls "%ALLUSERSPROFILE%\OldNewExplorer" /reset /t | |||||
NSudoLC -U:S -P:E -M:S -Priority:RealTime -UseCurrentConsole -Wait cmd /c "del /q /f """"%WINDIR%\System32\calc.exe""""" | |||||
PowerShell -NoP -C "Invoke-WMIMethod -Class Win32_Process -Name Create -ArgumentList '%~dp0\OldCalculatorforWindows10Cfg.exe'" | |||||
NSudoLC -U:E -P:E -M:S -Priority:RealTime -UseCurrentConsole -Wait PowerShell -NoP -C "Start-Process '%ALLUSERSPROFILE%\OldNewExplorer\OldNewExplorerCfg.exe' -WorkingDirectory '%ALLUSERSPROFILE%\OldNewExplorer'; Sleep 2; $wshell = New-Object -ComObject wscript.shell; $wshell.AppActivate('OldNewExplorer configuration'); Sleep 1; $wshell.SendKeys('~'); Sleep 8; taskkill /im OldNewExplorerCfg.exe" | |||||
@echo OFF | |||||
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Old Calculator.lnk" ( | |||||
echo rename "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Old Calculator.lnk" "Calculator.lnk" | |||||
rename "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Old Calculator.lnk" "Calculator.lnk" | |||||
) else ( | |||||
echo timeout /t 10 ^> NUL | |||||
timeout /t 10 > NUL | |||||
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Old Calculator.lnk" echo rename "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Old Calculator.lnk" "Calculator.lnk" & rename "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Old Calculator.lnk" "Calculator.lnk" | |||||
) | |||||
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 call :SLNTCALL "%%A" | |||||
) | |||||
exit /b 0 | |||||
:SLNTCALL | |||||
@echo ON | |||||
::Configure OldNewExplorer" | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy" /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "Details" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "DriveGrouping" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "HideFolders" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "IEButtons" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "NavBarGlass" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "NoCaption" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "NoIcon" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "NoRibbon" /t REG_DWORD /d 1 /f | |||||
reg add "HKU\%~1\SOFTWARE\Tihiy\OldNewExplorer" /v "NoUpButton" /t REG_DWORD /d 0 /f | |||||
@echo OFF | |||||
exit /b 0 |
@ -0,0 +1,33 @@ | |||||
cd Executables | |||||
@if exist "%SYSTEMDRIVE%\Windows\StartMenuLayout.xml" echo del /q /f "%SYSTEMDRIVE%\Windows\StartMenuLayout.xml" & del /q /f "%SYSTEMDRIVE%\Windows\StartMenuLayout.xml" | |||||
copy /y "Layout.xml" "%SYSTEMDRIVE%\Windows\StartMenuLayout.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 "HKEY_USERS\%%A" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > NUL 2>&1 | |||||
if not errorlevel 1 ( | |||||
for /f "usebackq tokens=3* delims= " %%B in (`reg query "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Local AppData" 2^>^&1 ^| findstr /R /X /C:".*Local AppData[ ]*REG_SZ[ ].*"`) do ( | |||||
echo copy /y "Layout.xml" "%%C\Microsoft\Windows\Shell\LayoutModification.xml" | |||||
copy /y "Layout.xml" "%%C\Microsoft\Windows\Shell\LayoutModification.xml" | |||||
) | |||||
echo reg add "HKU\%%A\SOFTWARE\Policies\Microsoft\Windows\Explorer" /f | |||||
reg add "HKU\%%A\SOFTWARE\Policies\Microsoft\Windows\Explorer" /f | |||||
echo reg add "HKU\%%A\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "LockedStartLayout" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%%A\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "LockedStartLayout" /t REG_DWORD /d 0 /f | |||||
echo reg add "HKU\%%A\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "StartLayoutFile" /t REG_SZ /d "C:\Windows\StartMenuLayout.xml" /f | |||||
reg add "HKU\%%A\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "StartLayoutFile" /t REG_SZ /d "C:\Windows\StartMenuLayout.xml" /f | |||||
for /f "usebackq delims=" %%C in (`reg query "HKU\%%A\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount" ^| findstr /c:"start.tilegrid"`) do ( | |||||
echo reg delete "%%C" /f | |||||
reg delete "%%C" /f | |||||
) | |||||
) | |||||
) | |||||
@echo ON | |||||
PowerShell -NoP -C "Import-StartLayout -LayoutPath '%SYSTEMDRIVE%\Windows\StartMenuLayout.xml' -MountPath $env:SystemDrive\\" | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /f | |||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "StartLayoutFile" /t REG_SZ /d "%SYSTEMDRIVE%\Windows\StartMenuLayout.xml" /f |
@ -0,0 +1,34 @@ | |||||
cd Executables | |||||
@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 :UICALL "%%A" | |||||
) | |||||
@echo ON | |||||
PowerShell -NoP -C "Start-Process 'ep_setup-22000.795.48.1.exe' -NoNewWindow -Wait" | |||||
@exit /b 0 | |||||
:UICALL | |||||
@echo ON | |||||
reg add "HKU\%~1\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f | |||||
reg add "HKU\%~1\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /t REG_SZ /f | |||||
reg add "HKU\%~1\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_ShowClassicMode" /t REG_DWORD /D 1 /f | |||||
reg add "HKU\%~1\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /D 0 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "OldTaskbar" /t REG_DWORD /D 1 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "UpdatePolicy" /t REG_DWORD /D 2 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "EnableSymbolDownload" /t REG_DWORD /D 0 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "HideControlCenterButton" /t REG_DWORD /D 1 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "StartDocked_DisableRecommendedSection" /t REG_DWORD /D 1 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "TaskbarGlomLevel" /t REG_DWORD /D 0 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "MMTaskbarGlomLevel" /t REG_DWORD /D 0 /f | |||||
reg add "HKU\%~1\ExplorerPatcher" /v "OrbStyle" /t REG_DWORD /D 1 /f | |||||
@echo OFF | |||||
exit /b 0 |
@ -0,0 +1,4 @@ | |||||
DISM.exe /Online /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1645.1.11 /quiet /norestart | |||||
DISM.exe /Online /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1586.1.7 /quiet /norestart | |||||
sc config wuauserv start= disabled | |||||
sc stop wuauserv |
@ -0,0 +1 @@ | |||||
timeout /t 3 /nobreak |
@ -0,0 +1,111 @@ | |||||
cd Executables | |||||
@echo OFF | |||||
set "RunEC=10" | |||||
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"S-" /c:"AME_UserHive_"`) do ( | |||||
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 :WALLRUN "%%A" "%%C" | |||||
IF errorlevel 5 set "RunEC=5" | |||||
IF errorlevel 4 set "RunEC=4" | |||||
IF errorlevel 3 set "RunEC=3" | |||||
IF errorlevel 2 set "RunEC=2" | |||||
IF errorlevel 1 set "RunEC=1" | |||||
IF errorlevel 0 set "RunEC=0" | |||||
) | |||||
) | |||||
for /f "usebackq tokens=2 delims=\" %%A in (`reg query "HKEY_USERS" ^| findstr /c:"AME_UserHive_"`) do echo reg unload "%%A" & reg unload "%%A" | |||||
exit /b %RunEC% | |||||
:WALLRUN | |||||
if not exist "%WINDIR%\Web\Wallpaper\Windows" echo mkdir "%WINDIR%\Web\Wallpaper\Windows" & mkdir "%WINDIR%\Web\Wallpaper\Windows" | |||||
if exist "%~2\Microsoft\Windows\Themes\Transcoded_000" set "wallChanged=true" & goto lockScreen | |||||
if not exist "%~2\Microsoft\Windows\Themes\TranscodedWallpaper" set "wallFail=true" & goto lockScreen | |||||
echo PowerShell -NoP -C "Add-Type -AssemblyName System.Drawing; $img = New-Object System.Drawing.Bitmap '%~2\Microsoft\Windows\Themes\TranscodedWallpaper'; if ($img.Flags -ne 77840) {exit 1}; if ($img.HorizontalResolution -ne 96) {exit 1}; if ($img.VerticalResolution -ne 96) {exit 1}; if ($img.PropertyIdList -notcontains 40961) {exit 1}; if ($img.PropertyIdList -notcontains 20624) {exit 1}; if ($img.PropertyIdList -notcontains 20625) {exit 1}" | |||||
PowerShell -NoP -C "Add-Type -AssemblyName System.Drawing; $img = New-Object System.Drawing.Bitmap '%~2\Microsoft\Windows\Themes\TranscodedWallpaper'; if ($img.Flags -ne 77840) {exit 1}; if ($img.HorizontalResolution -ne 96) {exit 1}; if ($img.VerticalResolution -ne 96) {exit 1}; if ($img.PropertyIdList -notcontains 40961) {exit 1}; if ($img.PropertyIdList -notcontains 20624) {exit 1}; if ($img.PropertyIdList -notcontains 20625) {exit 1}" | |||||
if %errorlevel% NEQ 0 set "wallChanged=true" & goto lockScreen | |||||
if exist "img0_*" ( | |||||
echo takeown /f "%WINDIR%\Web\4K\Wallpaper\Windows\*.jpg" | |||||
takeown /f "%WINDIR%\Web\4K\Wallpaper\Windows\*.jpg" | |||||
echo icacls "%WINDIR%\Web\4K\Wallpaper\Windows\*.jpg" /reset | |||||
icacls "%WINDIR%\Web\4K\Wallpaper\Windows\*.jpg" /reset | |||||
echo move /y img0_*.jpg "%WINDIR%\Web\4K\Wallpaper\Windows" | |||||
move /y img0_*.jpg "%WINDIR%\Web\4K\Wallpaper\Windows" | |||||
) | |||||
if exist "img0.jpg" ( | |||||
echo takeown /f "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" | |||||
takeown /f "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" | |||||
echo icacls "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" /reset | |||||
icacls "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" /reset | |||||
echo move /y "img0.jpg" "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" | |||||
move /y "img0.jpg" "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" | |||||
) | |||||
if exist "ame_wallpaper_1440.bmp" ( | |||||
echo move /y "ame_wallpaper_1440.bmp" "%WINDIR%\Web\Wallpaper\Windows" | |||||
move /y "ame_wallpaper_1440.bmp" "%WINDIR%\Web\Wallpaper\Windows" | |||||
echo icacls "%WINDIR%\Web\Wallpaper\Windows\ame_wallpaper_1440.bmp" /reset | |||||
icacls "%WINDIR%\Web\Wallpaper\Windows\ame_wallpaper_1440.bmp" /reset | |||||
) | |||||
if not exist "%WINDIR%\Web\Wallpaper\Windows\ame_wallpaper_1440.bmp" set "wallFail=true" & goto lockScreen | |||||
echo reg add "HKEY_USERS\%~1\Control Panel\Desktop" /v WallPaper /t REG_SZ /d "%WINDIR%\Web\Wallpaper\Windows\ame_wallpaper_1440.bmp" /f | |||||
reg add "HKEY_USERS\%~1\Control Panel\Desktop" /v WallPaper /t REG_SZ /d "%WINDIR%\Web\Wallpaper\Windows\ame_wallpaper_1440.bmp" /f | |||||
if %errorlevel% NEQ 0 set "wallFail=true" & goto lockScreen | |||||
:lockScreen | |||||
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\%~1" /v "RotatingLockScreen*" > NUL 2>&1 | |||||
if %errorlevel% NEQ 0 ( | |||||
echo reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\%~1" /v "RotatingLockScreenEnabled" /t REG_DWORD /d 0 /f | |||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\%~1" /v "RotatingLockScreenEnabled" /t REG_DWORD /d 0 /f | |||||
echo reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "RotatingLockScreenEnabled" /t REG_DWORD /d 0 /f | |||||
reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "RotatingLockScreenEnabled" /t REG_DWORD /d 0 /f | |||||
if exist "img100.jpg" ( | |||||
echo takeown /f "%WINDIR%\Web\Screen\img100.jpg" | |||||
takeown /f "%WINDIR%\Web\Screen\img100.jpg" | |||||
echo icacls "%WINDIR%\Web\Screen\img100.jpg" /reset | |||||
icacls "%WINDIR%\Web\Screen\img100.jpg" /reset | |||||
echo copy "img100.jpg" "%WINDIR%\Web\Screen\img100.jpg" /Y | |||||
copy "img100.jpg" "%WINDIR%\Web\Screen\img100.jpg" /Y | |||||
) | |||||
if exist "img103.png" ( | |||||
echo takeown /f "%WINDIR%\Web\Screen\img103.png" | |||||
takeown /f "%WINDIR%\Web\Screen\img103.png" | |||||
echo icacls "%WINDIR%\Web\Screen\img103.png" /reset | |||||
icacls "%WINDIR%\Web\Screen\img103.png" /reset | |||||
echo copy "img103.png" "%WINDIR%\Web\Screen\img103.png" /Y | |||||
copy "img103.png" "%WINDIR%\Web\Screen\img103.png" /Y | |||||
) | |||||
if exist "img0.jpg" ( | |||||
echo takeown /f "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" | |||||
takeown /f "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" | |||||
echo icacls "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" /reset | |||||
icacls "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" /reset | |||||
echo copy "img0.jpg" "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" /Y | |||||
copy "img0.jpg" "%WINDIR%\Web\Wallpaper\Windows\img0.jpg" /Y | |||||
) | |||||
REM Clear cache | |||||
echo takeown /R /D Y /F "%PROGRAMDATA%\Microsoft\Windows\SystemData" | |||||
takeown /R /D Y /F "%PROGRAMDATA%\Microsoft\Windows\SystemData" | |||||
echo icacls "%PROGRAMDATA%\Microsoft\Windows\SystemData" /reset /t | |||||
icacls "%PROGRAMDATA%\Microsoft\Windows\SystemData" /reset /t | |||||
for /d %%A in ("%PROGRAMDATA%\Microsoft\Windows\SystemData\*") do ( | |||||
for /d %%B in ("%%A\ReadOnly\LockScreen_*") do echo rmdir /q /s "%%B" & rmdir /q /s "%%B" | |||||
) | |||||
if "%wallChanged%"=="true" exit /b 1 | |||||
if "%wallFail%"=="true" exit /b 4 | |||||
) else ( | |||||
if "%wallChanged%"=="true" exit /b 3 | |||||
if "%wallFail%"=="true" exit /b 5 | |||||
exit /b 2 | |||||
) | |||||
exit /b 0 |
@ -0,0 +1,3 @@ | |||||
cd Executables | |||||
@PowerShell -NoP -ExecutionPolicy Bypass -File scoop.ps1 |
@ -0,0 +1,255 @@ | |||||
function Get-Hash { | |||||
[CmdletBinding()] | |||||
param ( | |||||
[Parameter( Position = 0, Mandatory = $True )] | |||||
[string] | |||||
$BaseInfo | |||||
) | |||||
function local:Get-ShiftRight { | |||||
[CmdletBinding()] | |||||
param ( | |||||
[Parameter( Position = 0, Mandatory = $true)] | |||||
[long] $iValue, | |||||
[Parameter( Position = 1, Mandatory = $true)] | |||||
[int] $iCount | |||||
) | |||||
if ($iValue -band 0x80000000) { | |||||
Write-Output (( $iValue -shr $iCount) -bxor 0xFFFF0000) | |||||
} | |||||
else { | |||||
Write-Output ($iValue -shr $iCount) | |||||
} | |||||
} | |||||
function local:Get-Long { | |||||
[CmdletBinding()] | |||||
param ( | |||||
[Parameter( Position = 0, Mandatory = $true)] | |||||
[byte[]] $Bytes, | |||||
[Parameter( Position = 1)] | |||||
[int] $Index = 0 | |||||
) | |||||
Write-Output ([BitConverter]::ToInt32($Bytes, $Index)) | |||||
} | |||||
function local:Convert-Int32 { | |||||
param ( | |||||
[Parameter( Position = 0, Mandatory = $true)] | |||||
$Value | |||||
) | |||||
[byte[]] $bytes = [BitConverter]::GetBytes($Value) | |||||
return [BitConverter]::ToInt32( $bytes, 0) | |||||
} | |||||
[Byte[]] $bytesBaseInfo = [System.Text.Encoding]::Unicode.GetBytes($baseInfo) | |||||
$bytesBaseInfo += 0x00, 0x00 | |||||
$MD5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider | |||||
[Byte[]] $bytesMD5 = $MD5.ComputeHash($bytesBaseInfo) | |||||
$lengthBase = ($baseInfo.Length * 2) + 2 | |||||
$length = (($lengthBase -band 4) -le 1) + (Get-ShiftRight $lengthBase 2) - 1 | |||||
$base64Hash = "" | |||||
if ($length -gt 1) { | |||||
$map = @{PDATA = 0; CACHE = 0; COUNTER = 0 ; INDEX = 0; MD51 = 0; MD52 = 0; OUTHASH1 = 0; OUTHASH2 = 0; | |||||
R0 = 0; R1 = @(0, 0); R2 = @(0, 0); R3 = 0; R4 = @(0, 0); R5 = @(0, 0); R6 = @(0, 0); R7 = @(0, 0) | |||||
} | |||||
$map.CACHE = 0 | |||||
$map.OUTHASH1 = 0 | |||||
$map.PDATA = 0 | |||||
$map.MD51 = (((Get-Long $bytesMD5) -bor 1) + 0x69FB0000L) | |||||
$map.MD52 = ((Get-Long $bytesMD5 4) -bor 1) + 0x13DB0000L | |||||
$map.INDEX = Get-ShiftRight ($length - 2) 1 | |||||
$map.COUNTER = $map.INDEX + 1 | |||||
while ($map.COUNTER) { | |||||
$map.R0 = Convert-Int32 ((Get-Long $bytesBaseInfo $map.PDATA) + [long]$map.OUTHASH1) | |||||
$map.R1[0] = Convert-Int32 (Get-Long $bytesBaseInfo ($map.PDATA + 4)) | |||||
$map.PDATA = $map.PDATA + 8 | |||||
$map.R2[0] = Convert-Int32 (($map.R0 * ([long]$map.MD51)) - (0x10FA9605L * ((Get-ShiftRight $map.R0 16)))) | |||||
$map.R2[1] = Convert-Int32 ((0x79F8A395L * ([long]$map.R2[0])) + (0x689B6B9FL * (Get-ShiftRight $map.R2[0] 16))) | |||||
$map.R3 = Convert-Int32 ((0xEA970001L * $map.R2[1]) - (0x3C101569L * (Get-ShiftRight $map.R2[1] 16) )) | |||||
$map.R4[0] = Convert-Int32 ($map.R3 + $map.R1[0]) | |||||
$map.R5[0] = Convert-Int32 ($map.CACHE + $map.R3) | |||||
$map.R6[0] = Convert-Int32 (($map.R4[0] * [long]$map.MD52) - (0x3CE8EC25L * (Get-ShiftRight $map.R4[0] 16))) | |||||
$map.R6[1] = Convert-Int32 ((0x59C3AF2DL * $map.R6[0]) - (0x2232E0F1L * (Get-ShiftRight $map.R6[0] 16))) | |||||
$map.OUTHASH1 = Convert-Int32 ((0x1EC90001L * $map.R6[1]) + (0x35BD1EC9L * (Get-ShiftRight $map.R6[1] 16))) | |||||
$map.OUTHASH2 = Convert-Int32 ([long]$map.R5[0] + [long]$map.OUTHASH1) | |||||
$map.CACHE = ([long]$map.OUTHASH2) | |||||
$map.COUNTER = $map.COUNTER - 1 | |||||
} | |||||
[Byte[]] $outHash = @(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) | |||||
[byte[]] $buffer = [BitConverter]::GetBytes($map.OUTHASH1) | |||||
$buffer.CopyTo($outHash, 0) | |||||
$buffer = [BitConverter]::GetBytes($map.OUTHASH2) | |||||
$buffer.CopyTo($outHash, 4) | |||||
$map = @{PDATA = 0; CACHE = 0; COUNTER = 0 ; INDEX = 0; MD51 = 0; MD52 = 0; OUTHASH1 = 0; OUTHASH2 = 0; | |||||
R0 = 0; R1 = @(0, 0); R2 = @(0, 0); R3 = 0; R4 = @(0, 0); R5 = @(0, 0); R6 = @(0, 0); R7 = @(0, 0) | |||||
} | |||||
$map.CACHE = 0 | |||||
$map.OUTHASH1 = 0 | |||||
$map.PDATA = 0 | |||||
$map.MD51 = ((Get-Long $bytesMD5) -bor 1) | |||||
$map.MD52 = ((Get-Long $bytesMD5 4) -bor 1) | |||||
$map.INDEX = Get-ShiftRight ($length - 2) 1 | |||||
$map.COUNTER = $map.INDEX + 1 | |||||
while ($map.COUNTER) { | |||||
$map.R0 = Convert-Int32 ((Get-Long $bytesBaseInfo $map.PDATA) + ([long]$map.OUTHASH1)) | |||||
$map.PDATA = $map.PDATA + 8 | |||||
$map.R1[0] = Convert-Int32 ($map.R0 * [long]$map.MD51) | |||||
$map.R1[1] = Convert-Int32 ((0xB1110000L * $map.R1[0]) - (0x30674EEFL * (Get-ShiftRight $map.R1[0] 16))) | |||||
$map.R2[0] = Convert-Int32 ((0x5B9F0000L * $map.R1[1]) - (0x78F7A461L * (Get-ShiftRight $map.R1[1] 16))) | |||||
$map.R2[1] = Convert-Int32 ((0x12CEB96DL * (Get-ShiftRight $map.R2[0] 16)) - (0x46930000L * $map.R2[0])) | |||||
$map.R3 = Convert-Int32 ((0x1D830000L * $map.R2[1]) + (0x257E1D83L * (Get-ShiftRight $map.R2[1] 16))) | |||||
$map.R4[0] = Convert-Int32 ([long]$map.MD52 * ([long]$map.R3 + (Get-Long $bytesBaseInfo ($map.PDATA - 4)))) | |||||
$map.R4[1] = Convert-Int32 ((0x16F50000L * $map.R4[0]) - (0x5D8BE90BL * (Get-ShiftRight $map.R4[0] 16))) | |||||
$map.R5[0] = Convert-Int32 ((0x96FF0000L * $map.R4[1]) - (0x2C7C6901L * (Get-ShiftRight $map.R4[1] 16))) | |||||
$map.R5[1] = Convert-Int32 ((0x2B890000L * $map.R5[0]) + (0x7C932B89L * (Get-ShiftRight $map.R5[0] 16))) | |||||
$map.OUTHASH1 = Convert-Int32 ((0x9F690000L * $map.R5[1]) - (0x405B6097L * (Get-ShiftRight ($map.R5[1]) 16))) | |||||
$map.OUTHASH2 = Convert-Int32 ([long]$map.OUTHASH1 + $map.CACHE + $map.R3) | |||||
$map.CACHE = ([long]$map.OUTHASH2) | |||||
$map.COUNTER = $map.COUNTER - 1 | |||||
} | |||||
$buffer = [BitConverter]::GetBytes($map.OUTHASH1) | |||||
$buffer.CopyTo($outHash, 8) | |||||
$buffer = [BitConverter]::GetBytes($map.OUTHASH2) | |||||
$buffer.CopyTo($outHash, 12) | |||||
[Byte[]] $outHashBase = @(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) | |||||
$hashValue1 = ((Get-Long $outHash 8) -bxor (Get-Long $outHash)) | |||||
$hashValue2 = ((Get-Long $outHash 12) -bxor (Get-Long $outHash 4)) | |||||
$buffer = [BitConverter]::GetBytes($hashValue1) | |||||
$buffer.CopyTo($outHashBase, 0) | |||||
$buffer = [BitConverter]::GetBytes($hashValue2) | |||||
$buffer.CopyTo($outHashBase, 4) | |||||
$base64Hash = [Convert]::ToBase64String($outHashBase) | |||||
} | |||||
Write-Output $base64Hash | |||||
} | |||||
function Get-Time { | |||||
$now = [DateTime]::Now | |||||
$dateTime = [DateTime]::New($now.Year, $now.Month, $now.Day, $now.Hour, $now.Minute, 0) | |||||
$fileTime = $dateTime.ToFileTime() | |||||
$hi = ($fileTime -shr 32) | |||||
$low = ($fileTime -band 0xFFFFFFFFL) | |||||
$dateTimeHex = ($hi.ToString("X8") + $low.ToString("X8")).ToLower() | |||||
Write-Output $dateTimeHex | |||||
} | |||||
function Delete-UserChoiceKey { | |||||
param ( | |||||
[Parameter( Position = 0, Mandatory = $True )] | |||||
[String] | |||||
$Key | |||||
) | |||||
$code = @' | |||||
using System; | |||||
using System.Runtime.InteropServices; | |||||
using Microsoft.Win32; | |||||
namespace Registry { | |||||
public class Utils { | |||||
[DllImport("advapi32.dll", SetLastError = true)] | |||||
private static extern int RegOpenKeyEx(UIntPtr hKey, string subKey, int ulOptions, int samDesired, out UIntPtr hkResult); | |||||
[DllImport("advapi32.dll", SetLastError=true, CharSet = CharSet.Unicode)] | |||||
private static extern uint RegDeleteKey(UIntPtr hKey, string subKey); | |||||
public static void DeleteKey(string key) { | |||||
UIntPtr hKey = UIntPtr.Zero; | |||||
RegOpenKeyEx((UIntPtr)0x80000003u, key, 0, 0x20019, out hKey); | |||||
RegDeleteKey((UIntPtr)0x80000003u, key); | |||||
} | |||||
} | |||||
} | |||||
'@ | |||||
Add-Type -TypeDefinition $code | |||||
[Registry.Utils]::DeleteKey($Key) | |||||
} | |||||
$userExperienceSearch = "User Choice set via Windows User Experience" | |||||
$user32Path = [Environment]::GetFolderPath([Environment+SpecialFolder]::SystemX86) + "\Shell32.dll" | |||||
$fileStream = [System.IO.File]::Open($user32Path, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read, [System.IO.FileShare]::ReadWrite) | |||||
$binaryReader = New-Object System.IO.BinaryReader($fileStream) | |||||
[Byte[]] $bytesData = $binaryReader.ReadBytes(5mb) | |||||
$fileStream.Close() | |||||
$dataString = [Text.Encoding]::Unicode.GetString($bytesData) | |||||
$position1 = $dataString.IndexOf($userExperienceSearch) | |||||
$position2 = $dataString.IndexOf("}", $position1) | |||||
$userExperience = $dataString.Substring($position1, $position2 - $position1 + 1) | |||||
$SID = $args[0] | |||||
$Hive = $args[1] | |||||
Write-Host "Setting file associations for HKEY_USERS\$Hive..." | |||||
New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS | Out-Null | |||||
If (-NOT (Test-Path "HKU:\$Hive\SOFTWARE\Clients")) { | |||||
New-Item -Path "HKU:\$Hive\SOFTWARE\Clients" -Force | Out-Null | |||||
} | |||||
If (-NOT (Test-Path "HKU:\$Hive\SOFTWARE\Clients\StartMenuInternet")) { | |||||
New-Item -Path "HKU:\$Hive\SOFTWARE\Clients\StartMenuInternet" -Force | Out-Null | |||||
} | |||||
Get-Item -Path "HKLM:\SOFTWARE\Clients\StartMenuInternet\*" | | |||||
ForEach-Object { | |||||
Copy-Item -Path "$($_.PSPath)" -Destination "HKU:\$Hive\SOFTWARE\Clients\StartMenuInternet" -Force -Recurse | Out-Null | |||||
} | |||||
for ($i = 2; $i -lt $args.Length; $i++) { | |||||
$splitArg = $args[$i] -split ":" | |||||
if ($splitArg[0] -eq "Proto") { | |||||
If (-NOT (Test-Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\$($splitArg[1])")) { | |||||
New-Item -Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\$($splitArg[1])" -Force | Out-Null | |||||
} | |||||
If (Test-Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\$($splitArg[1])\UserChoice") { | |||||
Delete-UserChoiceKey "$Hive\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\$($splitArg[1])\UserChoice" | Out-Null | |||||
} | |||||
New-ItemProperty -Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$($splitArg[2])_$($splitArg[1])" -PropertyType DWORD -Value 0 -Force | Out-Null | |||||
$dateTimeHex = Get-Time | |||||
$hash = Get-Hash "$($splitArg[1])$SID$($splitArg[2])$dateTimeHex$userExperience".ToLower() | |||||
[Microsoft.Win32.Registry]::SetValue("HKEY_USERS\$Hive\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\$($splitArg[1])\UserChoice", "Hash", $hash) | |||||
[Microsoft.Win32.Registry]::SetValue("HKEY_USERS\$Hive\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\$($splitArg[1])\UserChoice", "ProgId", "$($splitArg[2])") | |||||
} else { | |||||
If (-NOT (Test-Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$($splitArg[0])")) { | |||||
New-Item -Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$($splitArg[0])" -Force | Out-Null | |||||
} | |||||
If (Test-Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$($splitArg[0])\UserChoice") { | |||||
Delete-UserChoiceKey "$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$($splitArg[0])\UserChoice" | |||||
} | |||||
New-ItemProperty -Path "HKU:\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$($splitArg[1])_$($splitArg[0])" -PropertyType DWORD -Value 0 -Force | Out-Null | |||||
$dateTimeHex = Get-Time | |||||
$hash = Get-Hash "$($splitArg[0])$SID$($splitArg[1])$dateTimeHex$userExperience".ToLower() | |||||
[Microsoft.Win32.Registry]::SetValue("HKEY_USERS\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$($splitArg[0])\UserChoice", "Hash", $hash) | |||||
[Microsoft.Win32.Registry]::SetValue("HKEY_USERS\$Hive\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$($splitArg[0])\UserChoice", "ProgId", "$($splitArg[1])") | |||||
} | |||||
} |
@ -0,0 +1,5 @@ | |||||
$a = (New-Object -comObject Shell.Application).Windows() | | |||||
? { $_.FullName -ne $null} | | |||||
? { $_.FullName.toLower().Endswith('\explorer.exe') } | |||||
$a | % { $_.Quit() } |