win7 reg import UAC

(imported topic written by ltd200991)

Hi everyone,

We’ve tried everything from running a .vbs script that imports a registry file running as administrator to command line tools (such as elevate.exe) to successfully import registry keys in win7 with bigfix but have failed…

Has anyone been able to successfully do this?

Our scripts all run , report no errors but the reg keys simply dont import.

thanks!

(imported comment written by MattBoyd)

what reg keys are you trying to import?

(imported comment written by ltd200991)

We’ve actually had no success importing any keys , the last test we did was creating a new custom key in HKLM\Software…

Really strange, if you double click the script we use on a win7 machine it prompts you for UAC and then imports the key successfully, but if executed with bigfix nothing happens…

Just wondering if maybe this is a known bug or there is a work around because of the new security in win7…

(imported comment written by MattBoyd)

I’ve done imports many times on Win7. Is it 64-bit win7? Can you post your REG IMPORT command, or perhaps the action script? What version of TEM are you running?

(imported comment written by ltd200991)

Thanks for responding BOYD…

We have tried

waithidden cmd.exe /c regedit /s c:\test.reg

dos regedit /s c:\test.reg

and the same for reg import…

from what we think is happening UAC is blocking it…

(imported comment written by ltd200991)

64 bit win7.

(imported comment written by ltd200991)

just figured it out!

thanks…

(imported comment written by MattBoyd)

I’m glad you figured it out. I’m guessing it was… WOW64 redirection?

(imported comment written by ltd200991)

Actually,

we cant seem to figure out how to get bigfix to import a .reg key into the 64bit registry rather than the wow64 redirection… is it possible? or is it because our client is running in 32bit that it cant ?

(imported comment written by nberger91)

see post http://forum.bigfix.com/viewtopic.php?id=2090

(imported comment written by ltd200991)

thank you!