PowerShell command to PIN apps to Windows taskbar

Viewing 1 reply thread
  • Author
    • #1557789
      Dennis Stroble
      Member Points: 161
      Rank: 2

      I’m looking for a PowerShell command or script that will pin these applications that I commonly use to the Windows taskbar at the bottom of Windows. (I have included the path to these programs):

      1. Computer management. Path: %windir%\system32\compmgmt.msc

      2. The Windows PowerShell icon. Path: %windir%\System32\WindowsPowerShell\v1.0\powershell.exe

      3. The Task Scheduler icon Path: %windir%\system32\taskschd.msc

      4. The command prompt icon. Path: %windir%\system32\cmd.exe

      5. The Internet Information Services (IIS) Manager icon. Path: %windir%\system32\inetsrv\InetMgr.exe

      6. The Notepad icon. Path: %windir%\system32\notepad.exe

      This script will mostly be used in environments where I don’t have access to Active Directory or Group Policy but where I can have the AD team put in a PowerShell script to run one time on several servers or where I will be running this PowerShell script whenever necessary on the individual servers and workstations that I am customizing.

      Someone wrote the following script which needs just a few more modifications until it will work properly:

    • #1560118
      Jake Blues
      Member Points: 101
      Rank: 2

      I found the directory where these shortcuts are strored.
      It was a hidden directory:
      C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

      Maybe this is helpfull for you?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
© 4sysops 2006 - 2021


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account