Jump to content
Sign in to follow this  


Recommended Posts



i have an problem with the function RunAsSet-Function on AutoITv3...

my script is the following:

$var = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetwareWorkstation\CurrentVersion\", "Buildnumber")

If $var <> 20051209 Then

; Set the RunAs parameters to use local adminstrator account

RunAsSet("Administrator", "", "password")

; Run install.bat Novell-Client-Roll-Out


; Reset user's permissions





I want to install the novell client on many pc´s in a network...the exe-file, that i´ve compiled with autoit is starting by login script from the novell client..but when i start the exe-file the installation of novell client abort with an error...if i start the batch-file directly, the installations runs without errors..must i declare the pc-name, beacuse i declare no pc-name, while i have many pc´s...and the script have to be universal...or is it better, to read a variable from registry (what is the pc-name..) and took into the script?

i need help

sorry for my bad english, but i´m german :-)

with kind regards...


Share this post

Link to post
Share on other sites

anybody an idea? :-(

2 things:

This looks wrong :RunAsSet("Administrator", "", "password")

Should be : RunAsSet("Administrator", @Computername, "password")

BUT: Will this Local pc account have access on the Server ?

This subject has been covered many times so I am sure the search will return many hits with lots of details..


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.