/build/static/layout/Breadcrumb_cap_w.png

Is There a Switch to Run AMPTools.exe Silently?

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.


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Posted by: Magnum_ 11 years ago
Orange Senior Belt
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)

 

Posted by: Nico_K 11 years ago
Red Belt
1

Two ideas:

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

2. use cmdhide to do hide the command window

Posted by: anonymous_9363 11 years ago
Red Belt
1

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


Comments:
  • because it not works always ( not with XP for instance as I have learned recently) - Nico_K 11 years ago
Posted by: Karllen 11 years ago
Purple Belt
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.

:)

 
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