Sign in to follow this  
Followers 0
sylvanie

DriveGetType doesn t work with SYSTEM account ?

3 posts in this topic

Hello, I have already searched in old post, but I haven't found any explanations about it :

when a script with :

$type_drive=DriveGetType("\\some_LAN_machine\folder")

is launched with the account SYSTEM, then $type_drive="" and @error=1

With a "classic" account, it works fine.

The stranger observation is that it works fine with the SYSTEM account and the version 3.1.0.

I haven't noticed some change with DriveGetType since the release 3.1.0.

Somebody can explain me where is the problem ?

Thank you


Share this post


Link to post
Share on other sites



The SYSTEM account has limited access to the network - it can only connect using a null session (with no credentials). Thus, it cannot access the share you are describing.

See this page.


BlueBearrOddly enough, this is what I do for fun.

Share this post


Link to post
Share on other sites

Ok,

but if it was the reason of the error, then I don't understand why the compiled script ( with autoit 3.1.0) works fine with this account ?


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