>NULL: November 2023

Friday 24 November 2023

Get a list of user SIDs in CMD

 There are plenty of complex queries for this task but the simplest way to get a user's SID is just to list them all. 

wmic useraccount get name,sid


 

Tuesday 21 November 2023

Start menu stops working in Windows Server 2019 & 2022

 You find that the Start button does nothing when left-clicked, you still get the Win+X menu when right-clicking.

This article has a great writeup. I have found the solution does work, although users will see a delay when logging off.

https://www.phy2vir.com/windows-server-2016-2019-rds-server-black-screen-or-start-menu-not-working/

If you are fully patched add the following reg key.

Add “DeleteUserAppContainersOnLogoff” (DWORD) in “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy” and set it to 1. 

It's worth reading the whole article linked above as it explains the issue better and there is a script which can help with removing extra firewall rules that contribute to the issue.