Team Spartan Cookies & Milk Forums
TO THOSE WHO UPGRADED TO WIN 10 - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: General (https://teamscm.co.uk/forum-1.html)
+--- Forum: General Discussion (https://teamscm.co.uk/forum-3.html)
+--- Thread: TO THOSE WHO UPGRADED TO WIN 10 (/thread-1244.html)

Pages: 1 2 3 4 5 6 7 8


TO THOSE WHO UPGRADED TO WIN 10 - rouing - 14-08-2015

RUN AS ADMIN:
SAVE AS .BAT FILE:
Code:
@rem *** Disable Some Service *** sc stop DiagTrack sc stop diagnosticshub.standardcollector.service sc stop dmwappushservice sc stop WMPNetworkSvc sc stop WSearch sc config DiagTrack start= disabled sc config diagnosticshub.standardcollector.service start= disabled sc config dmwappushservice start= disabled REM sc config RemoteRegistry start= disabled REM sc config TrkWks start= disabled sc config WMPNetworkSvc start= disabled sc config WSearch start= disabled REM sc config SysMain start= disabled REM *** SCHEDULED TASKS tweaks *** REM schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T. REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable 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). REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable REM *** Remove Cortana *** REM Currently MS doesn't allow to uninstall Cortana using the above step claiming it's a required OS component (hah!) REM We will have to rename the Cortana App folder (add ".bak" to its name), but this can be done only if Cortana is not running. REM The issue is that when Cortana process (SearchUI) is killed, it respawns very quickly REM So the following code needs to be quick (and it is) so we can manage to rename the folder taskkill /F /IM SearchUI.exe move "%windir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" "%windir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy.bak" @rem *** Remove Telemetry & Data Collection *** reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableInventory" /t REG_DWORD /d "1" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\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 "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableLocation" /t REG_DWORD /d "1" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableSensors" /t REG_DWORD /d "1" /f reg add "HKLM\SYSTEM\ControlSet001\Control\Storage\EnabledDenyGP" /v "DenyAllGPState" /t REG_DWORD /d "1" /f reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f @REM *** Disable Cortana & Telemetry *** reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 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 reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f REM *** Disable 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 0 /f REM *** Set Windows Explorer to start on This PC instead of Quick Access *** 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 1 /f @rem Remove Apps PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage" PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage" REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage" REM PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage" @rem NOW JUST SOME TWEAKS REM *** Show hidden files in Explorer *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f REM *** Show super hidden system files in Explorer *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f REM *** Show file extensions in Explorer *** reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f REM *** Uninstall OneDrive *** start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL rd C:\OneDriveTemp /Q /S >NUL 2>&1 rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1 rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1 rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1 reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1 reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1 echo OneDrive has been removed. Windows Explorer needs to be restarted. pause start /wait TASKKILL /F /IM explorer.exe start explorer.exe route ADD 131.253.14.0 MASK 255.255.255.0 0.0.0.0 route ADD 65.52.100.0 MASK 255.255.255.0 0.0.0.0 route ADD 65.4.54.0 MASK 255.255.255.0 0.0.0.0 route ADD 65.55.194.0 MASK 255.255.255.0 0.0.0.0 route ADD 93.184.215.0 MASK 255.255.255.0 0.0.0.0 route ADD 134.170.115.0 MASK 255.255.255.0 0.0.0.0 route ADD 65.55.252.0 MASK 255.255.255.0 0.0.0.0

This is a .bat (batch) file that does some things for you.
Removes Cortana
Removes OneDrive
Removes Default Apps
Removes Telemetry
Removes Customer "Experience" reporting
Removes MRU Lists
Turns on Hidden files in Explorer
Turns on Hidden System files in Explorer
Turns on Show file extensions

Source:
http://www.hwinfo.com/misc/RemoveW10Bloat.htm

HERE IS THE REVERSE SCRIPT:
Code:
@rem *** Enable Services Back *** sc config DiagTrack start= auto sc config diagnosticshub.standardcollector.service start= auto sc config dmwappushservice start= auto REM sc config RemoteRegistry start= auto REM sc config TrkWks start= auto sc config WMPNetworkSvc start= auto sc config WSearch start= auto REM 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 *** REM 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 REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Enable REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Enable REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Enable REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Enable *** Not sure if should be disabled, maybe related to S.M.A.R.T. REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Enable REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Enable REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Enable REM 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). REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Enable REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Enable REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Enable REM 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 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"



RE: TO THOSE WHO UPGRADED TO WIN 10 - Nova Viper Dwagon - 14-08-2015

is this the bat file that removes all the hidden reporting of your data?


RE: TO THOSE WHO UPGRADED TO WIN 10 - rouing - 14-08-2015

(14-08-2015, 03:44 PM)Nova Viper Dwagon Wrote: is this the bat file that removes all the hidden reporting of your data?

Yes


RE: TO THOSE WHO UPGRADED TO WIN 10 - Nova Viper Dwagon - 14-08-2015

Then you sir are a legend!

The other fix i found on reddit had some.... questional stuff in but thats reddit XD


RE: TO THOSE WHO UPGRADED TO WIN 10 - rouing - 14-08-2015

(14-08-2015, 03:46 PM)Nova Viper Dwagon Wrote: Then you sir are a legend!

The other fix i found on reddit had some.... questional stuff in but thats reddit XD

Some things are commented out. (REM) remove them if you wanna use them


RE: TO THOSE WHO UPGRADED TO WIN 10 - pho - 14-08-2015

http://localghost.org/posts/a-traffic-analysis-of-windows-10


RE: TO THOSE WHO UPGRADED TO WIN 10 - Nova Viper Dwagon - 14-08-2015

Well this is turning into a very nice info page im pleased, but... that pic pho XD


RE: TO THOSE WHO UPGRADED TO WIN 10 - rouing - 14-08-2015

(14-08-2015, 04:03 PM)pho Wrote: http://localghost.org/posts/a-traffic-analysis-of-windows-10

route ADD 131.253.14.0 MASK 255.255.255.0 0.0.0.0
route ADD 65.52.100.0 MASK 255.255.255.0 0.0.0.0
route ADD 65.4.54.0 MASK 255.255.255.0 0.0.0.0
route ADD 65.55.194.0 MASK 255.255.255.0 0.0.0.0
route ADD 93.184.215.0 MASK 255.255.255.0 0.0.0.0
route ADD 134.170.115.0 MASK 255.255.255.0 0.0.0.0
route ADD 65.55.252.0 MASK 255.255.255.0 0.0.0.0

Use these in cmd prompt as admin to block the ips that article reports

Ive updated the script


RE: TO THOSE WHO UPGRADED TO WIN 10 - Xeon - 14-08-2015

It removed my search bar on my task bar is that meant to happen


RE: TO THOSE WHO UPGRADED TO WIN 10 - rouing - 14-08-2015

(14-08-2015, 05:43 PM)Xeon Wrote: It removed my search bar on my task bar is that meant to happen

That is part of cortana. Yes. Right click the task bar and hover over "search".