MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    120
    After you have MOUNTED THE REGISTRY in MSMG toolkit run this command. Then UNMOUNT REGISTRY, COMMIT and UNMOUNT install.wim
    Code:
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaAboveLock" /t REG_DWORD /d "0" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d "1" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchPrivacy" /t REG_DWORD /d "3" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchSafeSearch" /t REG_DWORD /d "3" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d "0" /f
    reg add "HKLM\TK_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d "0" /f
    reg add "HKLM\TK_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
    reg add "HKLM\TK_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
    reg add "HKLM\TK_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
    reg add "HKLM\TK_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
    reg add "HKLM\TK_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
    reg add "HKLM\TK_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
    reg add "HKLM\TK_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d "1" /f
     
  2. MonsterMMORPG

    MonsterMMORPG MDL Member

    Joined:
    Apr 27, 2012
    Messages:
    149
    Likes Received:
    13
    Trophy Points:
    10

    ty very much

    from this menu, how do i apply these scripts?
     

    Attached Files:

  3. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    120
    Extract ISO with install.wim to DVD folder. Run toolkit cmd as admin, select source select from DVD folder, select version to mount, you do not need to mount boot.wim or recovery. Then you go to tools, options, mount registry, then run the command file, then tools options unmount registry, then 6) apply, then commit. I am doing this from memory, but you can follow along.
     
  4. MonsterMMORPG

    MonsterMMORPG MDL Member

    Joined:
    Apr 27, 2012
    Messages:
    149
    Likes Received:
    13
    Trophy Points:
    10
    i go tool options mount registery but then there is no place to run the code you set. i am not able to copy paste into the MSMG toolkit interface
     
  5. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    120
    You save the code as a cmd file. Open text edit, copy and paste. Save as whatever_you_want.cmd. Save it to where ever you want it, mount the registry in the toolkit, then right click the cmd and run as administrator. After you run it, carry on in the MSMG toolkt.
     
  6. MonsterMMORPG

    MonsterMMORPG MDL Member

    Joined:
    Apr 27, 2012
    Messages:
    149
    Likes Received:
    13
    Trophy Points:
    10
    i get the it now

    the MSMG loaded register into the temp registery

    the changes we made there will be reflected
     
  7. MonsterMMORPG

    MonsterMMORPG MDL Member

    Joined:
    Apr 27, 2012
    Messages:
    149
    Likes Received:
    13
    Trophy Points:
    10
    does it matter if i do this before removing other components or later?
     
  8. BladeGod

    BladeGod MDL Member

    Joined:
    Oct 28, 2016
    Messages:
    128
    Likes Received:
    58
    Trophy Points:
    10
    Actually it will load the registry under this name TK_HKLM_SOFTWARE. You can also manually tweak the registry using regedit. Open it and see under HKLM for the name TK_HKLM_SOFTWARE. Do the tweaks and unmount the registry.
     
  9. BladeGod

    BladeGod MDL Member

    Joined:
    Oct 28, 2016
    Messages:
    128
    Likes Received:
    58
    Trophy Points:
    10
    It doesn't, just skip the cortana and search app in remove windows components.
     
  10. MonsterMMORPG

    MonsterMMORPG MDL Member

    Joined:
    Apr 27, 2012
    Messages:
    149
    Likes Received:
    13
    Trophy Points:
    10
    ISO is ready

    time to try :)

    by the way size is reduced like 500mb
     
  11. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    120
    Let us know!
     
  12. MonsterMMORPG

    MonsterMMORPG MDL Member

    Joined:
    Apr 27, 2012
    Messages:
    149
    Likes Received:
    13
    Trophy Points:
    10
    looks fine so far :)
     
  13. Supern00b

    Supern00b MDL Addicted

    Joined:
    Dec 30, 2010
    Messages:
    650
    Likes Received:
    423
    Trophy Points:
    30
    A question for MSMG:
    Retail demo offline content cannot be removed from LTSB with the toolkit because it isn't there (supposedly).
    But after deploying, doing a "disk cleanup", retail demo offline content is offered for removal (some 16MB).

    Why is this happening?

    Cheers.
     
  14. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,208
    Likes Received:
    7,533
    Trophy Points:
    210
    To Supern00b sorry dude but which version you are using? if Toolkit v7.5 no issues because I'm using now 2016 LTSB and works like a charm
     
  15. Supern00b

    Supern00b MDL Addicted

    Joined:
    Dec 30, 2010
    Messages:
    650
    Likes Received:
    423
    Trophy Points:
    30
    Well I did not try to remove it with toolkit version 7.5, because it had never worked anyway.
    Perhaps I should try again and see if it can be removed, in previous versions I got "package not found" error.

    Cheers.
     
  16. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,208
    Likes Received:
    7,533
    Trophy Points:
    210
    OK, well I'm sure that you make use of Toolkit V7.5 you reach sucess trust me so try again and follow all steps :)
     
  17. lihua37

    lihua37 MDL Novice

    Joined:
    Apr 24, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    windows 10 build 1607
     
  18. lihua37

    lihua37 MDL Novice

    Joined:
    Apr 24, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    windows 10 RS1 & RS2
     
  19. quetzalin

    quetzalin MDL Junior Member

    Joined:
    May 25, 2011
    Messages:
    84
    Likes Received:
    11
    Trophy Points:
    0
    Any chance you can update .NET 4.7 packs with the latest patches?

    KB3186497 & KB4024848

    Thanks!
     
  20. MIMMO61

    MIMMO61 MDL Senior Member

    Joined:
    Aug 19, 2009
    Messages:
    254
    Likes Received:
    63
    Trophy Points:
    10