Disable start service windows 1903

Discussion in 'Windows 10' started by allmythy, Jun 28, 2019.

  1. rayleigh_otter

    rayleigh_otter MDL Expert

    Aug 8, 2018
    1,121
    933
    60
    #21 rayleigh_otter, Jun 29, 2019
    Last edited: Jun 29, 2019
    I understand but i dont cater for the type of person who needs a sign telling them not to piss on the 3rd rail :biggrin3:
     
  2. allmythy

    allmythy MDL Member

    Feb 15, 2010
    107
    14
    10
    thank you, your trick rules ! :)
    but the the address was wrong, following the correct one:

    takeown /f "%WinDir%\systemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" /a
    icacls "%WinDir%\systemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" /grant:r Administrators:F /c
    taskkill /im StartMenuExperienceHost.exe /f
    del "%WinDir%\systemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" /s /f /q

    ;)
     
  3. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,052
    60
    Sorry about that, I have removed the whole SystemApps folder, so I had to use google and I copied it wrong. :oops:
     
  4. allmythy

    allmythy MDL Member

    Feb 15, 2010
    107
    14
    10
    don't worry be happy ;)
     
  5. allmythy

    allmythy MDL Member

    Feb 15, 2010
    107
    14
    10
  6. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,447
    90
    I'm aware that you know that the modification will remain if you use the trick I learned from you of removing permissions from StartMenuExperienceHost.exe
     
  7. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,052
    60
    Yes, but that might cause problems, like if that file is being updated, then the update will fail. It might even cause BSOD, maybe not this particular file, but you never know, since it is set to start at boot, but Windows will not be able to access it.
     
  8. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,447
    90
    That's true and is always the nature of Windows not being able to access a file. A prime example is disabling upfc.exe which will cause a BSOD. But there are files that won't cause a problem when disabling them, like usoclient.exe. I guess it's how much it's worth it to somebody to permanently disable something to do the reasearch required.
     
  9. boyonthebus

    boyonthebus MDL Expert

    Sep 16, 2018
    1,168
    752
    60
    There are certain files, folders, etc which are fundamental to the operation of Windows. Deleting these will result in a BSOD. There are a ton of memes which show Jesus advising an old lady to delete System32 to enable her computer to run quicker, but I wouldn't do that. It surely would result in a BSOD.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,447
    90
    Yes, which is what I was talking about. If it's worth it to you to disable something, or modify some part of Windows, you have to try it and see if it causes problems if no one has ever tried what you're trying to accomplish before. That's how I know not to disable upfc.exe.
     
  11. allmythy

    allmythy MDL Member

    Feb 15, 2010
    107
    14
    10
    some troubles:
    when i lunch the script go well until the last line del /s /f /q "%SystemRoot%\systemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" , but sometimes (not always) i get the error "access denied"
    why ?
     
  12. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,052
    60
    Sometimes Windows restarts it too fast or it is not yet terminated and you can not remove exe, when it is running.
     
  13. rayleigh_otter

    rayleigh_otter MDL Expert

    Aug 8, 2018
    1,121
    933
    60
    Get creative :cool:, x-mouse settings to activate a window, open folders and be quick. A 2nd os is handy :)

    Forget permissions, run Everything from Power Run, havnt found a file yet i can move or delete.
     
  14. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,052
    60
    I try to avoid nsudo, psexec and such. Too powerful tools kept in the computer could be easily used by malware, just like it abuses task scheduler, wmi, powershell, etc.
     
  15. rayleigh_otter

    rayleigh_otter MDL Expert

    Aug 8, 2018
    1,121
    933
    60
    I know a lot of stuff uses nsudo but i prefer the simple drag and drop of power run. :)
     
  16. allmythy

    allmythy MDL Member

    Feb 15, 2010
    107
    14
    10
    could you write me how to this ? ;)
     
  17. allmythy

    allmythy MDL Member

    Feb 15, 2010
    107
    14
    10