/build/static/layout/Breadcrumb_cap_w.png

Hi,

I am running AMPTools through my VBScript to reprogram orphaned agents with the new server name.

The script and process run great however I get the Command Prompt window popup whilst AMPTools stops and starts services. This would be nice to hide if possible.

Thanks.

Answer Summary:
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

2

I think it's better to script the editing of the AMP.conf file and restart the services yourself. That way, at least you're sure that the modification has succeeded.

The KACE utilities don't give a return/success value, so you're never really sure that everything went well... (could be improved)

 

Answered 05/24/2013 by: Magnum_
Orange Senior Belt

All Answers

1

Two ideas:

1. copy the amp.conf directly not modify via amptools.

2. use cmdhide to do hide the command window

Answered 05/24/2013 by: Nico_K
Red Belt

1

CMDHIDE? Why not simply start CScript with 'START /B' instead?

Answered 05/24/2013 by: VBScab
Red Belt

  • because it not works always ( not with XP for instance as I have learned recently)
0

Thanks all,

I have gone with using CScript to call the new script from my logon script this has kept all the command prompt windows hidden as the machines I am currently pushing to are Windows 7. Will keep an eye out when I come to any XP machines.

:)

Answered 05/24/2013 by: Karllen
Purple Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share