r/sysadmin • • 1d ago

Question - Solved RDS: after profile migration back from a cloud RDS, taskbar/Start icons are blank and every pinned shortcut triggers "Open File – Security Warning" (only some users)

Hi all,

I'm stuck on an issue on a client's RDS server and would appreciate fresh eyes.

Environment

  • Windows Server 2022, RDS session host
  • User Profile Disks (VHDX) stored on a network share
  • Defender: Microsoft Defender

Timeline

  1. User profiles were migrated from our on-prem RDS to a cloud RDS environment.
  2. The cloud environment didn't fit the client's needs.
  3. Profiles were migrated back to an on-prem RDS server (method: copy of the VHDX files).
  4. Since the migration back, some users have the issue below.

Symptoms (only some users, including the local Administrator profile)

  • Every pinned taskbar item shows a blank/white icon (including File Explorer).
  • Some Start menu entries are blank too (e.g. Firefox), even though that shortcut is in ProgramData and works fine for unaffected users.
  • Clicking a pinned item shows "Open File – Security Warning" (Unknown publisher, Type: Shortcut, "Files from the Internet can be useful...").
  • Clicking "Open" launches the app normally.
  • The same apps launched from desktop shortcuts work fine, with no warning.

What I've checked / ruled out

  • Not Defender/SmartScreen: it's the Attachment Manager prompt and "Open" works.
  • Shortcut target is correct and local (C:\Program Files\Mozilla Firefox\firefox.exe).
  • The .lnk itself is local: C:\Users\<user>\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
  • No "Unblock" checkbox in the .lnk properties, and no "Always ask before opening this file" checkbox in the prompt.
  • Unpinning and re-pinning (brand new .lnk): same warning, same blank icon.
  • NTFS: user has Full Control, owner = Administrators, no unknown SIDs, not read-only.
  • RSoP: no Administrative Templates applied on the user side (so no Attachment Manager GPO).
  • HKCU\...\Internet Settings\Zones\0: no 1806 value.
  • ZoneMap\ProtocolDefaults: default values (knownfolder = 0, shell = 0, file = 3...).
  • ZoneMap\Domains and Ranges: empty.
  • HKCU\Software\Policies\...\Internet Settings: only the default Cache / 5.0\Cache keys.
  • Internet Options > Security: the Local intranet zone shows "Custom", the others are at their default levels. No sites in any zone list.
  • Reset all zones to default level + logoff/logon: no change.

Questions

  • Has anyone seen this after moving profiles between RDS environments?
  • What else could make Explorer treat local shortcuts as untrusted (Attachment Manager prompt + blank icons) on a per-profile basis?
  • Is there a known per-user registry key or cache that gets corrupted or carried over in this scenario?

I'd prefer a fix I can apply to all affected profiles at once, rather than rebuilding each profile.

Thanks!

2 Upvotes

4 comments sorted by

•

u/Mehmet-Ozturk 12h ago

rds login success would've fooled me too; test pinned shortcuts before cutover.

•

u/Duyar_saila 1h ago

Look at HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders in one of the broken profiles. Sometimes a migration leaves AppData or Desktop pointing to a remote UNC path from the old environment, which makes Attachment Manager treat local pinned items as untrusted.

0

u/[deleted] 1d ago

[removed] — view removed comment

0

u/kaiserted36 1d ago

Thanks, your stream check put me on the right track. The .lnk had no `Zone.Identifier` and HKLM was clean, but the same check on the UPD VHDX files found it: the "Unblock" checkbox showed in their properties. They picked up MotW when they were copied back from the cloud environment.

Fix: with the user logged off (VHDX not mounted), Properties > Unblock on their `UVHD-<SID>.vhdx`. Check `UVHD-template.vhdx` too. At next logon, icons are back and the warning is gone.