Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @rem *** Enable Services Back ***
- sc config DiagTrack start= auto
- sc config diagnosticshub.standardcollector.service start= auto
- sc config dmwappushservice start= auto
- sc config RemoteRegistry start= auto
- sc config TrkWks start= auto
- sc config WMPNetworkSvc start= auto
- sc config WSearch start= auto
- sc config SysMain start= auto
- sc start DiagTrack
- sc start diagnosticshub.standardcollector.service
- sc start dmwappushservice
- sc start WMPNetworkSvc
- sc start WSearch
- REM *** SCHEDULED TASKS tweaks ***
- schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Enable
- schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Enable
- schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Enable
- schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Enable
- schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Enable
- schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Enable
- schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Enable
- schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Enable
- schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Enable
- schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Enable
- schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Enable
- schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Enable
- schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Enable
- schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Enable
- schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Enable
- schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Enable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
- schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Enable
- schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Enable
- schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Enable
- schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Enable
- REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
- schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Enable
- schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Enable
- schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Enable
- schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Enable
- REM *** Put Cortana back ***
- move "%windir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy.bak" "%windir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy"
- "%windir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe"
- @rem *** Remove Telemetry & Data Collection ***
- reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 0 /f
- reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 1 /f
- reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 0 /f
- reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 1 /f
- reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 1 /f
- reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 0 /f
- reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 1 /f
- reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 1 /f
- reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 1 /f
- @REM *** Enable Cortana & Telemetry ***
- reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 1
- REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
- REM 0 = hide completely, 1 = show only icon, 2 = show long search box
- rem reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f
- REM *** Enable MRU lists (jump lists) of XAML apps in Start Menu ***
- reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 1 /f
- REM *** Set Quick Access to start on This PC instead of Windows Explorer ***
- REM 1 = This PC, 2 = Quick access
- REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 2 /f
- REM *** Enable Suggestions in the Start Menu ***
- reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 1 /f
- @rem Put Built-in Apps Back
- PowerShell -Command "Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register â$($_.InstallLocation)\AppXManifest.xmlâ}"
- @rem NOW JUST SOME TWEAKS
- REM *** Do not show hidden files in Explorer ***
- reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 0 /f
- REM *** Hide super hidden system files in Explorer ***
- reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 0 /f
- REM *** Hide file extensions in Explorer ***
- reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 1 /f
- REM *** Install OneDrive ***
- start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement