Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Jan 8 '10 at 9:34

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

3 Answers 3

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 http://www.windowsitpro.com/article/internals-and-architecture/what-s-the-wow6432node-under-the-hkey_local_machine-software-registry-subkey-.aspx

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.