Disable services on Windows 10 1803 (17134.1)

Discussion in 'Windows 10' started by taviruni, May 16, 2018.

  1. taviruni

    taviruni MDL Senior Member

    May 8, 2010
    253
    218
    10
    #21 taviruni, May 23, 2018
    Last edited: May 23, 2018
    (OP)
    It has been said many times: edit unattend.xml (from my post #11) to your needs/likes

    Edit user name and password on it.
     
  2. taviruni

    taviruni MDL Senior Member

    May 8, 2010
    253
    218
    10
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    26,472
    38,233
    390
    Yeah, sorry for the 3 posts.....:rolleyes:

    And DELETED them all....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dzem

    dzem MDL Member

    Oct 15, 2015
    178
    30
    10
    Yes, but can you give me screenshot which part of that script to change regarding user name and password
     
  5. dzem

    dzem MDL Member

    Oct 15, 2015
    178
    30
    10
    One more question - i dont type password for my computer when i doing clean install of windows - since so, part with security questions never appear. So, only when you type a password, security question part appear. my question is: what part and lines i need to erase in the script to avoid typing a password and with that security questions?
     
  6. Quaint10

    Quaint10 MDL Member

    Mar 15, 2018
    147
    23
    10
    how can i make unattented.xml for windows 10 1803 and for gpt partition window and i have intel optane so i have to do liltle bit cmd while installation like disk part , convert gpt. etc.?
     
  7. ForeverYoung2

    ForeverYoung2 MDL Novice

    Dec 5, 2015
    27
    12
    0
    Success with 1803 !
    both XML configs worked fine. LayoutModification.xml from @taviruni and unattend.xml @abbodi1406
    saved a lot of time not having to go through ADK just for an xml.

    The .cmd and .reg are junk for this OS version, so DIY.
    thank you @taviruni for explaining \$OEM$\$$... in real english.
    I always used to sysprep /generalize /oobe /unattend:unattend.xml /shutdown because I was always confused about the paths to drop them manually.

    Question:
    1. Is it possible to activate Admin account before going through oobe ? So the first normal user is not created yet but I can change some global settings using the Administrator account, then activating oobe.
    This is for WIM capturing purposes. It's easy to do if I could get cmd on the first boot prior to oobe but how? Should be able to achieve this through some sort of WinPE boot to initiate audit via cmd so admin an boot with no pass. Please advise if you can.

    2. Can someone refer any links about specialize stage and it's limitations?
     
  8. ForeverYoung2

    ForeverYoung2 MDL Novice

    Dec 5, 2015
    27
    12
    0
    #30 ForeverYoung2, Jun 16, 2018
    Last edited: Jun 16, 2018
  9. taviruni

    taviruni MDL Senior Member

    May 8, 2010
    253
    218
    10
    @abbodi1406

    Could you share with us your unattend.xml, specialize.cmd and setupcomplete.cmd for new 1809 version?

    Thanks in advance.
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    10,313
    41,067
    340
    LTSC is 1809
     
  11. Effmy Leif

    Effmy Leif MDL Novice

    Apr 9, 2019
    2
    0
    0
    #35 Effmy Leif, Jul 24, 2019
    Last edited: Jul 25, 2019
    Edit: nvm! something else was causing the issue - my bad :)
     
  12. xim2

    xim2 MDL Novice

    Jan 9, 2008
    15
    3
    0
    Do you have specific files for LTSC 1809 - 17763.1 because many registry keys are not needed in LTSC ?

    I started check "specialize" line by line. (For example don't need all registry for Cortana etc...)
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    10,313
    41,067
    340
    No, i use it globally without issues
    it doesn't hurt to have extra unneeded registry
     
  14. nokialpha

    nokialpha MDL Novice

    Aug 14, 2016
    4
    1
    0
    how to restore "safely removal hardware and eject media" in windows taskbar for 1809 version and show available devices like printer,controller,multimedia devices??
     
  15. TairikuOkami

    TairikuOkami MDL Addicted

    Mar 15, 2014
    909
    793
    30
    As mentioned above, it is better be safe than sorry, but the funny fact is, that even if you disable something multiple times, a single setting might act as an exception and keep it enabled.

    Code:
    rem Disable Cortana
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "AllowCortana" /t REG_DWORD /d "0" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "CortanaCapabilities" /t REG_SZ /d "" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "CortanaConsent" /t REG_DWORD /d "0" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "DeviceHistoryEnabled" /t REG_DWORD /d "0" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "IsAssignedAccess" /t REG_DWORD /d "0" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "IsWindowsHelloActive" /t REG_DWORD /d "0" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Windows Search" /v "CortanaConsent" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Microsoft\PolicyManager\default\Experience\AllowCortana" /v "value" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Policies\Microsoft\SearchCompanion" /v "DisableContentFileUpdates" /t REG_DWORD /d "1" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "AllowCloudSearch" /t REG_DWORD /d "0" /f
    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 "AllowCortanaAboveLock" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d "1" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "DoNotUseWebResults" /t REG_DWORD /d "1" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchPrivacy" /t REG_DWORD /d "3" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d "0" /f
    
    rem 1 - Let Cortana respond to "Hey Cortana"
    reg add "HKCU\Software\Microsoft\Speech_OneCore\Preferences" /v "VoiceActivationOn" /t REG_DWORD /d "0" /f
    
    rem 1- Let Cortana listen for my commands when I press Windows key + C
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "VoiceShortcut" /t REG_DWORD /d "0" /f
    
    rem 1 - Use Cortana even when my device is locked
    reg add "HKCU\Software\Microsoft\Speech_OneCore\Preferences" /v "VoiceActivationEnableAboveLockscreen" /t REG_DWORD /d "0" /f
    
     
  16. Piers Patxi

    Piers Patxi MDL Novice

    Sep 5, 2019
    17
    22
    0
    #40 Piers Patxi, Oct 18, 2019
    Last edited: Oct 18, 2019
    I'll try...
    Question 1: Do you think you might have accidentally hidden the icon or do you think it may be broken?
    Question 2: Do you want this restored to the notifications area of the taskbar or on the taskbar itself?
    You might try opening a RunBox and entering
    Code:
    explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
    Does the "Windows Explorer" line say Show icon and notifications?
    There is also a checkbox at the bottom named, "Always show all icons and notifications on the taskbar" ...not sure if you are looking to do that? (rather than having them hidden under the taskbar "up caret"
    anyway, hope it helps.