FWIW, here is a tool I just ran across: DoNotSpy10 - google it. Whether you choose try it or not is up to you, of course. Seems to do what it claims to do so far as I am able to tell.
From a review site. "The downside is the adware offer and the fact that DoNotSpy10 needs to be installed before use." Exactly it is not clear what is in it...Run at your own risk and by the time it gets downloaded from the net again you have no idea what has been added.
That and the fact, that most here do not need any tools from the wild, are pretty much show-stoppers here.
DoNotSpy10 has some options that other GUIs/scripts don't. Sucks that it's bundled with adware. While adware is never required to for anything to work it is adware none the less.
That is indeed helpful . Will thoroughly check 'tomorrow' (aka after a short nap) and add to OP and the script then. Resume: Further, higher, more .... MDL Minion Power at it's best!!!!
Alrighty then. I also added a settings a DoNotSpy10 missed (Denying Windows Shell Experience access to one's Contacts) to the spoiler and fixed an incorrect value. It now disables windows update sharing like it's supposed to.
Please check my conversion and added REMs ('::') to assure it's correct and some are missing. Code: ::=============================================================================================================== ::Defer Windows Upgrade reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Disable Access to Language List reg add "HKCU\Control Panel\International\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Advertising ID reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Cortana Disable/Reset reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::APP ACCESS ::Account Info reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{C1D23ACC-752B-43E5-8448-8D0E519CD6D6}" /v "Value" /t REG_SZ /d "Deny" /f ::Calendar reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{D89823BA-7180-4B81-B50C-7E471E6121A3}" /v "Value" /t REG_SZ /d "Deny" /f ::Camera reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{E5323777-F976-4f5b-9B55-B94699C46E44}" /v "Value" /t REG_SZ /d "Deny" /f ::Location Info reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /v "Value" /t REG_SZ /d "Deny" /f ::Messages reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{992AFA70-6F47-4148-B3E9-3003349C1548}" /v "Value" /t REG_SZ /d "Deny" /f ::Microphone reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{2EEF81BE-33FA-4800-9670-1CD474972C3F}" /v "Value" /t REG_SZ /d "Deny" /f ::Radios reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{A8804298-2D5F-42E3-9531-9C8C39EB29CE}" /v "Value" /t REG_SZ /d "Deny" /f ::=============================================================================================================== ::APP Notifikations aka Toasts reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::App Telemetry 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 "DisableInventory" /t REG_DWORD /d "1" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Auto-Driver Update reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\DriverSearching" /v "SearchOrderConfig" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Auto-Windows-Update reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Biometrics reg add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Lockscreen Camera reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreenCamera" /t REG_DWORD /d "1" /f ::=============================================================================================================== :: reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Language" /v "Enabled" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Getting to know me reg add "HKCU\SOFTWARE\Microsoft\Personalization\Settings" /v "AcceptedPrivacyPolicy" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Handwriting Data Sharing I reg add "HKCU\SOFTWARE\Microsoft\InputPersonalization" /v "RestrictImplicitTextCollection" /t REG_DWORD /d "1" /f reg add "HKCU\SOFTWARE\Microsoft\InputPersonalization" /v "RestrictImplicitInkCollection" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Handwriting Data Sharing II reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\TabletPC" /v "PreventHandwritingDataSharing" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Contacts Sharing reg add "HKCU\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" /v "HarvestContacts" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Location and Sensors 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 ::=============================================================================================================== ::One Drive reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Location reg add "HKLM\SYSTEM\ControlSet001\Control\Storage\EnabledDenyGP" /v "DenyAllGPState" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Disable Password Reveal reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CredUI" /v "DisablePasswordReveal" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::Handwriting Data Sharing III reg add "HKCU\SOFTWARE\Microsoft\Input\TIPC" /v "Enabled" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Disable Web Content Evaluation reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::Sync with Devices reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled" /v "Value" /t REG_SZ /d "Deny" /f ::=============================================================================================================== ::Telemetry reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::WebSearch reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::WiFi Sense reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\WcmSvc\wifinetworkmanager\features\S-1-5-21-3902212115-2543662138-3061636537-1001" /v "FeatureStates" /t REG_DWORD /d "828" /f ::=============================================================================================================== ::Defender Anti-Spy reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::WiFi Sense reg add "HKCU\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f ::=============================================================================================================== ::Media DRM Internet Access reg add "HKLM\SOFTWARE\Policies\Microsoft\WMDRM" /v "DisableOnline" /t REG_DWORD /d "1" /f ::=============================================================================================================== ::WU for other Products reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971f918-a847-4430-9279-4a52d1efe18d" /v "RegisteredWithAU" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::WU Sharing reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization" /v "SystemSettingsDownloadMode" /t REG_DWORD /d "0" /f ::=============================================================================================================== ::WU Sharing reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v "DODownloadMode" /t REG_DWORD /d "0" /f
Hi, just some feedback after using Win 10 S-M-R-T Enable Disable : I did run v0.06.667 today after I did already run the previous version yesterday. (option A: append addresses to hosts file) Now I can see in the hosts-file following lines (guess it's an error): 0.0.0.0 msftncsi.com 0.0.0.0 view.atdmt.com Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null. At line:1 char:130 + ... renceObject (Get-Content U:\Desktop\Win10\Win.10.S-M-R-T.Enable.Disab ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: ) [Compare-Object], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObje ctCommand ECHO is off. 0.0.0.0 msnbot-65-55-108-23.search.msn.com 0.0.0.0 settings-win.data.microsoft.com 0.0.0.0 schemas.microsoft.akadns.net etc... I deleted those lines guessing that's not intended. Nice work btw. Thx for developping this tool.
S1ave77, this seems to be the group policy method of turning the search box into non-internet version: Code: REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /D 0 /T REG_DWORD /F>NUL 2>NUL if exist c:\windows\syswow64 REG ADD "HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /D 0 /T REG_DWORD /F>NUL 2>NUL The HKCU version seems to be some option somewhere.
Looks like a path with spaces is used, since it interpretes a part of it as new command and fails. Please restore the created hosts.backup in case it doesn't already contain it. AND: Make sure the path doesn't contain any spaces. Best it to keep the path as short as possible. Unfortunately CMD syntax doesn't allow quotes for all pathes. Then try again, i had no such errors in my tests.
Should be that: Code: ::=============================================================================================================== ::WebSearch reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f Guess i add yours to it to care for all.