-1

Edit: The issue at this point is that a regular user is granted access to the registry and there is no prompt for administrative credentials whatsoever. Prior to changing permissions (See Scott's answer below) even an admin received an "Access Denied" error. After changing permissions any user can access regedit.

How do I get the system to prompt for admin credentials and then use them to run?

When executing "regedit" from either the "run" prompt or the command prompt I receive access denied error messages.

On the other systems on my network the user is prompted for administrative credentials instead of receiving an error. On this system there is no prompt. From the "Run" prompt I receive the error after typing Regedit:

"Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item"

From the command prompt I receive an error that simply states "Access denied".

If I escalate the command prompt (run it as an administrator) then regedit runs just fine. The problem is that the lack of a prompt for credentials might be related to other issues on the system.

As a note, using "mstsc" to attempt a remote desktop connection also causes this same problem. More "run" commands may do the same, though I have not tested this.

Is there a setting that forces a prompt instead of just giving an error?

11
  • What is the user's UAC level set at?
    – Wutnaut
    Commented Jul 1, 2014 at 19:14
  • @Wutnaut is right, UAC handle that behavior Commented Jul 1, 2014 at 19:19
  • It is set to "Always notify". Would be nice if it notified lol...
    – Shrout1
    Commented Jul 1, 2014 at 19:36
  • 1
    Maybe check your user-account's permissions on the actual file regedit.exe. Perhaps those are messed up somehow and you cannot read/execute the file, thus no UAC prompt. Commented Jul 1, 2014 at 19:44
  • Good thought however permissions on SysWow64 (and Regedit.exe) appear to be identical on this system to other systems that are not experiencing the error. Also worth noting that I am logged in as a domain administrator.
    – Shrout1
    Commented Jul 1, 2014 at 19:47

1 Answer 1

1

As conjectured by TheUser1024 and confirmed by the OP, the problem seems to be that “Users” don’t have Read & Execute permission to regedit.exe.

1
  • Thanks for the response! However my concern is that I am never prompted to elevate the user credentials. I would like for a regular user account to type regedit into the run prompt and for UAC to prompt for admin credentials. After changing permissions it never prompts for credentials at all, just executes as a regular user, which it shouldn't do at all!
    – Shrout1
    Commented Jul 9, 2014 at 17:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .