LVCVA Posted September 19, 2007 Share Posted September 19, 2007 Hello, I am fairly new to AutoIT. I am testing a script that writes information to HKLM in Vista. It works fine when running it on XP but not Vista. To simplify my testing, I am just running the following taken directly from the online Help: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "TestKey", "REG_SZ", "Hello this is a test") I compiled this into an EXE and like I say, it creates the key in XP but not in Vista. I downloaded the new version of AutoIT (v3.2.8.1) lastnight and created this What am I missing here? Link to comment Share on other sites More sharing options...
LVCVA Posted September 19, 2007 Author Share Posted September 19, 2007 Nevermind. I just discovered #RequireAdmin and this fixed the issue. (See I told you I was new).Hello,I am fairly new to AutoIT. I am testing a script that writes information to HKLM in Vista. It works fine when running it on XP but not Vista. To simplify my testing, I am just running the following taken directly from the online Help:RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "TestKey", "REG_SZ", "Hello this is a test")I compiled this into an EXE and like I say, it creates the key in XP but not in Vista. I downloaded the new version of AutoIT (v3.2.8.1) lastnight and created thisWhat am I missing here? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now