/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Is There a Switch to Run AMPTools.exe Silently?

05/23/2013 5620 views

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: anonymous_9363
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

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ