Hello Dear AutoIt Fans
I have a little problem and need your help, if its possible.
First my used AutoIt and Scite Version and Information about OS
AutoIt: 3.2.8.1
Scite: 1.74
OS: Windows 2000 SP4
I wrote a Programm to automate deploymenttasks for an applicationserver.For some cleaning issues i must stop the server. In my programm I use the "ProcessExists()" Command to look first, if the service is running (service runs as system user), then I stop the server.
Code:
If ProcessExists("beasvc.exe") then
blablabla
Endif
What ever, the problem is now, when i run the script with normal User Rights then ProcessExists returns always "0", althougt there is an beasvc.exe Process in the Taskmanager. When i run the script as Administrator, then everything works fine.
When i use the ProcessList() Command it shows me the beasvc.exe process, only with the processexists() command i became allways a "0".
Has anyone an idea what the problem is? Probably it is an privilege Problem. But normaly in Windows 2000 i see all processes both as normal User and Administrator. Only in Vista i need an elevation of the userrights to see all process (maybe in XP also).
Has anyone an Idea?
Thank you for your Help!
Ps. I hope you understand what i mean, then my english is not so good.