How Can I Pin “Restart” to My Taskbar?

It can be a single click away.

I'll show you how to put a one-click restart button right on your taskbar. The skills you'll pick up along the way are useful far beyond restarting.
Applies to Windows: 11
A desktop computer with a large external pushbutton connected labelled "RESTART". A Corgi sits next to the button with his paw over it as if ready to push it.
(Image: Gemini)
Question: For a variety of reasons, I restart my computer fairly regularly. Is there a way to get an icon on the taskbar I can just click?

Sure. I’ll show you how.

I question your need to restart so frequently, but I’ll trust your motives.

Besides, the technique I’ll show you applies to more than just restarting.

TL;DR:

One click restart

Tired of clicking through three menus every time you restart your computer? You can turn that into a single click by creating a desktop shortcut, giving it a custom icon, and pinning it to your taskbar. Even if a one-click restart isn’t what you need, you can use these same tricks for other programs, too.

Traditional restart

A typical way to restart your computer involves three clicks:

  • Right-click on the Start button.
  • Click on Shutdown or sign out.
  • Click on Restart.
Traditional restart sequence on the Start menu.
Traditional restart sequence. (Screenshot: askleo.com)

But perhaps that’s two clicks too many.

Restart shortcut

We’ll start by creating a shortcut on your desktop. That shortcut will run the “shutdown” command with parameters to perform an immediate restart.

Right-click on an empty area of the desktop. Click on New and then Shortcut. Enter the following as the “location” of the item:

shutdown /r /t 0

“/r” means restart, and “/t 0” means with a time delay of zero seconds, meaning immediately. (Note that there are spaces between each of the parameters.)

You should see something similar to this:

Creating a shutdown shortcut.
Creating a shutdown shortcut. Click for larger image. (Screenshot: askleo.com)

Click Next and give the shortcut a name, like “Restart”. The result will be a desktop shortcut.

Restart shortcut.
Restart shortcut. (Screenshot: askleo.com)

If you were to double-click this, your machine would restart.

We’re down to two clicks. Before we get it down to one, let’s make the shortcut look more distinctive.

Customizing the shortcut icon

As we’ll see in a moment, we’re on a path to a one-click restart. That means we’ll want the shortcut to be easily identifiable to avoid clicking on it accidentally.

Right-click on the shortcut and then click on Properties.

Restart shortcut properties.
Restart shortcut properties. Click for larger image. (Screenshot: askleo.com)

Click on Change Icon… and you will likely get an error message.

No icons error.
“No icons” error. (Screenshot: askleo.com)

Not a problem. Click OK, and you’ll be shown the icons contained in the system file “SHELL32.DLL”.

Icons in shell32.dll.
Icons in shell32.dll. (Screenshot: askleo.com)

There are dozens of icons to choose from. Scroll through the list, click on the icon you want to use, and click on OK. Click on OK again to close Properties. Your desktop shortcut will change.

The restart icon I selected.
The restart icon I selected. (Screenshot: askleo.com)

Now we’re ready to remove one more click.

Pin it to the taskbar

Right-click on the shortcut and click on Show more options.

Full right-click menu for shortcut.
Full right-click menu for shortcuts. (Screenshot: askleo.com)

Click on Pin to taskbar.

Now your shortcut will be visible on the taskbar.

Restart shortcut on the taskbar.
Our restart shortcut on the taskbar. (Screenshot: askleo.com)

A single click on that shortcut will now restart your machine.

Do this

While having a one-click restart seems a tad unusual, the techniques I’ve outlined above — creating a shortcut, changing its icon, and pinning it to the taskbar — can all be used for many other situations and programs. Even if you don’t need such an accessible restart, you now have tools you can use for other, perhaps more common, reasons.

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

Podcast audio

Play

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.