Solved Send to in context menu


Dan,

Thanks again for your advice.

Asuswebstorage is not a manufacturer program but for web storage run by Asus (like Google Drive); I cannot find an option for context menu. Similarly with a brief look I cannot find explorer integration/ context menu for Acrobat and SuperASW.

Are you allowed to recommend better unlockers?

Thanks again

BillZ
 

My Computer

System One

  • OS
    windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Asus Vivobook flip
    CPU
    AMD Ryzen 7 5700 u
    Memory
    16Gb
    Graphics Card(s)
    AMD Radeon Graphics
    Monitor(s) Displays
    HDMI to TV
Okay, now maybe try this handy utility: Easy Context Menu.


Unzip it and run the ec_menux64.exe. When the program is open, click the third mouse from the left (the Cleaner), and when it opens select anything you see that is in your context menus and looks like useless junk. Click to select the line item, then click the Delete button.

After a restart, things should be much tidier and your context menus should be maximally useful again.
 
Last edited:

My Computers

System One System Two

  • OS
    11 Pro 23H2 22631.3447
    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.3527
    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
Are you allowed to recommend better unlockers?
Yep. We recommend software frequently here.

Try this one: Download Unlocker Portable - MajorGeeks

Doesn't have to be installed, doesn't jump onto your context menu, and doesn't come with any unwanted baggage.

Just park it somewhere and use it when you need it.
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 22631.3447
    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.3527
    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
Okay, now maybe try this handy utility: Easy Context Menu.


Unzip it and run the ec_menux64.exe. When the program is open, click the third mouse from the left (the Cleaner), and when it opens select anything you see that is in your context menus and looks like useless junk. Click to select the line item, then click the Delete button.

After a restart, things should be much tidier and your context menus should be maximally useful again.
Happy to see people use sordum.org programs. 🀘
 

My Computer

System One

  • OS
    Windows 11 21H2 Home Single Language
    Computer type
    Laptop
    Manufacturer/Model
    Hometech ALFA400C
    CPU
    I'm ashamed to talk about it...
    Motherboard
    There is no such a God, I only know mother-Earth
    Memory
    3GB :(
    Graphics Card(s)
    on-board
    Sound Card
    on-board
    Monitor(s) Displays
    (s) is too ambitious for me
    Screen Resolution
    1920*1080
    Hard Drives
    Samsung SSD 860 EVO 250GB (SSD)
    Samsung MBG4GC 32GB (SSD)
    PSU
    I was very young when I last saw a PSU
    Case
    ...
    Cooling
    My coldness is enough to cool the computer
    Keyboard
    A broken and very clean keyboard
    Mouse
    Rat King
    Internet Speed
    Slowest internet connection in Europe
    Browser
    ChromePortable / TorBrowser
    Antivirus
    Biontech
    Other Info
    I can simply say that I took the red pill and I am not happy with it.
Happy to see people use sordum.org programs. 🀘
@Feuer

Not sure why you're happy. Care to fill us in?

I'm a big fan of Easy Context Menu (which was recommended on 10Forums), Registry Jumper (my own discovery), and Defender Control (which was recommended on 10Forums). They work, they don't park on context menus, and they don't come with extra baggage. Win win win.

I use Defender Control when Disk Cleanup shows me that Windows Defender has more than ~20 MB of unneeded files stored. If I stop it long enough to press the OK key for Disk Cleanup to do its thing, DC removes most if not all of those files. Then I start WD again. Works for me.

Easy Context Menu is just an excellent program.

Reg Jumper just speeds up my registry editing, by making it unnecessary to paste the key path (carefully) into the blank at the top of the registry page. An easy, quick paste into RegJumper, and I'm there.
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 22631.3447
    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.3527
    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
Because, They are from my country and I am also in their forum.

They have very good utilities and they are all freeware.


For about regjumping; I have a vbs script to do it. I put a shortcut .lnk file on WinX menu so when I copy a registry adress, I just click on RegJump on the menu then I am there.

I recommend Windows Update Blocker and Firewall App Blocker from sordum.org.
 

My Computer

System One

  • OS
    Windows 11 21H2 Home Single Language
    Computer type
    Laptop
    Manufacturer/Model
    Hometech ALFA400C
    CPU
    I'm ashamed to talk about it...
    Motherboard
    There is no such a God, I only know mother-Earth
    Memory
    3GB :(
    Graphics Card(s)
    on-board
    Sound Card
    on-board
    Monitor(s) Displays
    (s) is too ambitious for me
    Screen Resolution
    1920*1080
    Hard Drives
    Samsung SSD 860 EVO 250GB (SSD)
    Samsung MBG4GC 32GB (SSD)
    PSU
    I was very young when I last saw a PSU
    Case
    ...
    Cooling
    My coldness is enough to cool the computer
    Keyboard
    A broken and very clean keyboard
    Mouse
    Rat King
    Internet Speed
    Slowest internet connection in Europe
    Browser
    ChromePortable / TorBrowser
    Antivirus
    Biontech
    Other Info
    I can simply say that I took the red pill and I am not happy with it.
For about regjumping; I have a vbs script to do it. I put a shortcut .lnk file on WinX menu so when I copy a registry adress, I just click on RegJump on the menu then I am there.

May I have a copy of your vbs, please?

To get to a desired Key upon opening the Registry, I currently use a batch file and a specimen shortcut [that I manually edit to refer to the Key I want]. I'd be interested in seeing alternative approaches.

Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Dan, thanks for all your help. the thread has moved on - should I mark as solved?

BillZ
 

My Computer

System One

  • OS
    windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Asus Vivobook flip
    CPU
    AMD Ryzen 7 5700 u
    Memory
    16Gb
    Graphics Card(s)
    AMD Radeon Graphics
    Monitor(s) Displays
    HDMI to TV
May I have a copy of your vbs, please?

To get to a desired Key upon opening the Registry, I currently use a batch file and a specimen shortcut [that I manually edit to refer to the Key I want]. I'd be interested in seeing alternative approaches.

Denis

I do not remember where I found that, probably sordum.org blog page or stackoverflow.
So credits go to its creator.

Code:
Dim objHTA
Dim cClipBoard
Dim WshShell
set objHTA=createobject("htmlfile")
cClipBoard=objHTA.parentwindow.clipboarddata.getdata("text")
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey", cClipBoard, "REG_SZ"
WshShell.Run "regedit.exe -m"
Set objHTA = nothing
Set WshShell = nothing

May I see your batch file?
 

My Computer

System One

  • OS
    Windows 11 21H2 Home Single Language
    Computer type
    Laptop
    Manufacturer/Model
    Hometech ALFA400C
    CPU
    I'm ashamed to talk about it...
    Motherboard
    There is no such a God, I only know mother-Earth
    Memory
    3GB :(
    Graphics Card(s)
    on-board
    Sound Card
    on-board
    Monitor(s) Displays
    (s) is too ambitious for me
    Screen Resolution
    1920*1080
    Hard Drives
    Samsung SSD 860 EVO 250GB (SSD)
    Samsung MBG4GC 32GB (SSD)
    PSU
    I was very young when I last saw a PSU
    Case
    ...
    Cooling
    My coldness is enough to cool the computer
    Keyboard
    A broken and very clean keyboard
    Mouse
    Rat King
    Internet Speed
    Slowest internet connection in Europe
    Browser
    ChromePortable / TorBrowser
    Antivirus
    Biontech
    Other Info
    I can simply say that I took the red pill and I am not happy with it.
Dan, thanks for all your help. the thread has moved on - should I mark as solved?

BillZ
You're welcome; yes, it has; yes, that would be a good idea. Don't forget to click Like, Helpful, and Great support wherever you think they're merited.
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 22631.3447
    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.3527
    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
I do not remember where I found
OK, thanks.
The Registry Key is manually written into the code and it makes use of LastKey.

May I see your batch file?

I've written a revised version at post #36

My own solution was my first attempt to make use of the LastKey facility of RegEdit.
- My batch file writes into the Registry Key
HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
into the item
LastKey
to trick the Registry into thinking that my desired Key was the last one selected before the Registry was last closed and is therefore the Key that RegEdit will show upon opening.
- I always thought of it as an interim solution but I've never got round to changing it.

1 A shortcut exists as a specimen. ShowRegKey-Sample.lnk
Target field: C:\Tools\Registry\ShowRegKey.bat "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
Target field - ShowRegKey-Sample.png
This is the bit that I find awkward. I cannot see the whole target field at once.

2 When I want a new Registry shortcut I click on a shortcut that exists in my menu system to copy #1 to my Desktop.
RegEdit - make new ShowRegKey shortcut.png
This second one is called RegEdit - make new ShowRegKey shortcut but its name is not used elsewhere.
Target field: %windir%\system32\cmd.exe /c "copy C:\Tools\Registry\ShowRegKey-Sample.lnk D:\Desktop /Y"

3 I then tailor the copy of #1 made on my Desktop and move it to whichever folder I want to keep it in. The original copy of the specimen, just for example, is in the folder that I keep all my UserAccounts\UserFolders info in so if I'm working on user folder setting up or faults I can choose the shortcut to get straight to the relevant Registry Key.


4 Shortcut #1 calls up a batch file ShowRegKey.bat and this sets the Registry item then runs RegEdit
Code:
:: This takes the Registry key passed by the shortcut to this batch file, opens RegEdit [for which Admin permission is needed], goes to the specified Registry key [if it exists]
:: Based on an idea in https://ss64.com/nt/regedit.html
::prompt $g
Set ThisKey=%~1
::Bail out if no argument has been passed
If "FF%ThisKey%FF"=="FFFF" GoTo Abort
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /v "LastKey" /d "%ThisKey%" /f
Start /b regedit
:Abort
::Pause to review outcome during testing
This batch file lives with all my other scripts within my folder C:\Tools - see Set up my Tools folder ditty - TenForums

5 I will probably [in the fullness of time or even later] replace steps 2,3 with a vbs procedure that involves use of an InputBox.
- If I end up leaving the job so long that it's after I've learnt PowerShell properly then I'll use that instead.
- The vbs [or PS] would be triggered by its shortcut in my menu system [as in step #2 above] and would call up an InputBox into which I'd paste the Key I wanted to use. It would then write the shortcut / amend the specimen shortcut.
- This would achieve the tailoring [my step #3] so I'd be ready to use the shortcut or move it to a suitable topic folder where it would sit ready for use.


All the best,
Denis
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
@Try3

I'm missing something in the first part of your post #31 above:

Isn't the default behaviour of RegEdit to open to the last key you accessed the last time RegEdit was closed?

That's how my registry editor works on all my machines, and I've never done anything I can remember to change that behaviour.
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 22631.3447
    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.3527
    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
Isn't the default behaviour of RegEdit to open to the last key you accessed the last time RegEdit was closed?

Yes. My tool abuses that facility to open the Key of my choice instead.

Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
You get the lastkey with your script, my vbs scripts write an address to LastKey then open regedit.
It just cheats the registry editor with its LastKey function.

I prefer bat scripts over powershell scripts
I have some powershell scripts, they are so slow. But powershell is more functional than cmd.

If I find solution with batch script, I use bat script instead of ps1.
vbs scripts are also useful you can hide any cmd command without any 3rd party tool.

sordum.org has a utility named RegJumper to do this regjumping job.
But it is enough to do it with vbs script.

And I see you have menu like windows 95's start menu. You can make menus with autohotkey scripts then you can convert them to exe files.
It might be handy to put them on system startup.
 

My Computer

System One

  • OS
    Windows 11 21H2 Home Single Language
    Computer type
    Laptop
    Manufacturer/Model
    Hometech ALFA400C
    CPU
    I'm ashamed to talk about it...
    Motherboard
    There is no such a God, I only know mother-Earth
    Memory
    3GB :(
    Graphics Card(s)
    on-board
    Sound Card
    on-board
    Monitor(s) Displays
    (s) is too ambitious for me
    Screen Resolution
    1920*1080
    Hard Drives
    Samsung SSD 860 EVO 250GB (SSD)
    Samsung MBG4GC 32GB (SSD)
    PSU
    I was very young when I last saw a PSU
    Case
    ...
    Cooling
    My coldness is enough to cool the computer
    Keyboard
    A broken and very clean keyboard
    Mouse
    Rat King
    Internet Speed
    Slowest internet connection in Europe
    Browser
    ChromePortable / TorBrowser
    Antivirus
    Biontech
    Other Info
    I can simply say that I took the red pill and I am not happy with it.
You get the lastkey with your script, my vbs scripts write an address to LastKey then open regedit.
My tool also writes an address to LastKey.
- Our tools essentially do the same thing.
- Mine was an attempt to refine things more by easing the point at which the custom entry is written [the desired Key]. But a shortcut's Target field is small & editing it is quite fiddly.
- My low priority aim to improve the script will be an attempt to refine things even more by further easing the point at which the custom entry is written [the desired Key] by using an InputBox [hence vbs / PS].

I have upgraded one computer to be my Win11 testbed.
- I have already resolved my major Win11 concern, using Taskbar Toolbars.
- I will also be working through all my existing scripts looking for Win11 problems.
- Until that is complete I will avoid all but essential script development.
- I'm not in any hurry. I don't intend to upgrade my main computers until at least 2023.

All the best,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
May I see your batch file?

I went ahead with an improvement to my previous solution because my last few posts refreshed my mind about the subject.
- I've tested the revised solution in both Windows 10 & Windows 11.
- My tests have included using spaces & ampersands in each variable.
- I have not written much error-checking into the scripts.

This revised solution also make uses of the LastKey facility of RegEdit.
My batch file writes into the Registry Key​
HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit​
to set the item​
LastKey
in order to trick the Registry into thinking that my desired Key was the last one selected before the Registry was last closed and is therefore the Key that RegEdit will show upon opening.​
This revised solution is not as neat as a PS solution could be.

1 When I want a shortcut to a Registry Key of interest I click on a shortcut, RegEdit - make new ShowRegKey shortcut, that exists in my menu system.
Menus shortcut.png


2 The shortcut, RegEdit - make new ShowRegKey shortcut, runs a VBS script to create the shortcut I need, which it places on my Desktop.
The VBS script asks me for:
2.1 The address of the Registry Key I want to open​
e.g. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders​
2.2 The name I want for the shortcut​
e.g.​
RegEdit shortcut - UserShellFolders​
2.3 The shortcut description [also called its Comment field and often referred to as its popup description]​
e.g.​
Link to Registry UserShellFolders Key​
The shortcut is created on my Desktop, which is my clearing house / work-in-progress location, and I move it to whichever folder I want to keep it in. The one made using the inputs shown above, just for example, is moved to the folder that I keep all my UserAccounts/UserFolders info in so if I'm working on user folder setting up or user folder faults I can use the shortcut to get straight to the relevant Registry Key.

RegEdit - make new ShowRegKey shortcut.vbs
Code:
' This tool creates a shortcut that will open the Registry at a chosen Key
' This tool was put together using VBS Help [2001 version] and [for the Arguments property] https://docs.microsoft.com/en-GB/troubleshoot/windows-client/admin-development/create-desktop-shortcut-with-wsh

''''''''''''''' Set the required variables '''''''''''''''
''''' RegistryKeyPath '''''
RegistryKeyPath = InputBox("Enter the chosen Registry address for the shortcut to point to [in full or using HKCU etc]", "1/3 Create a Registry address shortcut")
' check that the InputBox dialog has not been cancelled
If (RegistryKeyPath = "") Then
WScript.Quit
End If''''' RegistryShortcutName '''''
RegistryShortcutName = InputBox("Enter a name for the shortcut", "2/3 Create a Registry address shortcut")
' check that the InputBox dialog has not been cancelled
If (RegistryShortcutName = "") Then
WScript.Quit
End If''''' RegistryShortcutDescription '''''
RegistryShortcutDescription = InputBox("Enter an optional description for the shortcut [its popup]", "3/3 Create a Registry address shortcut")
' check that the InputBox dialog has not been cancelled
If (RegistryShortcutName = "") Then
WScript.Quit
End If
''''''''''''''' Create the shortcut '''''''''''''''
set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set objShellLink = WshShell.CreateShortcut(strDesktop & "\" & RegistryShortcutName & ".lnk")
objShellLink.TargetPath = "C:\Tools\Registry\ShowRegKey.bat"
objShellLink.Arguments = Chr(34) & RegistryKeyPath & Chr(34)
objShellLink.WindowStyle = 7
objShellLink.IconLocation = "%SystemRoot%\regedit.exe, 0"
objShellLink.Description = RegistryShortcutDescription
objShellLink.WorkingDirectory = strDesktop
objShellLink.Save


3 The shortcut runs, and passes the chosen parameter to, the batch file ShowRegKey.bat and this sets the
HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit​
entry
LastKey.​
This batch file lives with all my other scripts within my folder C:\Tools - see Set up my Tools folder ditty - TenForums

ShowRegKey.bat
Code:
:: This takes the Registry key passed by the shortcut to this batch file, opens RegEdit [for which Admin permission may be requested], goes to the specified Registry key [if it exists]
:: Based on an idea in https://ss64.com/nt/regedit.html
::prompt $g
Set "ThisKey=%~1"
::Bail out if no argument has been passed
If "FF%ThisKey%FF"=="FFFF" GoTo Abort
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /v "LastKey" /d "%ThisKey%" /f
:: Always open the Registry maximised
Start /MAX /b regedit
:Abort


Denis
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
I have just this moment made a correction to ShowRegKey.bat in my last post.
I changed the Set "ThisKey=%~1" line.

Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Still wish there were a solution rather than a workaround.
The new menu does look nice with the acrylic effect and modern icons.
I think such a core feature as Send to deserves a spot in the new UI.
No idea why MS decided to split the context menu into two.
I guess it's "their thing" (Settings - Control Panel, Edge - Internet Explorer etc.), all at the expense of the end user now having to take 2 steps for what used to take 1.
 

My Computer

System One

  • OS
    Windows 11
Still wish there were a solution rather than a workaround.
The new menu does look nice with the acrylic effect and modern icons.
I think such a core feature as Send to deserves a spot in the new UI.
No idea why MS decided to split the context menu into two.
I guess it's "their thing" (Settings - Control Panel, Edge - Internet Explorer etc.), all at the expense of the end user now having to take 2 steps for what used to take 1.

Hello, :-)

If you like, you can use the tutorial below to disable the new Show more options context menu to have the old context menu back by default.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom