Disable services on Windows 10 1803 (17134.1)

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

  1. taviruni

    taviruni MDL Senior Member

    Joined:
    May 8, 2010
    Messages:
    253
    Likes Received:
    236
    Trophy Points:
    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

    Joined:
    May 8, 2010
    Messages:
    253
    Likes Received:
    236
    Trophy Points:
    10
  3. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,561
    Likes Received:
    59,628
    Trophy Points:
    450
    Yeah, sorry for the 3 posts.....:rolleyes:

    And DELETED them all....
     
  4. dzem

    dzem MDL Member

    Joined:
    Oct 15, 2015
    Messages:
    241
    Likes Received:
    47
    Trophy Points:
    10
    Yes, but can you give me screenshot which part of that script to change regarding user name and password
     
  5. taviruni

    taviruni MDL Senior Member

    Joined:
    May 8, 2010
    Messages:
    253
    Likes Received:
    236
    Trophy Points:
    10
  6. dzem

    dzem MDL Member

    Joined:
    Oct 15, 2015
    Messages:
    241
    Likes Received:
    47
    Trophy Points:
    10
  7. dzem

    dzem MDL Member

    Joined:
    Oct 15, 2015
    Messages:
    241
    Likes Received:
    47
    Trophy Points:
    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?
     
  8. Quaint10

    Quaint10 MDL Member

    Joined:
    Mar 15, 2018
    Messages:
    162
    Likes Received:
    26
    Trophy Points:
    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.?
     
  9. ForeverYoung2

    ForeverYoung2 MDL Novice

    Joined:
    Dec 5, 2015
    Messages:
    39
    Likes Received:
    23
    Trophy Points:
    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?
     
  10. ForeverYoung2

    ForeverYoung2 MDL Novice

    Joined:
    Dec 5, 2015
    Messages:
    39
    Likes Received:
    23
    Trophy Points:
    0
    #30 ForeverYoung2, Jun 16, 2018
    Last edited: Jun 16, 2018
  11. taviruni

    taviruni MDL Senior Member

    Joined:
    May 8, 2010
    Messages:
    253
    Likes Received:
    236
    Trophy Points:
    10
    @abbodi1406

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

    Thanks in advance.
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
  13. art256

    art256 MDL Novice

    Joined:
    Jul 12, 2019
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    0
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    LTSC is 1809
     
  15. Effmy Leif

    Effmy Leif MDL Novice

    Joined:
    Apr 9, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    #35 Effmy Leif, Jul 24, 2019
    Last edited: Jul 25, 2019
    Edit: nvm! something else was causing the issue - my bad :)
     
  16. xim2

    xim2 MDL Novice

    Joined:
    Jan 9, 2008
    Messages:
    17
    Likes Received:
    3
    Trophy Points:
    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...)
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    No, i use it globally without issues
    it doesn't hurt to have extra unneeded registry
     
  18. nokialpha

    nokialpha MDL Novice

    Joined:
    Aug 14, 2016
    Messages:
    7
    Likes Received:
    7
    Trophy Points:
    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??
     
  19. TairikuOkami

    TairikuOkami MDL Expert

    Joined:
    Mar 15, 2014
    Messages:
    1,057
    Likes Received:
    926
    Trophy Points:
    60
    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
    
     
  20. Piers Patxi

    Piers Patxi MDL Novice

    Joined:
    Sep 5, 2019
    Messages:
    17
    Likes Received:
    22
    Trophy Points:
    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.