Announcement

Collapse
No announcement yet.

Script Requests - Itarian team will write the scripts for you :) for FREE.

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I am looking for a script that will alert us when an endpoint has been inactive for X number of days. I know ITarian will flag an inactive device and can automatically remove it after so long but I want a ticket to be generated for when a device has been inactive to bring it to our attention so we can determine if this is intentional due to retiring or a wipe/reload, or if we need to investigate further.

    I am also looking for a script to alert/open a ticket when a device is first enrolled with endpoint manager so we can onboard it into SOCaaP but I think I can handle that one on my own.

    Comment


    • Hi RussKinch,

      Please try this script with the following parameters as provided and provide your feedback
      https://scripts.itarian.com/frontend...registry-value

      Key= "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\NlaSvc"
      Sub_Key= "DependOnService"
      Field= "REG_MULTI_SZ"
      value = "NSI RpcSs TcpIp Dhcp Eventlog DNS Netlogon"

      Kind Regards,
      PremJK

      Comment


      • Hi fastassist,

        Please try this existing script and check if it suffice your needs
        https://scripts.itarian.com/frontend...and-send-email

        Please let us know if you have any issues.

        Kind Regards,
        PremJK

        Comment


        • That script will generate an alert if a user login hasn't occurred on the endpoint in X number of days. What I am wanting to do is get an alert when the endpoint has been inactive in Itarian for X number of days. As in the endpoint has been and is still offline and hasn't checked into Itarian. I'm not sure if there is a way to do that with a script since the script would only queue for the device until it comes back online again, assuming it comes back online at all. So this might be something that has to be added to the platform itself rather than running a script.

          There's the device offline monitoring alert that triggers within a time range when a device is offline. But it has a max time frame of 24 hours. I am needing something exactly like it that will allow me to trigger an alert only for when the devices has been offline for 30 days or 720 hours. That way we know that the device has been inactive for a long time and get a ticket on it to investigate further.
          Last edited by fastassist; 09-17-2021, 08:38 PM.

          Comment


          • Hello,

            i urgently need a script to download and run a .exe file. i have the file in a publicly accessible s3 bucket url. so ideally i'd like to place this url into the script.

            Thanks mcfproservices I was able to find a script in the thread history for this. The indentation was off but after reading a python tut or two i figured it out.
            Last edited by dnurse@perimeterwatch.com; 09-20-2021, 12:10 PM.

            Comment


            • Originally posted by dnurse@perimeterwatch.com View Post
              Hello,

              i urgently need a script to download and run a .exe file. i have the file in a publicly accessible s3 bucket url. so ideally i'd like to place this url into the script
              Just go back a few pages, plenty of examples listed, but script webpage appears offline at present.

              mcfproservices

              Comment


              • I need a script that will install the Free Comodo Internet Security (CIS Premium) Silently. Allowing you to choose which options you want in advance. For example I don't want to install the comodo browser or set yahoo as my homepage. At first I tried to use the script below but didn't know how to make it silent because the /S doesn't work.

                That's what I was attempting to use.

                HTML Code:
                import urllib
                import os
                
                def main(URL='https://cdn.download.comodo.com/cis/download/installs/8040/standalone/cispremium_installer.exe', sCMD='/S'):
                Path=os.environ['PROGRAMFILES']
                if os.path.exists(Path):
                fn = URL.split('/')[-1]
                fp = os.path.join(Path, fn)
                try:
                with open(fp, 'wb') as f:
                try:
                f.write(urllib.urlopen(URL).read())
                print fp
                except Exception as e:
                print e
                except Exception as e:
                print e
                try:
                os.chdir(Path)
                os.popen(fn +' '+sCMD).read()
                os.remove(fn)
                return 'Great! Successfully Installed'
                except Exception as e:
                return e
                else:
                return 'No path: '+Path+' is exist'
                
                print main()

                Comment


                • DevoteamEndpointSecurity
                  DevoteamEndpointSecurity commented
                  Editing a comment
                  Hmmm... Being a free product aimed at home users, I'm not sure if the installer will be able to be run silently... ????

              • Ahhh I see that makes sense. Well thank you for looking at it.

                Comment


                • I am trying to figure out how to write a script to remove Chrome from a machine. We are switching to using Edge exclusively and don't want to have both Chrome and Edge as it's just an extra program we have to keep updated. And the Chrome auto updater is not very reliable.

                  Comment


                  • Hi carls,

                    Currently, we don't have an existing script for this request. We have asked our script developers to analyze and provide feedback.

                    Kind Regards,
                    PremJK

                    Comment


                    • Originally posted by carls View Post
                      I am trying to figure out how to write a script to remove Chrome from a machine. We are switching to using Edge exclusively and don't want to have both Chrome and Edge as it's just an extra program we have to keep updated. And the Chrome auto updater is not very reliable.
                      Hi carls

                      If you (and others) might find it useful, here is a script that will silently uninstall Google Chrome. It should be able to remove all versions of Chrome (I.E versions installed via enterprise MSI or via user/web setup)

                      It technically has the ability to uninstall pretty much any basic MSI application, as well as Appx packages, but this version is specifically targeted at Chrome. I can provide a version that can perform more advanced functions if requested (Such as ability to specify custom uninstall arguments, config files, apply pre/post install actions, create software inventory reports..etc)

                      Installation for iTarian Procedures
                      1. Download the ITSM procedure: 20211002-EZT-AppRemover.json
                      2. Within your ITSM portal, import the procedure under Configuration Templates - Procedures
                      3. Configure desired procedure name, alert settings..etc
                      4. Configure the default parameters for the procedure from the Parameters tab of the script. See Configuration Parameters below for explanations of each parameter
                      5. Click Save - Ready to Review - Approve to finish. Assign to a profile and optionally a schedule of your liking
                      6. (Recommended) Run the new procedure on a single test machine to ensure its working or configured as expected
                      iTarian Configuration
                      • This script can be configured by editing the parameter options within the iTarian RMM procedure

                      Configuration Parameters
                      This script is configured using iTarian RMM's configuration parameters. Default settings will remove Google Chrome if found on the target machine

                      **Note: 1 = Enabled, 0 = Disabled**

                      App_Name_to_Remove
                      • Default: Chrome
                      • Name of the application to remove. Script will also attempt to match partial names. For example, to remove Google chrome, you can just use "Chrome"
                      • Script will only uninstall one application per run, and only if the application was found
                      Test_Run
                      • Default: 0
                      • Enable to perform a test run. A test run will not perform any action but will log what the script would have executed

                      Enable_Logs
                      • Default: 1
                      • Enable output of script actions, errors and other messages to a log file

                      LogFile_Directory
                      • Default: c:\logs
                      • Directory where the log file should be created, if enabled

                      I've used this myself with success for mass removal of chrome for a few clients (of about 50 devices or less). If you have any issues or requests, I'd be happy to help!

                      Thanks!

                      Comment


                      • carls
                        carls commented
                        Editing a comment
                        Thanks, I will check it out!

                      • carls
                        carls commented
                        Editing a comment
                        Seems to have worked as expected! I will keep you informed of our progress, thank you so much!

                    • Hi eztech

                      Thanks a lot for this useful script! You're truly an "MSP Hero" ????????

                      Have a great day!

                      Regards,
                      -- Javier Llorente

                      Comment


                      • eztech
                        eztech commented
                        Editing a comment
                        Thanks fellow MSP Hero

                    • Originally posted by carls View Post
                      Seems to have worked as expected! I will keep you informed of our progress, thank you so much!
                      Very happy to hear! Feel free to share any improvements or changes you may need

                      Comment


                      • With the MS notification that older versions of Outlook 2013/16 will stop connecting to MS 365 services from November 1, 2021, please provide a procedure/script that will alert via email if an EP has an Outlook version the same or older than the ones below:
                        • Office 2013: 15.0.4970.9999 and older
                        • Office 2016: 16.0.4599.9999 and older
                        • Microsoft 365 Apps for enterprise (formerly Office 365 ProPlus): 1705 and older
                        • Microsoft 365 Apps for business (formerly Office 365 Business): 1705 and older

                        Many thanks.

                        Comment


                        • Hi amcssit,

                          Thanks for your request. We have asked our script developers to analyze and update you the findings.

                          Kind Regards,
                          PremJK

                          Comment

                          Working...
                          X