cancel
Showing results for 
Search instead for 
Did you mean: 
KevinA
Retired GoTo Contributor

One2Many Script Repository

Welcome to the LogMeIn Central Script Repository!

 

What is it? A library of scripts to help you execute automated tasks and manage LogMeIn Pro² computers without having to access them manually.
 
How does it work? Simply browse the .txt files below, save as a .BAT file and head to your LogMeIn Central console. Then, navigate to the One2Many tab, and select "Run a batch file or executable." From there, simply upload the batch file and you're ready to go.
 
How can you help? We encourage you to share your own scripts and/or help review the scripts of others-- just "Kudo" your favorites or reply with your comments. 
 
Use of these scripts is at your own risk so please test them on a small number of systems before deploying at scale. The scripts are provided “as is” without any warranty of any kind and LogMeIn disclaims any and all liability regarding any use of the scripts.  Please see the following Terms and Conditions for more information.
 
 
Script Repository
 

Microsoft Updates

 

Windows Update Javascript- The following script will perform comprehensive Windows Updates (Windows and Microsoft updates) on remote computers.  This java script must be run as a Custom Task within One2Many with cscript being the entry point, Command to execute to update and install in the Custom Task is:

cscript.exe "%LMI_PACKAGEROOT%\wu.js" /sa /i

 

 

/sa will  find updates that are flagged to be automatically selected by Windows Update.  This is critical to avoid installing all available updates for the computer as this may include over ten 500Mb language support files on Vista and Win7. /i is the command argument that instructs the script to download and install the updates found.  Additional arguments are outlined within the source code of the JavaScript. 

 

Both the script and the command to execute can be customized to suite your environment’s needs.

 


Security
 
Disable Firewall- disable the Microsoft Windows Firewall for the appropriate version of Windows. 
Enable Firewall-  enable the Microsoft Windows Firewall for the appropriate version of Windows. 
Install AVI Convert-  install the LogMeIn Rescue AVI Converter which converts LogMeIn Rescue .rcec
 recordings to .avi, for the appropriate version of Windows.
Update AVG Virus Definitions: Updates your AVG (versions 8 and/or 9) virus definition files 
 
 
Maintenance
 
Purge DLL Cachedelete and restore the cache folder associated with Microsoft System File Checker for the 
  appropriate version of Windows.
Reboot- reboot the remote device(s) with a end user notification for the appropriate version of Windows.
Shut downshutdown the remote device(s) immediately for the appropriate version of Windows.
Reset System Restore-  reset (disable/enable) Microsoft System Restore for the appropriate version of 
  windows.
Turn Off System Restore- disable Microsoft System Restore for the appropriate version of windows.
Turn On System Restore- enable Microsoft System Restore for the appropriate version of windows.
Defrag- Defragments C volume
Spool Cleaner- Cleans print spooler (submitted by iDevelop)
LogMeIn UpdateUpdates host software with the latest version of LogMeIn. 

 

 

Use of these scripts is at your own risk so please test them on a small number of systems before deploying at scale. The scripts are provided “as is” without any warranty of any kind and LogMeIn disclaims any and all liability regarding any use of the scripts.  Please see the following Terms and Conditions for more information.
 
(edited and updated 8/21/19 by GlennD)
Tags (1)
132 REPLIES 132
woodlark
Active Contributor

Indeed it works!!! Awesome, and so simple.

Lisa_K8
Retired GoTo Contributor

Hi @woodlark If @DTConsulting solved your problem, please click the "Accept as Solution" button on his response. This helps other members find the answer quickly. Thanks!
Lisa Kate
Community Manager
Lisa_K8 is a member of the LogMeIn Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!


woodlark
Active Contributor

I dont see thee accept button..

Lisa_K8
Retired GoTo Contributor

My fault @woodlark! I apologize for the confusion - only the author of the original topic can see that button, not any of the people who reply!
Lisa_K8 is a member of the LogMeIn Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!


Consultant64
Regular Contributor

You could try this:

 

Set objExplorer = CreateObject("InternetExplorer.Application")

With objExplorer
    .Navigate "about:blank"
    .ToolBar = 0
    .StatusBar = 0
    .Left = 100
    .Top = 0
    .Width = 635
    .Height = 555
    .Visible = 1
    .Document.Title = "Service Complete"
    .Document.Body.InnerHTML = _
        "<img src='http://www.milnetech.com.au/images/remoteService.jpg' height=500 width=600>"
End With


*************************************************
"If my post answers your question, please mark it as an "Accepted Solution."



"At this point in time, the Internet should be regarded as an Enemy Weapons System!"
MohanMenghwar
New Contributor

Hi Guys,

 

I was wondering is there anyone who can share me the batch file to isntall logmein silently on multiple terminals.

 

Thanks,

Mohan

hiran
Active Contributor

HI Guys

 

Thanks for the LogMeIn Update script. It worked flawlessly. When you are getting message to update it you can use this script. Worked with newest version - 6.1.0.6524

 

Many Thanks

Hiran

ao212
New Contributor

Hi I am reading this thread but don't see a "central" repository for where I can find ALL the scripts except for the ones mentioned in the posts here. Is there one central location to find One2Many scripts?

Consultant64
Regular Contributor

Click on the Community Home link and then click Central and you can see the Repository. It is not laid out very well as questions and solutions are not viewable as a tree. Scattered.


*************************************************
"If my post answers your question, please mark it as an "Accepted Solution."



"At this point in time, the Internet should be regarded as an Enemy Weapons System!"
Consultant64
Regular Contributor

@Lisa_K8 We sure could use a section entirely for One2Many Scripts where its not one long post like the current one so it can be prganized per subject e.g. Updates, Batch, Reboot, etc. The current one is too long and a reply to a reply near the top ends up many pages down the list so they are not displayed in a tree view.


*************************************************
"If my post answers your question, please mark it as an "Accepted Solution."



"At this point in time, the Internet should be regarded as an Enemy Weapons System!"