Multi-OEM/Retail Project {MRP} - Mk3

Discussion in 'MDL Projects and Applications' started by mxman2k, Oct 15, 2016.

  1. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Taskbar Transparency ( 0 = blurred | 1 = Clear) -- A logout or reboot cycle is required for the tweak to work. Up to Windows 10 RS3.

    On RS4+ 0 turns off Acrylic leaving a solid color, 1 turns it back on.
    Code:
    Reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "UseOLEDTaskbarTransparency" /t REG_DWORD /d "1" /f >nul 2>&1
    
    Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "UseOLEDTaskbarTransparency" /t REG_DWORD /d "1" /f >nul 2>&1
    
    Wintel.cmd covers from Windows Vista to 10. There is a bit more for Windows 10 than the other OS's because there is more Telemetry involved.

    It is not a complete Telemetry removal script in itself but designed as a starting point in which the end user can add their own 'fixes' for the OS's, there are sections REMarked in what they are for or do.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    thank you
    now i still have this problem of phone settings in windows 10
    when i don't use the MRPconfig.ini they are working but if i do the settings got disabled
    i hope there is a work around to this issue becuz i hate this, nobody is mentioning it at all
    i didn't use wintel.cmd or any other script within, just the ini file with these options: (so it's not a related to telemetry issue)
    Code:
    Added 'ThisPC/Control Panel/User Folder' icons on the Desktop
    Prevented the UAC from dimming the desktop
    Removed the '-shortcut' end part added to icons
    Disabled the Windows Malicious Software Removal Tool {MSRT}
    Disabled automatic restart after Windows Updates.
    File Explorer open 'ThisPC' instead of 'Quick Access' view.
    Turned off the Driver Searching used in Windows Update.
    Prevented OneDrive from automatically installing after setup has completed.
    Removed Library Folders from 'ThisPC' View
    Removed 3D Objects folder from 'ThisPC' view.
    Disabled Automatic Computer Maintenance Tasks.
    Removed Edge's shortcut from desktop
    Removed People icon from the Taskbar.
    Blocked Cortana and kept Windows Search while Online searches denied to prevent Cortana reinitializing.
    Blocked OS Adverts from the StartMenu and Explorer etc.
    VirtualBox_Win10_21_05_2018_08_10_50.png VirtualBox_Win10_21_05_2018_05_49_09.png
     
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    I will take a look into the tweaks, i have a suspicion it may be related to block Cortana... :g:

    Cortana one does touch on the policies which triggers the hidden by your organization line.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    When i get a bit of time later i will test without the Cortana option used, then one without the advert blocks, and one with both not used, as i am not 100% it related to Cortana at this time, but as most services etc are interlinked it could be a mixture of both...

    The block Cortana option is not just a single reg entry, the routine within MRP is quite stringent and blocks output via firewall rules etc.

    Block Adverts too is quite intensive because they are all over the place being sneaked in!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    This is the routine used in MRP to digitally duct tape Cortana...
    Code:
    REM Disable Cortana web search feature
    REG add "HKLM\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ServiceUI" /v "EnableCortana" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d "1" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchPrivacy" /t REG_DWORD /d "3" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchSafeSearch" /t REG_DWORD /d "3" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d "0" /f >NUL 2>&1
    
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "CortanaEnabled" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d "1" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "DeviceHistoryEnabled" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "HistoryViewEnabled" /t REG_DWORD /d "0" /f >NUL 2>&1
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "UserSettingsContentReady" /t REG_DWORD /d "1" /f >NUL 2>&1
    
    REM Block outbound Cortana network traffic using the Windows Firewall.
    REG add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Cortana ActionUriServer.exe" /t REG_SZ /d "v2.26|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\ActionUriServer.exe|Name=Block Cortana ActionUriServer.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|" /f >NUL 2>&1
    REG add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Cortana PlacesServer.exe" /t REG_SZ /d "v2.26|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\PlacesServer.exe|Name=Block Cortana PlacesServer.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|" /f >NUL 2>&1
    REG add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Cortana RemindersServer.exe" /t REG_SZ /d "v2.26|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\RemindersServer.exe|Name=Block Cortana RemindersServer.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|" /f >NUL 2>&1
    REG add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Cortana RemindersShareTargetApp.exe" /t REG_SZ /d "v2.26|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\RemindersShareTargetApp.exe|Name=Block Cortana RemindersShareTargetApp.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|" /f >NUL 2>&1
    REG add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Cortana SearchUI.exe" /t REG_SZ /d "v2.26|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|App=C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe|Name=Block Cortana SearchUI.exe|Desc=Block Cortana Outbound UDP/TCP Traffic|" /f >NUL 2>&1
    REG add "HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "Block Cortana Package" /t REG_SZ /d "v2.26|Action=Block|Active=TRUE|Dir=Out|RA42=IntErnet|RA62=IntErnet|Name=Block Cortana Package|Desc=Block Cortana Outbound UDP/TCP Traffic|AppPkgId=S-1-15-2-1861897761-1695161497-2927542615-642690995-327840285-2659745135-2630312742|Platform=2:6:2|Platform2=GTEQ|" /f >NUL 2>&1
    
    The block Adverts one you can see how it is done if you look in the 'Optional\Misc_ExtraScripts' folder and take a look at the W10BlockAdverts.cmd script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    if only there is an option to enable the settings again like using registry or group policy editor
    i google it but i can't find anything helpful, i keep getting results about windows phone lol
    don't you have scripts for each of the tweak used in MRPconfig ??
    so we can try them separately one by one ??
    i reinstalled windows 10 about 10 times today in virtualbox to understand from where the issue is coming and nothing
    now i hate this windows already
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Im just installing with MRP with Cortana and block adverts unticked (No) so they will not be touched, if the Phone part is not greyed out i can test the BlockAdverts and the routine used for Cortana and see which stops that part of PC Settings from working.

    It may be that it is neither of the above two and it related to OneDrive as that is used to Sync things. Will post my results of the above two tests shortly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Well all installed ok, no Cortana block, and no AdvertBlock... Phone can be connected ie not greyed out.

    Ran BlockAdverts.cmd which is the same code used in MRP, rebooted, phone still can be connected via the button.

    So that leaves the Cortana Block to be looked at as that seems to be interlinked to that Phone option within settings. :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Run the Cortana blocks with exact same settings within MRP. Rebooted, Cortana was duct taped. Phone Option was still operative.

    I am at a loss what is causing that problem.

    I understand that using the MSMG toolkit can cause this phone bit not to work also. It may also cause other glitches to happen because certain parts have been removed.

    Yet MRP does not remove any files regarding Cortana or Adverts, it just blocks them via registry edits.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #2710 mxman2k, May 21, 2018
    Last edited: May 21, 2018
    (OP)
    By process of elimination I have found the reg tweak that disabled the 'Add a Phone' feature!

    To enable the Phone feature:
    Code:
    Reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d "0" /f >NUL 2>&1
    
    Reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d "0" /f >NUL 2>&1
    Setting the above allows you to use the Phone feature.

    But you may start to see extra apps appearing so it a double edged sword. See how crafty m$ are getting?, to use a 'feature' you have to end up with either more apps and adverts/Telemetry. Nothing can be done about that.

    In MRP that reg is set as 1 to disable extra apps and adverts, which also disables the Phone part in PC Settings.

    So to block as much other advertising, use the BlockAdverts option in MRP then if you want to use the Phone part of Windows then you need to copy/paste the above lines within the Code tags into a Admin command/Pshell window to allow it to unlock the Phone section in Win 10's 'Your Phone - Add a Phone' section within PC Settings.

    Or use this simple script here.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    #2711 Tiger-1, May 21, 2018
    Last edited: May 21, 2018
    Hi mxman2k thanks a lot dude for your contribution, hmm but maybe I need re-install again( no problem :p) but is very good to know and I can earn a lot of time you are the dude from UK:worthy:downloading now bro :D
    Edit: well you are the guy ALSO out of the UK of course bro sorry for the mistake :(:D:p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #2712 mxman2k, May 21, 2018
    Last edited: May 21, 2018
    (OP)
    attached is a simple cmd script to allow the Phone feature to work if you have used the MRP's BlockAdverts option and you need the Phone bit to work.

    Just rename as .CMD instead of .TXT :) Run as Administrator or the registry will not get updated.

    A reboot/log-out is not required.

    Also added the script to Misc_ExtraScripts for the next release of MRP.

    *edit*
    Fixed the typo in the script. :oops:
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    @Tiger-1, I have reinstalled w10 about 5 times today already, testing which reg entry stopped that Phone part working, i feel your pain!! :p

    I knew it was a Policy setting so went through and checked every reg entry that had policy in for the advert blocker routine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    :hug2::worthy::p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    Thanks man you are the best :clap3:
     
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #2717 mxman2k, May 21, 2018
    Last edited: May 21, 2018
    (OP)
    That script will allow MRP 90.0 and before (that had the block advert option in) to 'unlock' that section in PC Settings. The next MRP will have that option built-in :)

    The downside will be some sneaky adverts/tiles appearing due to the way it is so intertwined with other parts of the OS if you use the Add Phone... option. But most adverts will be blocked.

    Sadly the way M$ are going i can soon see it will be nigh on impossible to eradicate it all. :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    waiting, waiting dude you are our Sir here bro :D:p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    MRP 90.1 (Internal Testing) is fully operational, but not worth to release it as the script given in a previous post will allow anyone to use the 'Your Phone...' part of PC Settings with the current MRP90.0 release and previous ones that has the Block OS Adverts option.

    At least there is a working solution for now for those that require that OS Phone feature. :)

    It did take some detective work to find which reg entry 'locked' that feature!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    i hope there will be some way around this problem in the near future,
    for the time being i can use the script whenever i want to use those phone settings and then disable those features again until needed
    it's like wauserv and bits services i always keep them disabled until i have time to update windows then i enable them
    it's the way how windows works, you have to find tweaks for everything :p