Print View

How to prevent the Powershell and Server Manager icons being pinned to the taskbar for each user

Issue

When a user first logs onto a Windows Server 2008 R2 Remote Desktop Services, the Powershell and Server Manager icons will be pinned to the taskbar. In a secured environment this may be undesirable.

Resolution

To prevent this, remove permissions from the source icons for Users and Everyone.
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell" /T /inheritance:d
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell" /T /remove:g "BUILTIN\Users" Everyone
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Server Manager.lnk" /inheritance:d
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Server Manager.lnk" /remove:g "BUILTIN\Users" Everyone

Products

Microsoft Windows Server 2008 R2 RTM

Created: 28th July 2010
Updated: 23rd September 2010

Print View

© 2005-2024 Jamie Morrison