Thank you for the screenshot. It confirms that your User Preference keys (DetailedStatusApp and LockScreenWidgetsEnabled) are correctly set to "off" in the registry. The fact that the "Weather and more" widget persists despite this indicates that the Windows Widgets Platform is enforcing its default behavior at the machine level, effectively ignoring the user-level suppression.
This is a common behavior in Windows 11 23H2/24H2: if the Widget engine is "Allowed" by policy, it often repopulates the lock screen overlay regardless of the DetailedStatusApp value.
Here is the targeted solution to disable the Widgets only on the Lock Screen (keeping the Web Experience active for the user session) by enforcing the Dsh (Device Shell) policy via registry.
1. The "Dsh" Policy Enforcement (The Missing Link)
You mentioned trying Intune/GPO earlier, but there was likely a logic inversion (explained below). To fix this immediately via your script/registry, you must apply the Machine Policy key that corresponds to "Disable Widgets on Lock Screen". This key takes precedence over the user's settings.
Run this in your PowerShell script (requires Admin/System privileges):
Registry Path: HKLM\SOFTWARE\Policies\Microsoft\Dsh
Value: DisableWidgetsOnLockScreen = 1
=>This is the direct registry equivalent of the Group Policy "Disable widgets on Lock Screen." By setting it to 1, you are turning the Restriction ON, which forces the widgets OFF.
2. The Intune/GPO Logic Correction
In your previous message, you noted: "Notice that a value of '1' means Disabled for this policy... result is Disabled."
This is the critical friction point. In Windows Policy (ADMX/Intune):
Policy Name: "Disable widgets on Lock Screen"
Your Setting: "Disabled" -> This translates to "Do NOT Disable widgets" -> Widgets are ALLOWED.
Correct Setting: "Enabled" -> This translates to "YES, Disable widgets" -> Widgets are BLOCKED.
If you prefer to use Intune over the registry script, you must change that specific policy assignment to Enabled.
3. Cleaning the Content Feed (Optional)
If the above Dsh key works, this step is redundant. However, if you want to be thorough, you can also unregister the specific "Weather" content subscription in the user hive.
Registry Path: HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
Value: SubscribedContent-338387Enabled -> Set to 0.