/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Running invisible script

08/04/2017 780 views
I am running an Event Log Reporter script in my K1000 and I created it using the instructions in the link below. While it runs fine and does its job, I find it problematic that while the script runs, the user sees a black command window from cscript.exe and it disappears after a few seconds. Is there a way to modify the script so that it doesn't show this black window for the users? I don't want users to get worried about windows suddenly popping on their screens at random times.

http://docadmin.quest.com/kace-systems-management-appliance/7.0/administrator-guide/deploying-packages-to-managed-devices/running-scripts-on-managed-devices/using-windows-configuration-policies/add-event-log-reporter-scripts

0 Comments   [ + ] Show comments

Comments

  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers

0
Try Googling "run dos command without window".
Answered 08/06/2017 by: VBScab
Red Belt

  • Ok, so what I found is that a parameter needs to be added to cscript.exe so that it runs silently. In this case, I added //b //nologo right at the beginning of the line where you include the parameters.
 
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