[Samba] GPO applied - icon not there

miguel medalha medalist at sapo.pt
Thu Mar 13 13:34:49 UTC 2025


> This is a Windows issue, not Samba's.
> Since October 2022 update of Windows 10, and due to security reasons, 
> remote paths in file shortcut icons have been disabled.
> They have to be expressly enabled through Local GPOs, but Microsoft
> deems it to be a security risk.
> I ended up editing the GPOs to copy icon files from the DCs'
netlogon/scripts 
> directory to a folder in the Public profile of the client computers and
applying 
> them to the network shortcuts and folders from there. This way, they are
local 
> resources and not considered as a security hazard by Microsoft.

You can apply them using the %PUBLIC% variable in the icon path. In my case,
I use %PUBLIC%\Pictures\Icons\someicon.ico





More information about the samba mailing list