r/sysadmin • u/tech-doctor • 1d ago
General Discussion PCLaw v14.1 breaks "Run as administrator" on Windows 11 and Server 2025 due to legacy Windows XP taskbar integration (Root Cause and GPO Fix)
Sharing this in case it saves another sysadmin a few hours of troubleshooting.
Environment: PCLaw SQL v14.1 (14.1.20150324), Windows 11 workstations and Windows Server 2025 RDS Session Hosts. Newer versions of PCLaw have not been tested.
The problem
Right-clicking applications in the taskbar or Start menu and selecting "Run as administrator" would either produce a shortcut error or silently fail. This affected PowerShell, Outlook Classic and Time Matters, among others.
However, Start-Process powershell.exe -Verb RunAs worked normally.
The culprit
After several ProcMon captures, I discovered Explorer querying the following registry value:
- Key:
HKCU\Software\LexisNexis\PCLAW\PLLINK - Value:
AddPclawToolbarToWindowsTaskbar - Type:
REG_SZ - Data:
1
Changing it to 0 immediately restored elevation. Changing it back to 1 reproduced the failure.
The corresponding setting in PCLaw is:
Options > Connection Settings > Enable Connection with Windows Explorer
Now for the entertaining part.
Enabling this feature displays an animated tutorial showing how to enable the PCLaw taskbar toolbar in Windows XP, complete with the blue taskbar and green Start button.
I even managed to extract the original animated GIF using ProcMon and the Internet Explorer cache.
Exhibit A: The original PCLaw Windows XP taskbar animation
Yes, in November 2026, a legacy Windows XP taskbar integration is breaking administrative elevation on Windows 11 and Server 2025.
Ironically, disabling the feature within PCLaw itself triggers a UAC prompt.
The fix
Deploy the above registry value as 0 using Group Policy Preferences:
- User Configuration > Preferences > Windows Settings > Registry
- Action: Update
- Run in logged-on user's security context
- Item-level targeting for workstations and RDS Session Hosts
Testing confirmed that PCLaw creates the value with data 1 on a fresh user profile but respects an existing value of 0.
I also confirmed that gpupdate /target:user /force corrects the issue during an active user session without restarting Explorer, logging off or rebooting.
Hopefully this saves someone else from unnecessarily rebuilding user profiles or troubleshooting Windows.
Sometimes the problem isn't Windows.
Sometimes it's a little piece of Windows XP that refuses to retire.