Jump to content

IT_9600

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by IT_9600

  1. Hello, how can I read the complete Version and Build-Numer for Windows 10? If I execute "winver.exe" in windows command-line I get the Build "10586.420". When I run "@OSBuild" in autoit I get "10586" and when I run "FileGetVersion(@SystemDir & "\WinVer.exe"" I get "10.0.10586.0". How can I get the rest of the number 420? Thanks for help!
  2. I found a solution on Zero Budget IT Admin If the script doesn't run as admin I simply restart it as admin :-) Thanks for help!
  3. no, it doesn't work with the new parameters. Any other ideas?
  4. Hello, I have a little script which I want to run as a non-admin user. When the exe starts I want to wait for the window to open and make a change of a combobox and a click. I run the Program.exe inside the script as domain-admin. The problem is that the script only run when I execute the complete script as domain-admin, when I start it as a non-admin-user it opens the Program.exe and stop. What can be the problem that the WinExists-command is not working? Do I need any parameters when I use RunAs? Here's the script: RunAs("admin","domain","password",0,"c:\temp\Program.exe") While 1 If WinExists("program_name","Language") Then ControlCommand("program_name","","ComboBox1","SelectString",'Language') ControlClick("program_name", "Continue","Button14") ... Else sleep(200) EndIf WEnd
×
×
  • Create New...