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

  • Hi cusouth

    we have taken your script request will come back to you soon with the better solution

    Thanks

    Comment


    • Hi kaizen365

      Good day to you.we have completed your request.

      This Custom monitoring script helps you retrieve the hardware issues of Hard disk,RAM,Mother board, USB, Base Board,CD ROM, Network adapter, BIOS ,Processor, and Device Bus and alert if any hardware issues in endpoint.

      Please refer the attached JSON File for script.

      NOTE:

      Please run this script as Custom monitoring script

      Thank you for contacting us.
      Attached Files
      Last edited by Saikiran; 08-31-2018, 08:06 AM.

      Comment


      • Hi cusouth

        Your Script Request has been completed successfully. Kindly refer the attached json.

        20180831-newbbg.json

        Let us know your valuable feedback

        Thanks

        Comment


        • Hi,

          Can you make a script to prevent standard users from running executables (e.g. portable apps)?

          I asked the same question in ITSM section before coming to this thread, so sorry for duplication, not sure which is the best way to accomplish this.

          Thank you for helping.

          Comment


          • Rick C
            Rick C commented
            Editing a comment
            Check back on your other post for my reply. Your goal is better accomplished through the CCS sections of the assigned profile.
            Last edited by Rick C; 09-05-2018, 04:05 AM.

        • Hi all,

          There's already below script to change DNS server to OpenDNS. Can someone please show me how to modify the script so that it'll apply 2 IPv4 DNS servers and 2 IPv6 servers?

          Let's say for AdGuard DNS, they are:
          176.103.130.130
          176.103.130.131
          2a00:5a60::ad1:0ff
          2a00:5a60::ad2:0ff

          Code:
          preferred_dns_server=r"8.8.4.4"
          import os
          import re
          import subprocess
          import ctypes
          intr=os.popen("wmic nic get NetConnectionid" ).read()
          Name=[i.strip() for i in  intr.split("\n") if i.strip()]
          a=Name[1:][-1]
          addr='netsh interface ipv4 show addresses "%s"'%a
          addr1=os.popen(addr).read()
          reset='netsh interface ip set dns "%s" dhcp'%a
          print ("DNS Server is reset")
          print("CHANGING DNS SERVER FROM AUTOMATIC TO MANUAL")
          bat=r'''
          netsh interface ip set dns name="%s" static %s 
          '''%(a,preferred_dns_server)
          
          class disable_file_system_redirection:
              _disable = ctypes.windll.kernel32.Wow64DisableWow64FsRedirection
              _revert = ctypes.windll.kernel32.Wow64RevertWow64FsRedirection
              def __enter__(self):
                  self.old_value = ctypes.c_long()
                  self.success = self._disable(ctypes.byref(self.old_value))
              def __exit__(self, type, value, traceback):
                  if self.success:
                      self._revert(self.old_value)
          
          path=os.environ['programdata']+"\Sample.bat"
          with open(path,"w") as f:
              f.write(bat)
          
          with disable_file_system_redirection():
           process = subprocess.Popen([path],stdout=subprocess.PIPE)
           stdout = process.communicate()[0]
           print "--------------------------------------------"
          
          if os.path.exists(path):
           try:
            os.remove(path)
           except:
            pass
          
          print("Now the Dns server has changed from automatic to manual")
          Thanks!

          Comment


          • Hi com1blaster

            We will update and provide the script, as per your request.

            Thanks

            Comment


            • Originally posted by Preethi View Post
              Hi com1blaster

              We will update and provide the script, as per your request.

              Thanks
              Thanks Preethi , much appreciated! Hope you can provide in the script desciption the instruction on how to modify the servers by ourselves.

              Comment


              • Hello com1blaster

                Here is the json file for the script you have requested. Kindly, please refer the attached "DNS.json" file :
                20180905-DNS.json

                NOTE: Edit the parameters as follows
                • preferred_dns_server=r"********" #Enter the IP address
                • value=0 # Value can have 0 or 1.... 0 to change IPv4, 1 to change IPv6
                Hope it will satisfy your needs. Kindly, please leave us feedback.

                Thank you.

                Comment


                • com1blaster
                  com1blaster commented
                  Editing a comment
                  Wow so fast! Thank you @Aravind

              • HI steve@classic.co.uk

                We have completed your request.Kindly refer the following link for the script

                https://scripts.comodo.com/frontend/...net-speed-test

                Let us know your valuable feedback.

                Thank you for contacting us.

                Comment


                • steve@classic.co.uk
                  steve@classic.co.uk commented
                  Editing a comment
                  Thanks for the update and the script - works flawlessly and is exactly as I needed.

              • I would like a script that will create a local computer account, assign a password, and add the user to the local pc administrators group.

                Comment


                • abtok ,

                  We have forwarded your request to our Script Developers. We will provide you a feedback of their output as soon as possible.

                  Comment


                  • Hello abtok

                    Kindly please refer the below link and read at the descriptions with care and do the necessary :

                    https://scripts.comodo.com/frontend/...sing-procedure

                    Thank you.

                    Comment


                    • Manage user accounts in the endpoint using procedure

                      When creating a local user account, can the user be assigned to an administrative group at the same time the procedure is deployed? Also, can the password attributes be modified, ex. User cannot change passoword or Password never expires.

                      Thank you

                      Comment


                      • RSnumssp
                        RSnumssp commented
                        Editing a comment
                        This is what i need too ... .thanks- - good script tho!.

                    • Originally posted by Dave Kotula View Post
                      Manage user accounts in the endpoint using procedure

                      When creating a local user account, can the user be assigned to an administrative group at the same time the procedure is deployed? Also, can the password attributes be modified, ex. User cannot change passoword or Password never expires.

                      Thank you
                      I combined the supplied script with another script in the script library called "Make a guest user account an admin." It is in the Procedure Library > Predefined Procedures > User Accounts

                      Comment


                      • Hi Dave Kotula abtok


                        We will update the script and share you as soon as possible.
                        Thank you.

                        Comment

                        Working...
                        X