Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to add some .reg file info to windows registry using command line utility.

regedit /s myregfile.reg

I am able to add tree in registry in 32-bit and 64-bit windows XP machine. But when i do same for windows vista 64-bit machine , it does not add the tree into registry.

Why is does not work in vista 64-bit OS and Can anybody suggest me how to do it for vista 64-bit ?

share|improve this question

migrated from Jan 8 '10 at 9:34

This question came from our site for professional and enthusiast programmers.

What registry keys do you modify with that file? Could it be that you simply don't have permission to access them? Remember that the user in Vista does not by default has administrative privileges, even if they are an Administrator.

share|improve this answer
Even I also though for it but I have admin access still i am not able to do so. – Mac Jan 8 '10 at 8:42

Try to run the command line as administrator (Start -> Run -> Type 'cmd' -> Ctrl Enter

share|improve this answer

Have you looked for the key under HKLM\Software\Wow6432Node - see

share|improve this answer
I think this might well be the case. (Was about to write that myself. ) – Macke Sep 28 '10 at 18:14

You must log in to answer this question.

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