ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ScreenConnect download file from script

    Scheduled Pinned Locked Moved Solved IT Discussion
    22 Posts 6 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mike DavisM
      Mike Davis
      last edited by

      I have a bunch of users that are out of the office and I need to update their VPN client. If they had a connection established, I could put the new client on the server and then issue commands in the command window to install the new one. Can anyone suggest a way to download the files (a .msi file and .cer file) from something like my web server so I can run them locally? Is there a way to download stuff from the SC toolbox without being interactive?

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by JaredBusch

        Use PowerShell in the command window of ScreenConnect.

        This will download the ML logo from Imgur to the root of C.

        #!ps
        #timeout=300000
        $url = "![L7kwgRN.png](https://i.imgur.com/L7kwgRN.png")
        $output = "C:\L7kwgRN.png"
        Invoke-WebRequest -Uri $url -OutFile $output
        
        1 Reply Last reply Reply Quote 1
        • JaredBuschJ
          JaredBusch
          last edited by

          If your installer can run in a silent mode, you could issue those commands also.

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            This all assumes that you have the access client installed with the default permissions (aka admin rights) on the computers.

            1 Reply Last reply Reply Quote 0
            • Mike DavisM
              Mike Davis
              last edited by

              Thanks @JaredBusch That worked great for Windows 10. I had to use some other powershell commands for the Windows 7 computers.

              #!ps
              #timeout=60000
              $url = "http://mywebsite.com/sonicwall.cer" 
              $path = "C:\temp\sonicwall.cer" 
              # param([string]$url, [string]$path) 
              if(!(Split-Path -parent $path) -or !(Test-Path -pathType Container (Split-Path -parent $path))) { 
              $targetFile = Join-Path $pwd (Split-Path -leaf $path) 
              } 
              (New-Object Net.WebClient).DownloadFile($url, $path) 
              $path
              
              $url = "http://mywebsite.com/NetExtender.8.6.260.msi" 
              $path = "C:\temp\NetExtender.8.6.260.msi" 
              # param([string]$url, [string]$path) 
              if(!(Split-Path -parent $path) -or !(Test-Path -pathType Container (Split-Path -parent $path))) { 
              $targetFile = Join-Path $pwd (Split-Path -leaf $path) 
              } 
              (New-Object Net.WebClient).DownloadFile($url, $path) 
              $path
              
              certutil -addstore TrustedPublisher c:\temp\sonicwall.cer
              Msiexec /i C:\temp\NetExtender.8.6.260.msi /q /qn /lv!*x c:\temp\netextender.log ALLUSERS=2
              
              dbeatoD 1 Reply Last reply Reply Quote 0
              • dbeatoD
                dbeato @Mike Davis
                last edited by

                @mike-davis said in ScreenConnect download file from script:

                Thanks @JaredBusch That worked great for Windows 10. I had to use some other powershell commands for the Windows 7 computers.

                #!ps
                #timeout=60000
                $url = "http://mywebsite.com/sonicwall.cer" 
                $path = "C:\temp\sonicwall.cer" 
                # param([string]$url, [string]$path) 
                if(!(Split-Path -parent $path) -or !(Test-Path -pathType Container (Split-Path -parent $path))) { 
                $targetFile = Join-Path $pwd (Split-Path -leaf $path) 
                } 
                (New-Object Net.WebClient).DownloadFile($url, $path) 
                $path
                
                $url = "http://mywebsite.com/NetExtender.8.6.260.msi" 
                $path = "C:\temp\NetExtender.8.6.260.msi" 
                # param([string]$url, [string]$path) 
                if(!(Split-Path -parent $path) -or !(Test-Path -pathType Container (Split-Path -parent $path))) { 
                $targetFile = Join-Path $pwd (Split-Path -leaf $path) 
                } 
                (New-Object Net.WebClient).DownloadFile($url, $path) 
                $path
                
                certutil -addstore TrustedPublisher c:\temp\sonicwall.cer
                Msiexec /i C:\temp\NetExtender.8.6.260.msi /q /qn /lv!*x c:\temp\netextender.log ALLUSERS=2
                

                Interesting, you are trying to install the SSl VPn clienr for Sonicwall on Windows 10, I have had mixed results with it on Windows 10, some on the Mobile Connect app or the application installer.

                Mike DavisM 1 Reply Last reply Reply Quote 0
                • Mike DavisM
                  Mike Davis @dbeato
                  last edited by

                  @dbeato What issues have you had? I have a new SonicWall going in and would like to avoid those issues if possible. It's one of those install it over night and it needs to work in the morning cut overs. Cut is scheduled for Thursday. We tested it last week with a Windows 10 and Windows 7 client.

                  DashrenderD dbeatoD 2 Replies Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @Mike Davis
                    last edited by

                    @mike-davis said in ScreenConnect download file from script:

                    @dbeato What issues have you had? I have a new SonicWall going in and would like to avoid those issues if possible. It's one of those install it over night and it needs to work in the morning cut overs. Cut is scheduled for Thursday. We tested it last week with a Windows 10 and Windows 7 client.

                    Why are you deploying SonicWalls? what feature does it have that ER's don't that you need?

                    Mike DavisM 1 Reply Last reply Reply Quote 0
                    • Mike DavisM
                      Mike Davis @Dashrender
                      last edited by

                      @dashrender said in ScreenConnect download file from script:

                      Why are you deploying SonicWalls? what feature does it have that ER's don't that you need?

                      1. Grant money paid for it
                      2. must have content filtering
                      travisdh1T 1 Reply Last reply Reply Quote 1
                      • dbeatoD
                        dbeato @Mike Davis
                        last edited by

                        @mike-davis said in ScreenConnect download file from script:

                        @dbeato What issues have you had? I have a new SonicWall going in and would like to avoid those issues if possible. It's one of those install it over night and it needs to work in the morning cut overs. Cut is scheduled for Thursday. We tested it last week with a Windows 10 and Windows 7 client.

                        It is mostly with Windows 10 where the client installs fine but when it comes to connect to the Sonicwall SSL VPN it does not work properly with it stating various error on connecting. Which then leads me to setup the Mobile Connect application.

                        1 Reply Last reply Reply Quote 1
                        • travisdh1T
                          travisdh1 @Mike Davis
                          last edited by

                          @mike-davis said in ScreenConnect download file from script:

                          @dashrender said in ScreenConnect download file from script:

                          Why are you deploying SonicWalls? what feature does it have that ER's don't that you need?

                          1. Grant money paid for it
                          2. must have content filtering

                          Why does the content filtering have to happen at the gateway? DNS filtering is even easier, imo.

                          DashrenderD 1 Reply Last reply Reply Quote 1
                          • DashrenderD
                            Dashrender @travisdh1
                            last edited by

                            @travisdh1 said in ScreenConnect download file from script:

                            @mike-davis said in ScreenConnect download file from script:

                            @dashrender said in ScreenConnect download file from script:

                            Why are you deploying SonicWalls? what feature does it have that ER's don't that you need?

                            1. Grant money paid for it
                            2. must have content filtering

                            Why does the content filtering have to happen at the gateway? DNS filtering is even easier, imo.

                            I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                            wirestyle22W Mike DavisM 2 Replies Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22
                              last edited by wirestyle22

                              @travisdh1 said in ScreenConnect download file from script:

                              @mike-davis said in ScreenConnect download file from script:

                              @dashrender said in ScreenConnect download file from script:

                              Why are you deploying SonicWalls? what feature does it have that ER's don't that you need?

                              1. Grant money paid for it
                              2. must have content filtering

                              Why does the content filtering have to happen at the gateway? DNS filtering is even easier, imo.

                              Yeah it seems weird to need it on the firewall itself

                              1 Reply Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22 @Dashrender
                                last edited by

                                @dashrender said in ScreenConnect download file from script:

                                @travisdh1 said in ScreenConnect download file from script:

                                @mike-davis said in ScreenConnect download file from script:

                                @dashrender said in ScreenConnect download file from script:

                                Why are you deploying SonicWalls? what feature does it have that ER's don't that you need?

                                1. Grant money paid for it
                                2. must have content filtering

                                Why does the content filtering have to happen at the gateway? DNS filtering is even easier, imo.

                                I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                ¯\(ツ)/¯

                                1 Reply Last reply Reply Quote 1
                                • Mike DavisM
                                  Mike Davis @Dashrender
                                  last edited by

                                  @dashrender said in ScreenConnect download file from script:

                                  I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                  Yes, the grant specifically specified a SonicWall. I can't use the money and put in an Edge Router with OpenDNS. They actually have auditors come out and see that the equipment is installed. It's so frustrating on so many levels as a tax payer...

                                  DashrenderD wirestyle22W 2 Replies Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @Mike Davis
                                    last edited by

                                    @mike-davis said in ScreenConnect download file from script:

                                    @dashrender said in ScreenConnect download file from script:

                                    I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                    Yes, the grant specifically specified a SonicWall. I can't use the money and put in an Edge Router with OpenDNS. They actually have auditors come out and see that the equipment is installed. It's so frustrating on so many levels as a tax payer...

                                    So who submitted (based on what recommendation) for a sonicwall when the grant was requested?

                                    Mike DavisM 1 Reply Last reply Reply Quote 1
                                    • wirestyle22W
                                      wirestyle22 @Mike Davis
                                      last edited by

                                      @mike-davis said in ScreenConnect download file from script:

                                      @dashrender said in ScreenConnect download file from script:

                                      I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                      Yes, the grant specifically specified a SonicWall. I can't use the money and put in an Edge Router with OpenDNS. They actually have auditors come out and see that the equipment is installed. It's so frustrating on so many levels as a tax payer...

                                      That is gross. What do they have a state contract with Dell?

                                      DashrenderD 1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @wirestyle22
                                        last edited by

                                        @wirestyle22 said in ScreenConnect download file from script:

                                        @mike-davis said in ScreenConnect download file from script:

                                        @dashrender said in ScreenConnect download file from script:

                                        I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                        Yes, the grant specifically specified a SonicWall. I can't use the money and put in an Edge Router with OpenDNS. They actually have auditors come out and see that the equipment is installed. It's so frustrating on so many levels as a tax payer...

                                        That is gross. What do they have a state contract with Dell?

                                        Dell Sold SonicWall.

                                        wirestyle22W 1 Reply Last reply Reply Quote 0
                                        • wirestyle22W
                                          wirestyle22 @Dashrender
                                          last edited by wirestyle22

                                          @dashrender said in ScreenConnect download file from script:

                                          @wirestyle22 said in ScreenConnect download file from script:

                                          @mike-davis said in ScreenConnect download file from script:

                                          @dashrender said in ScreenConnect download file from script:

                                          I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                          Yes, the grant specifically specified a SonicWall. I can't use the money and put in an Edge Router with OpenDNS. They actually have auditors come out and see that the equipment is installed. It's so frustrating on so many levels as a tax payer...

                                          That is gross. What do they have a state contract with Dell?

                                          Dell Sold SonicWall.

                                          Didn't know that. Haven't used a Sonicwall in years. Who did they sell to?

                                          Ah, independent.

                                          dbeatoD 1 Reply Last reply Reply Quote 0
                                          • dbeatoD
                                            dbeato @wirestyle22
                                            last edited by dbeato

                                            @wirestyle22 said in ScreenConnect download file from script:

                                            @dashrender said in ScreenConnect download file from script:

                                            @wirestyle22 said in ScreenConnect download file from script:

                                            @mike-davis said in ScreenConnect download file from script:

                                            @dashrender said in ScreenConnect download file from script:

                                            I was wondering what grant money had to do with it - unless the grant specifically said it had to be SonicWall? or no other filtering solution was less?

                                            Yes, the grant specifically specified a SonicWall. I can't use the money and put in an Edge Router with OpenDNS. They actually have auditors come out and see that the equipment is installed. It's so frustrating on so many levels as a tax payer...

                                            That is gross. What do they have a state contract with Dell?

                                            Dell Sold SonicWall.

                                            Didn't know that. Haven't used a Sonicwall in years. Who did they sell to?

                                            Ah, independent.

                                            Francisco Partners and Elliot Management.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post