How can i remove or prevent the cmd.exe box all 5 Minutes

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
bilbo1860
Posts: 2
Joined: Wed Jun 15, 2005 8:43 am

How can i remove or prevent the cmd.exe box all 5 Minutes

Post by bilbo1860 »

Hello
I have installed cacti how explained in the cacti-0.8.6d/docs/html/install_windows.html.
Now all 5 minutes gets the cmd.exe box (form poller) in front of the desktop.
How can i prevent this.

Thanks
BelgianViking
Cacti User
Posts: 97
Joined: Thu Mar 24, 2005 4:59 am
Location: Brussels, Belgium

Post by BelgianViking »

Don't run the automated task with the user you're logged in with. Or don't log in with the user that is used for the automated task :-)
[size=75][color=#EE5019]| Cacti 0.8.6g | MySQL 4.1.14 w Query Cache | Net-SNMP 5.2.1 | IIS 6 | fast-cgi | PHP 5.0.3 | RRDtool 1.2.9 | Windows 2003 Server SP1 | Cactid 0.8.6f |
| Dell 2450 - 2x P3 733 MHz, 1GB RAM |[/size][/color]
that_kid
Posts: 29
Joined: Fri Mar 18, 2005 10:29 pm

Post by that_kid »

I created a uer called Cacti to run cmd so when i'm logged into the server(very rare) I don't get hit will all the cmd windows.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Another method is to run a small VBS script that hides the window from ever showing.

invisible.vbs

Code: Select all

Set objWSHShell = WScript.CreateObject("WScript.Shell")
objWSHShell.Run "upload.bat", 0, False
Scheduled task: C:\WINNT\system32\wscript.exe "C:\mrtg\workingdir\invisible.vbs" "C:\mrtg\workingdir\upload.bat"
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests