CaptainGadget Posted March 22, 2009 Share Posted March 22, 2009 I have written a script that executes with no problems in Windows XP and Windows Vista (with UAC disabled) but the following commands will not function in Vista with UAC enabled:WinSetState()ControlSend()Send ()WinExists() is able to detect the window just fine but I can't seem to do anything with the window after that in Vista unless I have UAC disabled.The program I am working with is GoToMyPC's installer running in "Autosetup" mode (Command line: "gosetup.exe -s -a -s"). If it helps, the software can be found at GoToMyPC Setup DownloadI have scoured the web and this forum for anything I can find but have yet to come across even a kernel of relevance. Could it have something to do with the GoToMyPC software or is there something in AutoIT I'm missing? Link to comment Share on other sites More sharing options...
monoceres Posted March 22, 2009 Share Posted March 22, 2009 Have you tried adding #RequireAdmin to your script? Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
CaptainGadget Posted March 22, 2009 Author Share Posted March 22, 2009 Have you tried adding #RequireAdmin to your script?Yes, #RequireAdmin, is one of the first lines in the script and I am always executing the script with full administrator privileges. Thanks, for the suggestion, though Link to comment Share on other sites More sharing options...
BinaryBrother Posted March 22, 2009 Share Posted March 22, 2009 Is your script prompting for administrative privs? I know you said you had the #RequireAdmin bit in the code... But is it actually prompting? SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
CaptainGadget Posted March 22, 2009 Author Share Posted March 22, 2009 Is your script prompting for administrative privs? I know you said you had the #RequireAdmin bit in the code... But is it actually prompting?Yes. Vista does prompt me for access upon program launch. The script (and compiled exe) execute and launch the "gosetup.exe" software without any problems. The script is even recognizing the windows generated by the "gosetup.exe" software it launches. It just doesn't seem able to "take control" or "send Information" to any of the windows from the "gosetup.exe" software when UAC is enabled. BTW, I've also tried this on multiple Windows Vista systems so I am certain the problem is not related to a specific machine. Link to comment Share on other sites More sharing options...
klaauser Posted January 28, 2016 Share Posted January 28, 2016 Were you ever able to resolve this issue?? I'm running into the exact same thing on Win10... Link to comment Share on other sites More sharing options...
AutoBert Posted January 28, 2016 Share Posted January 28, 2016 (edited) Do you use Run or Shellexecute together with #Require Admin? Yes, test without #Require Admin. Edited January 28, 2016 by AutoBert 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