Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from an anon somewhere
- ------------------------------------------------------------------------------------------------
- @echo off
- cls
- set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
- set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
- echo Closing OneDrive process.
- echo.
- taskkill /f /im OneDrive.exe > NUL 2>&1
- ping 127.0.0.1 -n 5 > NUL 2>&1
- echo Uninstalling OneDrive.
- echo.
- if exist %x64% (
- %x64% /uninstall
- ) else (
- %x86% /uninstall
- )
- ping 127.0.0.1 -n 5 > NUL 2>&1
- echo Removing OneDrive leftovers.
- echo.
- rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
- rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
- rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
- rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
- echo Removeing OneDrive from the Explorer Side Panel.
- echo.
- REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
- REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
- pause
- save as a .bat file to remove onedrive. run as admin.
- ------------------------------------------------------------------------------------------------
- 0.0.0.0 vortex.data.microsoft.com
- 0.0.0.0 vortex-win.data.microsoft.com
- 0.0.0.0 telecommand.telemetry.microsoft.com
- 0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
- 0.0.0.0 oca.telemetry.microsoft.com
- 0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
- 0.0.0.0 sqm.telemetry.microsoft.com
- 0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
- 0.0.0.0 watson.telemetry.microsoft.com
- 0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
- 0.0.0.0 redir.metaservices.microsoft.com
- 0.0.0.0 choice.microsoft.com
- 0.0.0.0 choice.microsoft.com.nsatc.net
- 0.0.0.0 df.telemetry.microsoft.com
- 0.0.0.0 reports.wes.df.telemetry.microsoft.com
- 0.0.0.0 services.wes.df.telemetry.microsoft.com
- 0.0.0.0 sqm.df.telemetry.microsoft.com
- 0.0.0.0 telemetry.microsoft.com
- 0.0.0.0 watson.ppe.telemetry.microsoft.com
- 0.0.0.0 telemetry.appex.bing.net
- 0.0.0.0 telemetry.urs.microsoft.com
- 0.0.0.0 telemetry.appex.bing.net:443
- 0.0.0.0 settings-sandbox.data.microsoft.com
- 0.0.0.0 vortex-sandbox.data.microsoft.com
- post in your windows host file to block microsoft tracking shit
- ------------------------------------------------------------------------------------------------
- Windows Registry Editor Version 5.00
- ; confirm delete
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
- "ConfirmFileDelete"=dword:00000001
- [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
- "AllowCortana"=dword:00000000
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv]
- "Start"=dword:00000004
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WbioSrvc]
- "Start"=dword:00000004
- some random reg shit. save as a .reg file. adds a confirm delete when moving something to the trash, stops some pointless services like telephone and biometrics, and stops cortana.
- ------------------------------------------------------------------------------------------------
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\*\shell\runas]
- @="Take Ownership"
- "NoWorkingDirectory"=""
- [HKEY_CLASSES_ROOT\*\shell\runas\command]
- @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
- "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
- [HKEY_CLASSES_ROOT\Directory\shell\runas]
- @="Take Ownership"
- "NoWorkingDirectory"=""
- [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
- @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
- "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
- adds a take ownership command to your context menu. allows to take control of system files. needed to change, add to, or remove shit from the host file.
- ------------------------------------------------------------------------------------------------
- Windows Registry Editor Version 5.00
- ; Music
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
- ; Downloads
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
- ; Pictures
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
- ; Videos
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
- ; Documents
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
- ; Desktop
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
- [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
- save as a .reg file. removes all the pointless folder crap (my pictures, my documents, and shit) in this pc.
- ------------------------------------------------------------------------------------------------
- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
- "NoLockScreen"=dword:00000001
- removes the shitty tablet lock screen. boots straight to login screen nao. save as .reg file like the rest of the shitty reg files.
- ------------------------------------------------------------------------------------------------
- Get-AppxPackage -AllUsers -Name Microsoft.3DBuilder | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.Getstarted | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftOfficeHub | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.SkypeApp | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.WindowsMaps | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.BingWeather | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.Office.OneNote | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.XboxApp | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.ZuneMusic | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.ZuneVideo | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.BingSports | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.BingNews | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.WindowsPhone | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.BingFinance | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.WindowsSoundRecorder | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.Windows.Photos | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.WindowsCamera | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.WindowsAlarms | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.People | Remove-AppxPackage
- Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftEdge | Remove-AppxPackage
- reposting the delete metro shit in pretty code format
- ------------------------------------------------------------------------------------------------
- sc delete DiagTrack
- sc delete dmwappushservice
- echo "" > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
- in admin command prompt to stop some tracking services.
- ------------------------------------------------------------------------------------------------
- Open up the Group Policy Editor by launching gpedit.msc as an administrator. Go through Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds. Double click Telemetry, hit Disabled, then apply. NOTE: This only truly works in the Enterprise edition, but the final step provides a decent enough workaround for Pro users.
- ------------------------------------------------------------------------------------------------
- Open up the Registry Editor by launching regedit as an administrator. Go through HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection, select AllowTelemetry, change its value to 0, then apply.
- only one that works is the host block on home and pro. the other two seems pointless.
- ------------------------------------------------------------------------------------------------
- f automatic driver installation is your problem, simply go to
- "Control Panel" > "Devices and Printers" > right click your PC's name / icon > "Device Installation Settings" > "No, let me choose what to do" > "Never install driver software from Windows Update"
- how to stop windows from updating drivers for you like the botnet it is
- ------------------------------------------------------------------------------------------------
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\CLSID\{679f85cb-0220-4080-b29b-5540cc05aab6}\ShellFolder]
- "Attributes"=dword:a0600000
- [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{679f85cb-0220-4080-b29b-5540cc05aab6}\ShellFolder]
- "Attributes"=dword:a0600000
- remove quickview from file explorer
- ------------------------------------------------------------------------------------------------
- Frequent Problems:
- Try typing "get-appxpackage", that will list all installed packages. If it failed, try copy-pasting one at a time, and be sure to run as admin.
- ------------------------------------------------------------------------------------------------
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
- "EnableSuperfetch"=dword:00000000
- "EnablePrefetcher"=dword:00000000
- disable prefetch and superfetch
- ------------------------------------------------------------------------------------------------
- Quoted from another anon:
- cortana is really fucking hard to disable
- personally what i did is take ownership of the folder using the following zip:
- http://cdn5.howtogeek.com/wp-content/uploads/TakeOwnership.zip
- right click on cortana process, open file location, right click on the folder and take ownership
- kill the process and IMMEDIATELY change the folder name (add a 1 at the end of the folder), otherwise it will restart and will not let you disable cortana
- this kills the default search bar, but I believe if you use classic shell the search still works just fine in the start menu
- ------------------------------------------------------------------------------------------------
- Windows Registry Editor Version 5.00
- [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer]
- "DisableNotificationCenter"=dword:00000001
- To disable the action center
- ------------------------------------------------------------------------------------------------
- pro tip, don't install windows 10 with your ethernet cable plugged in and / or wifi on.
- it prevents it from downloading and installing updates + drivers during installation.
- install first, install drivers, set windows to not download and install drivers in device and printers pane by right clicking on your computer located in the devices and printers pane, and selecting device installation settings.
- then connect to the internet
- ------------------------------------------------------------------------------------------------
- REMINDER THAT EVEN IF YOU REMOVE ALL THE BLOATS, WINDOWS WILL DOWNLOAD THEM ALL RIGHT BACK WHEN YOU UPDATE THE STORE APP.
- REMINDER TO REMOVE STORE APP AND DISABLE THE STORE UPDATE ON WINDOWS UPDATE.
- ------------------------------------------------------------------------------------------------
- disable cortana and her botness in gpedit.msc
- no need for regedit tweaks
- ------------------------------------------------------------------------------------------------
- disable location completely in gpedit.msc
- can also disable sensors if you have them, and even if you don't
Advertisement