lewisje

Random Questionable Windows 10 Tweaks

Jul 31st, 2015
1,174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from an anon somewhere
  2.  
  3. ------------------------------------------------------------------------------------------------
  4.  
  5. @echo off
  6. cls
  7.  
  8. set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
  9. set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
  10.  
  11. echo Closing OneDrive process.
  12. echo.
  13. taskkill /f /im OneDrive.exe > NUL 2>&1
  14. ping 127.0.0.1 -n 5 > NUL 2>&1
  15.  
  16. echo Uninstalling OneDrive.
  17. echo.
  18. if exist %x64% (
  19. %x64% /uninstall
  20. ) else (
  21. %x86% /uninstall
  22. )
  23. ping 127.0.0.1 -n 5 > NUL 2>&1
  24.  
  25. echo Removing OneDrive leftovers.
  26. echo.
  27. rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
  28. rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
  29. rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
  30. rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
  31.  
  32. echo Removeing OneDrive from the Explorer Side Panel.
  33. echo.
  34. REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
  35. REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
  36.  
  37. pause
  38.  
  39. save as a .bat file to remove onedrive. run as admin.
  40.  
  41. ------------------------------------------------------------------------------------------------
  42.  
  43. 0.0.0.0 vortex.data.microsoft.com
  44. 0.0.0.0 vortex-win.data.microsoft.com
  45. 0.0.0.0 telecommand.telemetry.microsoft.com
  46. 0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
  47. 0.0.0.0 oca.telemetry.microsoft.com
  48. 0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
  49. 0.0.0.0 sqm.telemetry.microsoft.com
  50. 0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
  51. 0.0.0.0 watson.telemetry.microsoft.com
  52. 0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
  53. 0.0.0.0 redir.metaservices.microsoft.com
  54. 0.0.0.0 choice.microsoft.com
  55. 0.0.0.0 choice.microsoft.com.nsatc.net
  56. 0.0.0.0 df.telemetry.microsoft.com
  57. 0.0.0.0 reports.wes.df.telemetry.microsoft.com
  58. 0.0.0.0 services.wes.df.telemetry.microsoft.com
  59. 0.0.0.0 sqm.df.telemetry.microsoft.com
  60. 0.0.0.0 telemetry.microsoft.com
  61. 0.0.0.0 watson.ppe.telemetry.microsoft.com
  62. 0.0.0.0 telemetry.appex.bing.net
  63. 0.0.0.0 telemetry.urs.microsoft.com
  64. 0.0.0.0 telemetry.appex.bing.net:443
  65. 0.0.0.0 settings-sandbox.data.microsoft.com
  66. 0.0.0.0 vortex-sandbox.data.microsoft.com
  67.  
  68. post in your windows host file to block microsoft tracking shit
  69.  
  70. ------------------------------------------------------------------------------------------------
  71.  
  72. Windows Registry Editor Version 5.00
  73.  
  74.  
  75. ; confirm delete
  76. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
  77. "ConfirmFileDelete"=dword:00000001
  78.  
  79. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
  80. "AllowCortana"=dword:00000000
  81.  
  82. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv]
  83. "Start"=dword:00000004
  84.  
  85. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WbioSrvc]
  86. "Start"=dword:00000004
  87.  
  88.  
  89. 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.
  90.  
  91. ------------------------------------------------------------------------------------------------
  92.  
  93. Windows Registry Editor Version 5.00
  94.  
  95. [HKEY_CLASSES_ROOT\*\shell\runas]
  96. @="Take Ownership"
  97. "NoWorkingDirectory"=""
  98.  
  99. [HKEY_CLASSES_ROOT\*\shell\runas\command]
  100. @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
  101. "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
  102.  
  103. [HKEY_CLASSES_ROOT\Directory\shell\runas]
  104. @="Take Ownership"
  105. "NoWorkingDirectory"=""
  106.  
  107. [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
  108. @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
  109. "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
  110.  
  111. 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.
  112.  
  113. ------------------------------------------------------------------------------------------------
  114.  
  115. Windows Registry Editor Version 5.00
  116.  
  117.  
  118. ; Music
  119. [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
  120. [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
  121.  
  122.  
  123. ; Downloads
  124. [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
  125. [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
  126.  
  127.  
  128. ; Pictures
  129. [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
  130. [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
  131.  
  132.  
  133. ; Videos
  134. [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
  135. [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
  136.  
  137.  
  138. ; Documents
  139. [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
  140. [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
  141.  
  142.  
  143. ; Desktop
  144. [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
  145. [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
  146.  
  147. save as a .reg file. removes all the pointless folder crap (my pictures, my documents, and shit) in this pc.
  148.  
  149. ------------------------------------------------------------------------------------------------
  150.  
  151. Windows Registry Editor Version 5.00
  152.  
  153. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
  154. "NoLockScreen"=dword:00000001
  155.  
  156. removes the shitty tablet lock screen. boots straight to login screen nao. save as .reg file like the rest of the shitty reg files.
  157.  
  158. ------------------------------------------------------------------------------------------------
  159.  
  160. Get-AppxPackage -AllUsers -Name Microsoft.3DBuilder | Remove-AppxPackage
  161. Get-AppxPackage -AllUsers -Name Microsoft.Getstarted | Remove-AppxPackage
  162. Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftOfficeHub | Remove-AppxPackage
  163. Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
  164. Get-AppxPackage -AllUsers -Name Microsoft.SkypeApp | Remove-AppxPackage
  165. Get-AppxPackage -AllUsers -Name Microsoft.WindowsMaps | Remove-AppxPackage
  166. Get-AppxPackage -AllUsers -Name Microsoft.BingWeather | Remove-AppxPackage
  167. Get-AppxPackage -AllUsers -Name Microsoft.Office.OneNote | Remove-AppxPackage
  168. Get-AppxPackage -AllUsers -Name Microsoft.XboxApp | Remove-AppxPackage
  169. Get-AppxPackage -AllUsers -Name Microsoft.ZuneMusic | Remove-AppxPackage
  170. Get-AppxPackage -AllUsers -Name Microsoft.ZuneVideo | Remove-AppxPackage
  171. Get-AppxPackage -AllUsers -Name Microsoft.BingSports | Remove-AppxPackage
  172. Get-AppxPackage -AllUsers -Name Microsoft.BingNews | Remove-AppxPackage
  173. Get-AppxPackage -AllUsers -Name Microsoft.WindowsPhone | Remove-AppxPackage
  174. Get-AppxPackage -AllUsers -Name Microsoft.BingFinance | Remove-AppxPackage
  175. Get-AppxPackage -AllUsers -Name Microsoft.WindowsSoundRecorder | Remove-AppxPackage
  176. Get-AppxPackage -AllUsers -Name Microsoft.Windows.Photos | Remove-AppxPackage
  177. Get-AppxPackage -AllUsers -Name Microsoft.WindowsCamera | Remove-AppxPackage
  178. Get-AppxPackage -AllUsers -Name Microsoft.WindowsAlarms | Remove-AppxPackage
  179. Get-AppxPackage -AllUsers -Name Microsoft.People | Remove-AppxPackage
  180. Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftEdge | Remove-AppxPackage
  181.  
  182. reposting the delete metro shit in pretty code format
  183.  
  184. ------------------------------------------------------------------------------------------------
  185.  
  186. sc delete DiagTrack
  187. sc delete dmwappushservice
  188. echo "" > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
  189.  
  190. in admin command prompt to stop some tracking services.
  191.  
  192. ------------------------------------------------------------------------------------------------
  193.  
  194. 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.
  195.  
  196. ------------------------------------------------------------------------------------------------
  197.  
  198. 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.
  199.  
  200. only one that works is the host block on home and pro. the other two seems pointless.
  201.  
  202. ------------------------------------------------------------------------------------------------
  203.  
  204. f automatic driver installation is your problem, simply go to
  205. "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"
  206.  
  207. how to stop windows from updating drivers for you like the botnet it is
  208.  
  209. ------------------------------------------------------------------------------------------------
  210.  
  211. Windows Registry Editor Version 5.00
  212.  
  213. [HKEY_CLASSES_ROOT\CLSID\{679f85cb-0220-4080-b29b-5540cc05aab6}\ShellFolder]
  214. "Attributes"=dword:a0600000
  215.  
  216.  
  217. [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{679f85cb-0220-4080-b29b-5540cc05aab6}\ShellFolder]
  218. "Attributes"=dword:a0600000
  219.  
  220. remove quickview from file explorer
  221.  
  222. ------------------------------------------------------------------------------------------------
  223.  
  224. Frequent Problems:
  225.  
  226. 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.
  227.  
  228. ------------------------------------------------------------------------------------------------
  229.  
  230. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
  231. "EnableSuperfetch"=dword:00000000
  232. "EnablePrefetcher"=dword:00000000
  233.  
  234. disable prefetch and superfetch
  235.  
  236. ------------------------------------------------------------------------------------------------
  237.  
  238. Quoted from another anon:
  239.  
  240. cortana is really fucking hard to disable
  241.  
  242. personally what i did is take ownership of the folder using the following zip:
  243.  
  244. http://cdn5.howtogeek.com/wp-content/uploads/TakeOwnership.zip
  245.  
  246. right click on cortana process, open file location, right click on the folder and take ownership
  247.  
  248. 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
  249.  
  250. this kills the default search bar, but I believe if you use classic shell the search still works just fine in the start menu
  251.  
  252. ------------------------------------------------------------------------------------------------
  253.  
  254. Windows Registry Editor Version 5.00
  255.  
  256. [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer]
  257. "DisableNotificationCenter"=dword:00000001
  258.  
  259. To disable the action center
  260.  
  261. ------------------------------------------------------------------------------------------------
  262.  
  263. pro tip, don't install windows 10 with your ethernet cable plugged in and / or wifi on.
  264.  
  265. it prevents it from downloading and installing updates + drivers during installation.
  266.  
  267. 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.
  268.  
  269. then connect to the internet
  270.  
  271. ------------------------------------------------------------------------------------------------
  272.  
  273. REMINDER THAT EVEN IF YOU REMOVE ALL THE BLOATS, WINDOWS WILL DOWNLOAD THEM ALL RIGHT BACK WHEN YOU UPDATE THE STORE APP.
  274.  
  275. REMINDER TO REMOVE STORE APP AND DISABLE THE STORE UPDATE ON WINDOWS UPDATE.
  276.  
  277. ------------------------------------------------------------------------------------------------
  278.  
  279. disable cortana and her botness in gpedit.msc
  280.  
  281. no need for regedit tweaks
  282.  
  283. ------------------------------------------------------------------------------------------------
  284.  
  285. disable location completely in gpedit.msc
  286.  
  287. can also disable sensors if you have them, and even if you don't
Advertisement