Jump to content
Sign in to follow this  
kiboost

windows7 x64, run cmd generate lot of process

Recommended Posts

kiboost

Hi,

I use a script (autoit3 x32) on several machines to iste all running process, it put this into our intranet server.

The script redo itself every 5sec

Under xp, no problem, runs like a charm

Under win7 pro x64, every 5sec it create a new cmd.exe and conhost.exe process !

Any idea would be great help, here is the script :

$kname = @ComputerName

$file_path = "\\intra_server\Documents\webserver\www\intranet\network\cache\" & $kname & ".txt"
$command = StringFormat('pslist.exe -accepteula %s > "%s"',"",$file_path)

$i=0
While $i <= 10
    Run(@ComSpec & ' /C ' & $command, @ScriptDir, @SW_HIDE)
    Sleep(5000) ;five seconds
WEnd

Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

Share this post


Link to post
Share on other sites
kiboost

Ok sorry !! I've updated my autoit to last version, recomplied scripts, and all goes fine !!

autoit rocks !


Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

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.