Strange behavior with registry key set by Windows11debloater V1.9

Discussion in 'Windows 11' started by Ufomula, May 17, 2023.

  1. Ufomula

    Ufomula MDL Novice

    Oct 7, 2021
    2
    1
    0
    It took me a while to fix the problem and I don't know if my method is the best but I would like to share the problem I discovered on my fully patched Windows 11 Home 22H2 (French version) as it might help someone else. Maybe someone familiar with Windows internals could explain us the real problem?

    My laptop is brand new and the USB interfaces work like a charm but after using windows11debloater v1.9 to get rid of a lot of stuff, I couldn't eject any USB HDD/SDD or thumb drive anymore. The icon on the notification is visible but no popup on it. If I run
    C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL hotplug.dll
    the program tells me that my media is not removable but it is still recognized as removable when I check drivers/devices .

    After a while, I realized that if I created a new user the problem disappeared for this login.

    Finally, after many attempts, I isolated the problem: It seems to be on Telemetry where a “guilty” key is created by the following PS command
    Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "HungAppTimeout" -Type DWord - Value 4000
    Once I run this PS command I get this eject denial. And worse, it's not possible to use windows11debloater to roll back because the value is just changed to 5000 and not removed. If I erase the key (+ logout/relogin) It restarts to work!!. To erase the key, I use the PS command:
    Remove-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "HungAppTimeout"

    BTW: This is not a "side effect" with the other changes made by windows11debloater. I tried running this PS command only on a new user login and the problem occurs and using my "fix" it went away.
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,532
    450
    Best to ask from where you got the "debloater" from.
     
  3. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,398
    2,384
    60
    Pretty certain he is talking about MDL member @Davidgamerthumbs' FreeTimeTech Software

    Perhaps it is worth mentioning to @Ufomula that said same member produces the wrapper (GUI Frontend) for @farag's Sophia Script (also here at MDL), a more comprehensive solution... along the same theme
     
  4. vladnil

    vladnil MDL Senior Member

    Jan 19, 2019
    472
    321
    10
    #4 vladnil, May 17, 2023
    Last edited: May 17, 2023
    Used Privatezilla on Windows 11 to disable telemetry, etc. After rebooting, Explorer does not open on version 23440, 23451 on another version 22624 all ok.
    Very unclear why explorer stops working and also Control Panel does not open.

    If you create another user, the explorer works.
    I suggest using WhatChanged or its registry modification analogues. (1.The problem appeared 2.Created a new user 3. Made a snapshot of the registry. 4. Figured out what changes were made to the registry 5. Make those changes on the inoperable computer).
    Logically, everything should work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Ufomula

    Ufomula MDL Novice

    Oct 7, 2021
    2
    1
    0
    To be honest, I'm now pretty sure that I haven't used the best tool to clean my new Win11 system, but there are so many... (at least there are about 6 described in this forum.. .).
    I think the only thing to keep in mind is the behavior of this registry key - no more. Next time I will use this "Sophia Script" which seems easier to use.;-) - thanks for the link
     
  6. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,256
    1,153
    60
    I have set the value to 25000, because if the value is too low, Windows assumes that the app has crashed and it closes it or any related process tree. Eject process can take more than 5 secs from the start to finish.