Sign in to follow this  
Followers 0
irmrmisa

Autoit error: unable to parse line

4 posts in this topic

:D

I use autoit for the Runas function for some of my administrative tools which works great but about a week ago autoit started giving me an error while i am trying to do just normal vbs logon scripts. i use psexec in the logon script so load patches etc when a user logs into the domain. this has always worked great but now when i run my vbs script it errors out with a Autoit Error---- C^ERROR error:Unable to parse line. this is really strange to me since i am doing normal scripting which shouldnt have anything to do with autoit.

has anyone seen this? or any advice on how i can resolve this issue?

thanks in advance for any inputs

Share this post


Link to post
Share on other sites



so your using autoit to do runas on a vbs script? I'm not 100% that works since a vbs file is a script not an .exe...or are you doing somthing else?

Share this post


Link to post
Share on other sites

so your using autoit to do runas on a vbs script? I'm not 100% that works since a vbs file is a script not an .exe...or are you doing somthing else?

Should be working fine when using @comspec/Start.exe or Cscript.exe but won't work when doing a Run("xyz.vbs")

@irmrmisa, maybe you can show us some code you have that triggers the error.. we are a bit in the dark now....

:D


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

so your using autoit to do runas on a vbs script? I'm not 100% that works since a vbs file is a script not an .exe...or are you doing somthing else?

it was pushed down on our network that user accounts can not have local admin rights on machines. i use autoit to open admin tools such as computer management , active directory users and computers, regedit ...etc so i dont have to log off with my normal account and log back on with admin

in my logon script i use psexec.exe to run patches for users when they logon so it will run under the admin account. but for some reason now on my machine autoit is erroring out my vbs scripts for some reason. the vbs script is completely seperate from autoit.. the problem i am getting is somehow autoit is tieing itself into normal vbs scripts when it shouldnt

Edited by irmrmisa

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0