Skip to content

How to create shortcuts on user desktops

Rachel Bishop
Rachel Bishop|Updated February 10, 2026
Hero image illustration of PowerShell logo with rings.
Hero image illustration of PowerShell logo with rings.

TL;DR: You can create desktop shortcuts for your users with a simple PowerShell script and deploy it at scale using PDQ Deploy or PDQ Connect. This guide walks you through using a ready-made script, saving it as a .ps1 file, and deploying it locally or remotely so users can quickly find the apps they need.

You can create shortcuts on user desktops using a simple PowerShell script and deploy it at scale with PDQ Deploy or PDQ Connect. This approach lets you place application shortcuts exactly where users expect them, without manual setup on each machine.

In this guide, you’ll use a ready-made PowerShell script and learn how to deploy it locally or remotely. By the end, you can stop fielding tickets about missing apps and move on to more interesting problems.

How do I create a desktop shortcut using PowerShell?

First, you’ll use PowerShell to create a desktop shortcut file. You do not need to write this from scratch. The script below creates a shortcut to Notepad and can be reused for any application by changing the file path.

$TargetFile = "$env:SystemRoot\System32\notepad.exe" $ShortcutFile = "$env:Public\Desktop\Notepad.lnk" $WScriptShell = New-Object -ComObject WScript.Shell $Shortcut = $WScriptShell.CreateShortcut($ShortcutFile) $Shortcut.TargetPath = $TargetFile $Shortcut.Save()

Now, let's get this time-saving script on your machine as a .ps1 file.

1. Launch PowerShell ISE (that stands for Integrated Scripting Environment) as an admin.

2. Copy and paste the code above into the scripting block (the area with the white background by default).

A screenshot of the step "Copy and paste the code above into the scripting block"

3. Name the script and save it as a .ps1 file.

When you run the script, you should see a Notepad shortcut appear on your desktop.

Notepad shortcut appears on the desktop

Now, we have a shiny new script, ready to deploy. Let's deploy it to certain machines in our environment using PDQ Deploy and PDQ Connect.

PowerShell podcast logo

PowerShell power user?

Check out The PowerShell Podcast: a weekly exploration of tips and tricks to help you step up your PowerShell game.

How do I deploy desktop shortcuts using PDQ Deploy?

You can deploy desktop shortcuts at scale by packaging your PowerShell script in PDQ Deploy and running it on target machines. If you feel spoiled by our Package Library, don't fret — creating custom packages is a piece of cake!

We even have a step-by-step video on how to do this if you prefer that format instead.

Loading...

How to create a custom package in PDQ Deploy

1. Launch the PDQ Deploy console. Then, click New Package.

New Package dialog

2. Name your package. I’ll name mine Create Notepad Desktop Shortcut.

Give your package a name in PDQ Deploy

3. Click on Steps, and then click — you guessed it — PowerShell.

A screenshot of the step, "Click on Steps, and then click — you guessed it — PowerShell."

4. Give your step a name (I’ve named mine Deploy PowerShell Script), and then click Insert PowerShell Script...

PowerShell Script

5. Import your PowerShell script (the .ps1 file you created moments ago), and then click Save.

How to deploy custom packages using PDQ Deploy

Now, let’s deploy the custom package we just made.

1. From the PDQ Deploy console, find your package in the panel to the left. Right-click it, and then click Deploy Once.

Deploy Once in PDQ Deploy

2. Add your target machines, and click Deploy Now.

A screenshot showing a software deployment using PDQ Deploy

No, really — it’s that simple.

But if you’re feeling froggy, you can use PDQ Inventory to automate the installation process. Do this by creating a dynamic collection in PDQ Inventory. Additionally, you can schedule software deployments, automatically retry failed machines, use Wake-on-LAN, and much more.

Hey, they don’t call PDQ the Swiss Army knife for sysadmins for nothing!

How do I create desktop shortcuts using PDQ Connect?

The process to create shortcuts on user desktops using PDQ Connect looks very similar to what we just did in PDQ Deploy.

But PDQ Connect uses cloud-based deployments, making it easier to create desktop shortcuts on remote or off-network devices.

You know the drill — let’s make that custom package and then deploy it!

How to create a custom package in PDQ Connect

1. Launch PDQ Connect

2. From the PDQ Connect console, click Packages, then Create package.

Create package in PDQ Connect

3. Give your package a name. 

4. Click the drop-down menu next to Add install step. Then, click Add script step.

A screenshot showing the add script step in PDQ Connect

5. Give the step a name, and then click Import .ps1 to import your PowerShell script. Click Save.

A screenshot showing how to import a PowerShell script in PDQ Connect

How to deploy custom packages using PDQ Connect

Now, we can deploy our package. 

1. From the main screen in PDQ Connect, click Deployments, and then click Deploy.

A screenshot showing how to deploy a package in PDQ Connect

2. In the Search packages field, find the package you just created. Then, choose the devices or groups you want to deploy it to. Click Deploy.

A screenshot showing device and package selection in PDQ Connect

And you're done!


Now that you’ve cracked the code on creating shortcuts on user desktops in just a few clicks, I bet you’re wondering about other ways you can make your life as a sysadmin easier. My pro tip: You can automate patch management, gain real-time environment visibility, and support and secure your endpoints with PDQ Connect. Try it free for 14 days and kiss those repetitive, boring, I’d-rather-be-anywhere-but-here tasks goodbye.

Rachel Bishop
Rachel Bishop

At PDQ, Rachel wrote clear, accurate cybersecurity and IT content for practitioners and buyers. She holds a bachelor’s in technical writing, a master’s in communication, and completed a 14-week hands-on cyber defense program. Her background spans higher education, state government, edtech, cybersecurity, and IT software.

Related articles