Pinning A Batch File To Windows 11 Taskbar


HDL

Active member
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
I found instructions on how to attach a batch file to Windows 11's taskbar here: Attach Batch File To Win 11 Taskbar .

To get right to my question, I followed everything it said to do, the file it creates is dependent upon the Command Prompt, and the batch file I created works great. Once the file has been created, using a shortcut on the Desktop, I am supposed to be able to right click it and eventually find the option to "Pin To Taskbar." I tried this on 3 Windows 11 computers and that option of "Pin To Taskbar" does not exist, at least for me it doesn't. I am wondering if anyone else has ever wanted to do this and if so, did you run into the same thing as I did?

I did manage to get the batch file, that was created by the instructions in the link above, pinned to the taskbar by dragging and dropping it there. I am just curious why the instructions in that link did not work for me. Any ideas would be appreciated.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

TairikuOkami

Brony
Power User
VIP
Local time
8:03 PM
Posts
650
Visit site
OS
Windows 11 Home
22H2 has removed the ability to pin everything to the taskbar, but you can rename it to .exe and once pinned, you can rename it back.
 

Attachments

  • capture_11042022_214803.jpg
    capture_11042022_214803.jpg
    33.4 KB · Views: 1

My Computer

System One

  • OS
    Windows 11 Home
    CPU
    AMD Ryzen 5 3600 (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1E (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC @48FPS (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz + FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB + 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm
    Keyboard
    HP Wired Desktop 320K Keyboard (04/22)
    Mouse
    HP Wireless Silent 280M Mouse (05/21)
    Internet Speed
    400/40 Mbps via RouterOS (05/21) + TCP Optimizer
    Browser
    Edge with Neeva (No FB/Google) + Brave for YouTube + LibreWolf for FB
    Antivirus
    NoAV + Binisoft WFC + NextDNS
    Other Info
    Headphones: Sennheiser RS170 (09/10)

TechnoMage2021

Well-known member
Member
VIP
Local time
2:03 PM
Posts
232
Location
Central Florida, USA
Visit site
OS
Win-11/Pro/64
Or, if you are comfortable that the batch file is exactly the way you want it, you can also convert it to an .exe file, using a program like "Bat2Exe".
The batch file will run faster as an .exe file, and no-one can mess with it.
Just a thought!
 

My Computer

System One

  • OS
    Win-11/Pro/64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer AX1200
    CPU
    AMD 2 Core/Athlon/64
    Motherboard
    Acer/AMD
    Memory
    Crucial, 4GB
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    24" Acer
    Hard Drives
    Crucial SSD 500GB
    PSU
    non OEM
    Case
    SFF Slimline
    Cooling
    OEM
    Keyboard
    eMachine, 101 key External
    Mouse
    Logitech USB Wireless
    Internet Speed
    varies
    Browser
    Firefox
    Antivirus
    Windows Defender, Super Anti Spyware
    Other Info
    Given to me as DEAD, and irreparable.
    I refurbished it, with a new SSD and max ram, and it's running Win-8.1 today.

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
22H2 has removed the ability to pin everything to the taskbar, but you can rename it to .exe and once pinned, you can rename it back.
I just have to wonder what MS is doing half the time. it seems like they are intentionally making things difficult for us. Thank you for the reply.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
Or, if you are comfortable that the batch file is exactly the way you want it, you can also convert it to an .exe file, using a program like "Bat2Exe".
The batch file will run faster as an .exe file, and no-one can mess with it.
Just a thought!
Thank you for that information. I am going to look into that "Bat2Exe" program.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
Or, if you are comfortable that the batch file is exactly the way you want it, you can also convert it to an .exe file, using a program like "Bat2Exe".
The batch file will run faster as an .exe file, and no-one can mess with it.
Just a thought!
I have to ask about Bat2Exe. I downloaded and converted the bat file I am using to an exe file. When I ran it, Malwarebytes immediately blocked and then quarantined it. Any thoughts on why that would have happened? The same code runs fine as a bat file and also as the file using the command prompt with the file created by the method mentioned in the opening post of this thread.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
Malwarebytes just did the same thing with the exe file created by Advbattoexeconverter.exe. I wish I could be certain these blocks were False Positives by Malwarebytes. I got a screen shot of Malwarebytes warning when running the exe file created by Advbattoexeconverter.exe. Any thoughts? I have created a ticket with Malwarebytes but it takes a week or two for them to reply, in most cases.
Blocked.jpg
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

Try3

Well-known member
Power User
VIP
Local time
7:03 PM
Posts
1,141
Location
The proper part of London
Visit site
OS
Windows 11 Home x64 Version 22H2 Build 22621.1194
I didn't make any notes about which thread I saw but I did see an explanation that these bat2exe utilities create exe files that, when run, extract the original bat file into temp folders then run it.
Perhaps MWB is reacting to an unknown exe file creating an 'executable' of its own?

Denis
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 22H2 Build 22621.1194

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
Malwarebytes just did the same thing with the exe file created by Advbattoexeconverter.exe. I wish I could be certain these blocks were False Positives by Malwarebytes. I got a screen shot of Malwarebytes warning when running the exe file created by Advbattoexeconverter.exe. Any thoughts? I have created a ticket with Malwarebytes but it takes a week or two for them to reply, in most cases.
View attachment 44313
I don't know. I hope Malwarebytes support people will eventually have an answer. Thanks for the reply.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

OAT

I never seem to know enough.
Member
Local time
12:03 PM
Posts
488
Location
San Diego, CA
Visit site
OS
Windows 11 Pro for workstation Dev
You know you can put any .cmd, .bat to the W11 taskbar by creating a shortcut to that bat file.
Right click on file properties and add explorer.exe before the name of your script.
You can then even choose any icon you like.
I included a screenshot of a batch file (cmd is the same) that kills multiple versions of Edge altogether.
Now that shortcut in order to pin it to the taskbar needs to be in "%APPDATA%\Microsoft\Windows\Start Menu\Programs",
which is where the content of the All Apps sub menu resides.

Screenshot 2022-11-05 191107.jpg
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro for workstation Dev
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Keyboard
    AZERTY
    Mouse
    MS Bluetooth
    Internet Speed
    ADSL
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Insider Beta
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
You know you can put any .cmd, .bat to the W11 taskbar by creating a shortcut to that bat file.
Right click on file properties and add explorer.exe before the name of your script.
You can then even choose any icon you like.
I included a screenshot of a batch file (cmd is the same) that kills multiple versions of Edge altogether.
Now that shortcut in order to pin it to the taskbar needs to be in "%APPDATA%\Microsoft\Windows\Start Menu\Programs"
View attachment 44322
Thank you for that information.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

das10

Active member
Member
Local time
7:03 PM
Posts
69
Visit site
OS
Windows 11
I see that your batch file is used for opening "Classic File Explorer Ribbon.bat/exe". Are you opening Explorer With Ribbon to the Home folder (as per: Classic File Explorer With Ribbon )?

If so, you can Right-Click the Desktop, click New > Shortcut ; and in the dialog box that appears, under "Type the location of the item:" enter the following line exactly as it appears:

Code:
powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Control Panel\"); Start-Sleep 0.75; $wshell.SendKeys("'^"lHome~'")}"

Then click Next, and Type the Name for the Shortcut and Finish. Once the Shortcut is created, Right-Click it, and in the Run option, select "minimised", then you can change the icon as you wish, and finally, Right-Click the Shortcut and select "Pin to Taskbar".

As a single complete command is used for the Shortcut, in this instance, it can do away with dependencies on any bat file.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    intel i7-8700 (non-K)
    Motherboard
    Asus Z370 TUF Gaming
    Memory
    32Gb
    Graphics Card(s)
    On-board Intel iGPU
    Sound Card
    On-board Realtek
    Hard Drives
    Samsung_SSD_850_EVO
    PSU
    Corsair Rm850X
    Cooling
    All air

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
I see that your batch file is used for opening "Classic File Explorer Ribbon.bat/exe". Are you opening Explorer With Ribbon to the Home folder (as per: Classic File Explorer With Ribbon )?

If so, you can Right-Click the Desktop, click New > Shortcut ; and in the dialog box that appears, under "Type the location of the item:" enter the following line exactly as it appears:

Code:
powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Control Panel\"); Start-Sleep 0.75; $wshell.SendKeys("'^"lHome~'")}"

Then click Next, and Type the Name for the Shortcut and Finish. Once the Shortcut is created, Right-Click it, and in the Run option, select "minimised", then you can change the icon as you wish, and finally, Right-Click the Shortcut and select "Pin to Taskbar".

As a single complete command is used for the Shortcut, in this instance, it can do away with dependencies on any bat file.
Thank you for the reply. I am opening it to the Documents folder. If I tried your code, as listed above in my quoting your post, could I change your "Home," that I bolded to"Documents and then follow the rest of your instructions? Also would I keep, I believe it is a 1, in front of Documents?
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
I answered my own question. It did work by changing Home to Documents. However, once again, Right Clicking the shortcut did not offer the option of "Pin to Taskbar." But, also once again, the shortcut that was created was able to be dragged and dropped on the Taskbar, which pinned it to the Taskbar. I believe that goes back to what was said above,
"TairikuOkami said:
22H2 has removed the ability to pin everything to the taskbar, but you can rename it to .exe and once pinned, you can rename it back."
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

OAT

I never seem to know enough.
Member
Local time
12:03 PM
Posts
488
Location
San Diego, CA
Visit site
OS
Windows 11 Pro for workstation Dev
In order to pin that shortcut to the taskbar, it needs to be in "%APPDATA%\Microsoft\Windows\Start Menu\Programs"

There is no need for any .exe or otherwise.

WinKey+R , paste "%APPDATA%\Microsoft\Windows\Start Menu\Programs" Enter
Put your shortcut there, now you can pin it to the taskbar.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for workstation Dev
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Keyboard
    AZERTY
    Mouse
    MS Bluetooth
    Internet Speed
    ADSL
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Insider Beta
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
In order to pin that shortcut to the taskbar, it needs to be in "%APPDATA%\Microsoft\Windows\Start Menu\Programs"

There is no need for any .exe or otherwise.

WinKey+R , paste "%APPDATA%\Microsoft\Windows\Start Menu\Programs" Enter
Put your shortcut there, now you can pin it to the taskbar.
Thank you for the reply however, I am not understanding what you mean. Do I paste "%APPDATA%\Microsoft\Windows\Start Menu\Programs" in the Run line that says Open, hit Enter and then it opens up some other window where I do what? What shortcut are you referring to, the desktop shortcut that I created by the above instructions or what? Sorry I just don't know what you mean.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

OAT

I never seem to know enough.
Member
Local time
12:03 PM
Posts
488
Location
San Diego, CA
Visit site
OS
Windows 11 Pro for workstation Dev
Copy the shortcut you want to see on the taskbar in "%APPDATA%\Microsoft\Windows\Start Menu\Programs"
Then Right click that shortcut you just copied and you will have the option to pin it to the taskbar.
I am sorry but I can't see any other way to explain it.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for workstation Dev
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Keyboard
    AZERTY
    Mouse
    MS Bluetooth
    Internet Speed
    ADSL
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Insider Beta
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
Copy the shortcut you want to see on the taskbar in "%APPDATA%\Microsoft\Windows\Start Menu\Programs"
Then Right click that shortcut you just copied and you will have the option to pin it to the taskbar.
I am sorry but I can't see any other way to explain it.
OK, thank you. I think I understand it now.
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

HDL

Active member
Thread Starter
Local time
2:03 PM
Posts
240
Visit site
OS
Windows 11 Pro ver. 22H2
Copy the shortcut you want to see on the taskbar in "%APPDATA%\Microsoft\Windows\Start Menu\Programs"
Then Right click that shortcut you just copied and you will have the option to pin it to the taskbar.
I am sorry but I can't see any other way to explain it.
I believe that by putting "%APPDATA%\Microsoft\Windows\Start Menu\Programs" in the run line it opens a folder. In that folder, I believe, I should copy the and paste the shortcut. If I have all that correct, are you then saying I should right click that shortcut and see if "Pin To Taskbar" is an available option?
 

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ACPI x64-based PC
    CPU
    12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
    Motherboard
    ASUSTeK - Prime Z690-P WIFI
    Memory
    64 GB DDR5
    Graphics Card(s)
    NVIDIA GeForce GTX 1650
    Sound Card
    NVIDIA High Definition Audio
    Monitor(s) Displays
    ViewSonic
    Screen Resolution
    1920 x 1080
    Hard Drives
    HDS72252 5VLAT80 2 Tb ssd Hard drive
    PSU
    850 Watt Power Supply
    Case
    19" high desktop
    Cooling
    A lot of fans
    Keyboard
    Logitech
    Mouse
    Logitech
    Internet Speed
    500 Mg
    Browser
    FF
    Antivirus
    Windows Defendor & Malwarebytes
    Other Info
    2 Asus Blu-Ray burners - BW - 16D1HT

OAT

I never seem to know enough.
Member
Local time
12:03 PM
Posts
488
Location
San Diego, CA
Visit site
OS
Windows 11 Pro for workstation Dev
Yes indeed.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for workstation Dev
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Keyboard
    AZERTY
    Mouse
    MS Bluetooth
    Internet Speed
    ADSL
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Insider Beta
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
  • Like
Reactions: HDL

Latest Support Threads

Top Bottom