Few months back, i’ve created a script for start service fixlet to start spesific service. However it’s no longer working as it used to be and i required to login to each server to start the service again. Is there anything i need to remove/add into my scripting to make it work again. Here is my script. Kindly share with me where i should improve on scripting.
------------------script start---------------------------
//action parameter query “ServiceName” with description “Please enter the service you would like to start:” With default “”
//continue if {exists service whose (service name of it as lowercase = (parameter “ServiceName” of action as lowercase) OR (display name of it as lowercase = (parameter “ServiceName” of action as lowercase)))}
delete __appendfile
delete netquiet.bat
appendfile @ECHO OFF
appendfile start “” /min /b net %1 %2 /y > NUL 2> NUL
move __appendfile netquiet.bat
waithidden “{pathname of client folder of site “BESSupport” & “\RunQuiet.exe”}” netquiet.bat start “wuauserv”
delete netquiet.bat