• 25,450
  • +1,014
  • 2,796
How to Enable Code Completion on Windows Registry (Command Prompt)

How to Enable Code Completion on Windows Registry (Command Prompt)

Bookmark

Type : Tips and Trick

Level : Easy

O.S : Windows 7 SP1

Have you ever try to connect or view your registry data using command prompt? when you’re digging to HKEY_LOCAL_MACHINE\blah\blah\blah you need to know the exact thing there and you also cannot use code completion (whooaa).

Of course this thing will make your life harder ๐Ÿ˜€ , that’s why today I write a simple tips and trick to make our life a little bit easier.

Requirements :

1. Command Prompt

Step by Step :

1. Open you command prompt (view the shortcut here)

2. As example, for the normal way you do query to registry is by using reg query command like this :

reg query "hklm\system\currentControlSet\Control\Terminal Server" /s

How to Enable Code Completion on Windows Registry (Command Prompt)

3. When I do above command, I need to remember the registry path without code completion and I think it’s quite hard to do that ๐Ÿ˜› .

4. Still in command prompt, now lets type powershell, and your command prompt will change like this :

How to Enable Code Completion on Windows Registry (Command Prompt)

5. Now if we try to query the registry content, to move from one to other path you just need to press your <TAB> to view the code completion (it was nice isn’t it?). Another thing that might take you by surprise is that you can "change directory" into the registry. Technically "cd" is an alias for Set-Location, but it still works the same as the "cd" you know and love from the other shells.

How to Enable Code Completion on Windows Registry (Command Prompt)

6. You can view the content by using ls command :

That’s it. Hope you found it useful ๐Ÿ™‚

Wait my next post about revealed the secret of USB. Register your e-mail now by clicking the link below to get the latest tutorial update directly from your e-mail.

Subscribe Now To Get Latest Tips and Trick on Your E-Mail

Share this article if you found this post was useful:

Blogger at hacking-tutorial.com. Love PHP, offensive security and web. Contact him at me[-at-]vishnuvalentino.com

See all posts by || Visit Website : http://www.vishnuvalentino.com

  • Hey! Thank you so much for this information as I was constantly facing problem with code completion. This is real help.