Welcome to the LogMeIn Central 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.
Solved! Go to Solution.
https://github.com/knix15/LogMeIn-One2Many-Community-Scripts/
Scripts can be found here as well for better future organization.
Thanks for the scripts. Do you have any recommendations for the best way to install Windows Updates using One2Many? It would be great if they can be scheduled and the machine rebooted once they are complete.
UPDATED 10/7/2011: Defrag and Update of AVG Virus Definitions.
The two scripts you updated on the 7th, they're not there
dbzmaxx1- fixed. Thanks
Here's a little print spool cleaner (I call mine cleanspool.bat)
@echo off
echo Stopping print spooler
echo.
net stop spooler
echo deleting stuff... where? In your System Root. 🙂
echo.
del "%systemroot%\system32\spool\printers\*.shd"
del "%systemroot"\system32\spool\printers\*.spl"
echo Starting print spooler.
echo.
net start spooler
I have been using www.appdeploy.com for all my scripts.
They have the extensions for all latest software installs (Silent).
I like the idea of this forum it should help people start.
MY PROBLEM: if someone can help me
I have been using one2many for 300 users. I have tried to send a bat or vsb script to open a jpg picture when starting a service on the target machine. The jpg is our logo with instructions regarding us servicing the machine.
I created a Bat file with c:\mt\rsfiles\rs.jpg for it to open on target computer.
In dos it works but not via a bat through ONE2MANY.
I thought this must be to do with the silent feature suppressing opening boxes to the user.
So I tried a bat file pointing to a bat file on the target computer hard disk.
same with a bat file pointing to a vbs script. Still no opened picture.
I then made a website with the same displayed; www.milnetech.com.au/rs
Can someone help me use variables in the command line to open a jpeg or a website on a target machine through ONE2MANY?
Looking forward to your help regarding this.
@iDevelop Thanks! I'll send you a LogMeIn collared shirt for your contribution (and Email you privately for your shipping address ) I'll also go ahead and add that script to our repository in the top-post.
@Anon Thanks for pointing us toward that resource! Feel free to contribute what's worked for you on this thread. As for your other statement.. do any Central users have a script that could open a .JPEG file on a target machine through One2Many? (You may want to re-post as a seperate topic in our Central forums for better visibility).
Thanks,
Kevin
Community Relations Manager
Was your question answered? Mark it as an Accepted Solution!
See a great post? Give it a Kudos!
Need more help? Search our Knowledge Base, Contact Support or Tweet us.
I am too wondering how to automate Windows Updates with One2Many... Any ideas?
You might find this regarding windows update switches.
http://support.microsoft.com/kb/262841
Also multiple updates with only one reboot:
http://support.microsoft.com/kb/296861