Recently I've been having problems with IsAdmin()
It started happening after I installed Autoit 3.2.0.1
Here is a simple RunAsSet program:
RunAsSet($admin, @Computername, $password)
If IsAdmin() Then
Msgbox(0, "Status", "Admin Rights Detected")
Else
Msgbox(0, "Status", "Admin Rights Not Detected")
Endif
RunAsSet()
When I run this program...It always pops up that Admin Rights are Not Detected. Even when it's the correct administrator rights.
I've reinstalled previous versions and it still occurs. I didn't have this problem before I installed Autoit 3.2.0.1