

Simple, isn't it? Directly open Regedit at desired key with a script If clipboard content is text, it will be stored in cClipBoard variable. The code is as follows:ĬClipBoard=("text") It does not even require IE to be installed. It can be used to fetch clipboard content. The "htmlfile" ActiveX object is used to display HTML help and HTA files in Windows.
#Shadow of memories windows 10 how to#
How to fetch clipboard content with VBscript When regedit.exe is started after doing that, it will open directly at the key you want. So, the idea is to copy the full path of the desired registry key to the clipboard and replace the LastKey value with the copied value from the clipboard.

In these operating systems, Regedit doesn't include the address bar. In Windows 8.1/Windows 7/Windows Vista and Windows XP Once you hit the Enter key, the path will be automatically expanded to HKEY_CURRENT_USER\Control Panel\Desktop. So, when you need to go directly to HKEY_CURRENT_USER\Control Panel\Desktop, you can type the following in the address bar: hkcu\control panel\desktop

You can use shorthand notation for HKEY_* root key names. Since build 14942, the Registry Editor app in Windows 10 got an address bar, which displays the current Registry key path, and allows you to copy and paste it. If you are running Windows 10 build 14942 or above, you need no scripts of third party apps. Directly Open a Registry Key in Windows 10 Let me show how it can be done via Windows Scripting Host and VBScript. It is possible to utilize this feature to directly jump to the key you need. The LastKey value is used by Windows to store the last used key.Īs you can see, this is a per-user registry branch, so Windows stores the last used key for every user separately. Since Windows 2000, the Registry Editor is able to remember the last opened key before you closed it. This data is stored at the following registry key: HKEY_Current_User\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
