"%SystemRoot%\System32\SystemPropertiesAdvanced.exe"
System Props
"%SystemRoot%\System32\cleanmgr.exe" /sageset:9999
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Maintenance.bat"
@echo off TITLE Maintenance CD "%Temp%" "%SystemRoot%\System32\Dism.exe" /online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth "%SystemRoot%\System32\sfc.exe" /scannow "%SystemRoot%\System32\cleanmgr.exe" /sagerun:9999 "%SystemRoot%\System32\vssadmin.exe" Delete Shadows /All "%SystemRoot%\System32\fsutil.exe" usn deleteJournal /D "%SystemDrive%" "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" update /force /queue "%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" update /force /queue "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" executequeueditems "%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" executequeueditems "%SystemRoot%\System32\taskkill.exe" /F /IM "explorer.exe" "%SystemRoot%\System32\timeout.exe" /T "2" /NOBREAK DEL /F /Q "%LocalAppData%\Microsoft\Windows\Explorer\"*".db" DEL /F /Q "%UserProfile%\AppData\Local\IconCache.db" DEL /F /Q "%LocalAppData%\D3DSCache\*" DEL /F /Q "%LocalAppData%\Temp\*" DEL /F /Q "%SystemRoot%\Temp\*" "%SystemRoot%\System32\timeout.exe" /T "2" /NOBREAK START explorer.exe "%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize :: End
"%UserProfile%\Downloads\Maintenance.bat"
****
"powercfg.exe" /HIBERNATE "OFF"
****
"powercfg.exe" /DUPLICATESCHEME "e9a42b02-d5df-448d-aa00-03f14749eb61"
****
"powercfg.exe" /Qh
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "AllowClipboardHistory" /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\GameDVR" /v "AllowgameDVR" /t "REG_DWORD" /d "0" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d "1" /f
****
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d "0" /f
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\InputPersonalization" /v "AllowInputPersonalization" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Classes\.jpg" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.jpeg" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.gif" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.png" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.bmp" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.tiff" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.ico" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableCdp" /t REG_DWORD /d "0" /f
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t "REG_DWORD" /d "0" /f
****
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "0" /f
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy" /v "Enabled" /t "REG_DWORD" /d "1" /f
"powershell.exe" -Command "$md5 = New-Object -TypeName 'System.Security.Cryptography.MD5CryptoServiceProvider'"
****
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "HubMode" /t "REG_DWORD" /d "1" /f
"sc.exe" stop "WSearch" & "sc.exe" config "WSearch" "start=disabled"
"DISM.exe" /Online /Disable-Feature /FeatureName:"SearchEngine-Client-Package" /Remove
****
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneShowAllFolders" /t "REG_DWORD" /d "1" /f
****
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "VerboseStatus" /t REG_DWORD /d "1" /f
win32calc
06:00:00 AM"%SystemRoot%\System32\schtasks.exe" /Create /SC "DAILY" /TN "OS Restart" /TR "'%SystemRoot%\System32\shutdown.exe' /g /t '0' /f /d p:'4':'1'" /ST "06:00" /F
05:00:00 AM"%SystemRoot%\System32\schtasks.exe" /Create /SC "MONTHLY" /MO "FIRST" /D "WED" /M "*" /TN "OS Maintenance" /TR "%UserProfile%\Downloads\Maintenance.bat" /ST "05:00" /F