Solved Can I pin the power options to the taskbar?


Gerd

Active member
Local time
7:54 PM
Posts
7
OS
W11
I was searching the forum for this option. I would like to pin the power options to my taskbar.
Anybody knows how to do that?

I am using W11 pre-release 22523 on my Mac with Parallels 17.1.1.
 

My Computer

System One

  • OS
    W11
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 5620
    CPU
    12th Gen Intel(R) Core(TM) i5-1240P 1.70 GHz
    Memory
    24
    Hard Drives
    512 GB SSD
The way I read your post, it could be referring to two different things.
If you happen to be referring to power options in control panel make a shortcut to
"C:\Windows\System32\cmd.exe" /k %windir%\system32\control.exe /name Microsoft.PowerOptions
Name your shortcut Power Options
On desktop right click on the shortcut you made and change its icon (otherwise it will look like a regular cmd icon)
Then right click on the new icon and select pin to taskbar, delete icon from desktop if you wish

If you are referring to Power Menu there's no way to get the entire power menu in one shortcut that I've been able to find. @JMedlock83 suggestion will only shut the computer down.
I had to make 3 separate shortcuts on my desktop. Restart and Shutdown can be pinned to the taskbar, Sleep cannot.

If you want icon for RESTART make shortcut to C:\Windows\System32\shutdown.exe /r /t 0

Another shortcut for SHUTDOWN is C:\Windows\System32\shutdown.exe /s /t 0

Making a shortcut for SLEEP is not as straightforward but with the help of @SlicEnDicE I was able to do it. You can see that post HERE.
To accomplish this, Unzip the 2 attached files. Copy the sleep.bat and sleep.vbs to the root of your C: drive
On desktop make a shortcut to C:\Sleep.vbs name it Sleep
Give it a new icon. Due to Windows restrictions you will not be able to pin this one to your taskbar.

(If you want to view the contents of the files open them with notepad)
If you don't want to mess with a bunch of shortcuts you can access the power menu with keyboard shortcut Win key+x
 

Attachments

  • sleepbat.zip
    231 bytes · Views: 3
  • Sleepvbs.zip
    252 bytes · Views: 3

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3296
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 +256gb ssd+512 gb usb m.2 sata
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Hi glasskuter,

These 2 worked for me
If you want icon for RESTART make shortcut to C:\Windows\System32\shutdown.exe /r /t 0
Another shortcut for SHUTDOWN is C:\Windows\System32\shutdown.exe /s /t 0

Thank you very much for your help.
Gerd
 

My Computer

System One

  • OS
    W11
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 5620
    CPU
    12th Gen Intel(R) Core(TM) i5-1240P 1.70 GHz
    Memory
    24
    Hard Drives
    512 GB SSD
Hi, Gerd, and welcome to ElevenForum!

It's customary here for the recipient of help to thank the helping member by clicking the Like (thumb up) icon at the bottom of the helper's post, and then clicking either Like, Helpful, or Great Support. That action both thanks the helper and gives him or her some additional credit on this site toward rank and badges.

Consider doing that when you have a moment.

And welcome again.

Dan
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 22631.3296
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i7-9700 @ 3.00GHz
    Motherboard
    Lenovo 3132
    Memory
    32GBDDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    1 x Samsung 970 EVO PLUS 500GB NVMe SSD, 1 x WD_BLACK SN770
    250GB NVMe SSD (OS and programs), 1 x WD_BLACK SN770
    500GB NVMe SSD (Data)
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome, sometimes Firefox
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • Operating System
    11 Pro 23H2 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80GHz
    Motherboard
    Lenovo 3132
    Memory
    32GB DDR4 @ 2600MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 970 EVO PLUS NVMe; 1 x Samsung 980 NVMe SSD
    Case
    Lenovo Think Centre SFF
    Mouse
    LogiTech M510 wireless
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender, beautiful together
Per the thread title, "can I pin the power options to the taskbar?"

I already have the shortcut icons sitting on my desktop, but I want them to reside on the Taskbar like I could in Win10/8/7/etc.

On a computer where I had done that in Win10 and did an in-place upgrade to Win11, the shortcuts stayed on the Taskbar after the upgrade, but now on a new computer that arrived with Win11 installed, I can't drag the shortcuts to pin them to the Taskbar.


EUREKA! I figured out a way!

- open any third-party app (I used CoreTemp) & pin it to the Taskbar
- close the app (just to be safe)
- <right-click> on the newly-created Taskbar icon
- <right-click> again on the name of the app in the pop-up
- click on Properties
- replace the "Target:" with the new one, e.g. "C:\Windows\System32\shutdown.exe /s /f /t 00"
- replace the "Start in:" with the new one, e.g. "C:\windows\system32"
- click on "Change Icon..." to choose a new icon
- click on the General tab and rename the shortcut, e.g. "Shutdown"

You may need to restart Explorer to see the full effect of the change (i.e. to display the new icon), or a reboot will do the same.

So, now I have my trusty Shutdown & Restart icons right where I want them: On the Taskbar!

a.jpg
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 version 21H2 (OS Build 22000.469)
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre X360 14
    CPU
    i7-1195G7
    Memory
    16GB
    Monitor(s) Displays
    external 24" Dell P2415Q
    Screen Resolution
    3840 x 2160 on external Dell, 3000 x 2000 on laptop screen
    Hard Drives
    1TB SSD with 32GB Optane cache
    Browser
    Vivaldi, Comodo Dragon, Edge
    Antivirus
    Avast (free version)
  • Operating System
    Windows 11 Pro, 21H2 (Build 22000.376)
    Computer type
    Tablet
    Manufacturer/Model
    Surface Pro 6
    CPU
    i7-8650U
    Memory
    16 GB
    Graphics card(s)
    iGPU (Intel® UHD Graphics 620)
    Monitor(s) Displays
    Dell P2415Q
    Screen Resolution
    3840 x 2160 on external Dell, 2736 x 1824 on SP6 screen
    Hard Drives
    512GB PCIe Gen 3 x2 SSD
    Browser
    Vivaldi, Comodo Dragon, Edge
    Antivirus
    Avast (free edition)

Latest Support Threads

Back
Top Bottom