query command

About this tag
The query command is a Windows command-line tool used to retrieve information from the registry, services, or other system components. In the context of WindowsForum.com discussions, users often encounter access denied errors when running reg query, particularly when querying registry keys under HKLM from a command prompt that is not elevated. Troubleshooting typically involves ensuring the command is executed with administrator privileges, checking user permissions, and verifying the exact registry path. The tag covers practical issues with executing query commands in Windows environments, including workarounds and solutions for permission-related failures.
  1. D

    Windows 7 access denied for "reg query"

    Trying to query the registry to return location of Windows SDK installation. The key exists. ******** paste from cmd.exe run as admin *************** D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64>reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /v...
Back
Top