N-able RMM: Community Scripts - Page Eight

Last Modified

Tue Jan 29 14:04 GMT 2019

Description

Disclaimer: Please note, if any items or other contains set forth herein is derived from N-able, any items or other content posted are provided as a suggestion or recommendation to you for your internal use. This is not part of the N-able software or services that you have purchased from N-able, and the information set forth herein may come from third party customers. Your organization should internally review and assess to what extent, if any, such custom items or recommendations will be incorporated into your environment. Any custom scripts obtained herein are provided to you "AS IS" without indemnification, support, or warranty of any kind, express or implied. You elect to utilize the custom scripts at your own risk, and you will be solely responsible for the incorporation of the same, if any.

Environment

  • N-able Remote Monitoring & Management (RMM)

Solution


Fix It Script List
 

Fix It Script List
 
DownloadProblem title: New to RMM looking for advice 
Problem description: I am looking for some recommendations to what custom scripts/checks/etc.. i should use on new client sites. We are new to the MSP world. We are a VoIP company trying to expand any help would be greatly appreciated. 
Fix description: I'm new as well, focus on setting up Antivirus checks, Updating Software, Removing unwanted programs (toolbars), Disk Maintenance like Clean Temps, Defrag. Check this url http://fixitscripts.com/problems?sort=popular
DownloadProblem title: Script to get information about computer €™s mouse. 
Problem description: Hi guys, Is there a script in RMM that get information about computers mouse. 
Fix description: This script returns information about pointing device(computer mouse). Tested on windows 7 and can be run via RMM.
DownloadProblem title: Script Required 
Problem description: I need script to download file from dropbox or ftpserver, save file somewhere and then autoexecute it. Is it possible through any script. Please help. 
Fix description: Powershell script downloads file from ftp server and runs it. Script passed test on WIndows 7. For testing script you may use paths of examples written into comments.
DownloadProblem title: Script to check if a file has been updated in the last N minutes. 
Problem description: I need a script in RMM for check if a file has been update in the last N minutes. 
Fix description: Script to check if a file has been updated in the last N minutes . Tested on windows 7 and can be run via RMM. Note! In the script, you must set the number of minutes ( by default ` 7).
DownloadProblem title: Need a script to allow reporting of BitLocker Protections Status 
Problem description: Need a way to check BitLocker Protection Status for Hard Drives and allow reporting of any failures via script output and exit codes 
Fix description: Bitlocker status test script with drive exlude parameter.
DownloadProblem title: Script to delete files older than X days 
Problem description: Need a script to delete files older than a specified number of days. 
Fix description: SImple script for powershell. You can add -recurse for deteting files in subfolders.
DownloadProblem title: Script to determine chassis type of computer 
Problem description: Is there a script in RMM for determining chassis type of computer ? 
Fix description: VBscript determines chassis type of local or remote computer. For getting type of remote computer necessary to change the parameter "Comp" in script. ( "." to "RemoteComputerName"). Script passed test on WIndwos XP, 7 and 8 Workstations and servers 2008,2012 via RMM.
DownloadProblem title: Add a website to list of trusted sites 
Problem description: Is there a script in RMM for adding a website to list of trusted sites ? 
Fix description: Powershell script adds website to trusted sites in the Internet Explorer. Script passed test on Windows 7,8 workstations and servers 2008,2012 via RMM.
DownloadProblem title: How to Determine SSL Version. 
Problem description: I need a script to create a certificate that will store information about SSL. 
Fix description: ###Scripting Language: Bash script. This script get SSL version(protocol). Script creates a text file where stored information about ssl,reads out the protocol and then deletes the text file.
DownloadProblem title: Script to run scripts 
Problem description: Basically what I am looking for is a script I can run that will bring up a menu. This menu will allow me to input a remote PC name or IP address. Then I would choose the script I want to run from the menu. After the script runs on a remote PC it would create a report or log for me in HTML if possible and open or save it to my local PC. This script would be run on multiple PC's so the log file would need to know that and optupt the data to whatever PC I am currently logged into or another tech is logged into the Idea is to be able to run multiple scripts on remote PC with on menu. This would help in simplifying the environment. 
Fix description: This script allows you to enter the name of the remote PC and the path of the folder in which you want to find all the VBScripts. Then enter the name of script (for example scriptname.vbs), that you want to run.At the end of script creates a text file where stored date of last run script. Tested on windows 7 workstation and can be run via Advanced Monitoring Agent.
DownloadProblem title: How can I collect information on my desktop monitors? 
Problem description: I need to collect information on a physical, non-laptop or portable monitor. How can I do this? 
Fix description: This VBScript will collect monitor information for you and can be run through MAX RemoteManagement.
DownloadProblem title: Script to run scripts 
Problem description: Basically what I am looking for is a script I can run that will bring up a menu. This menu will allow me to input a remote PC name or IP address. Then I would choose the script I want to run from the menu. After the script runs on a remote PC it would create a report or log for me in HTML if possible and open or save it to my local PC. This script would be run on multiple PC's so the log file would need to know that and optupt the data to whatever PC I am currently logged into or another tech is logged into the Idea is to be able to run multiple scripts on remote PC with on menu. This would help in simplifying the environment. 
Fix description: With this script you can run others. Enter the computer name and the full path to the script. At the end of script creates a text file where stored date of last run script. Tested on windows 7 workstation and can be run via RMM.
DownloadProblem title: View Microsoft Office Product Keys 
Problem description: I need to view Microsoft office product keys at various clients without Volume Licensing. Is there a script to do this? 
Fix description: A script I have been working on to pull out Windows and Office keys (tested with Windows 7 and Office 2010 - 2013) Should work with other versions as well though.
DownloadProblem title: Startup Applications List 
Problem description: I'm looking for a script compatible with MAX RMM that when run will output a list of current startup applications. I hope I didn't overlook it in all the current scripts already here... Thanks! 
Fix description: This script returns informations of all the programs that are set to automatically run on system startup. Tested on windows 7 and can be run via RMM.
DownloadProblem title: defraggler scripts 
Problem description: I am looking for 2 scripts for defraggler (from piriform) 1 to to defrag the c-drive. and another one for the e-drive. Thanks in advance. 
Fix description: This script removes LogMeIn program. Tested on windows 7 eorkstation. Note! There is a free version you can download, it'll remove any and all articles, fractions, or bits of the software.(http://www.revouninstaller.com).
DownloadProblem title: Uninstall LogMeIn 
Problem description: Anyone got a script that I could run in RMM to remove the Logmein program? Since I am using Teamviewer/Takecontrol I want to remove Logmein. 
Fix description: This script removes LogMeIn program. Tested on windows 7 eorkstation. Note! There is a free version you can download, it'll remove any and all articles, fractions, or bits of the software.(http://www.revouninstaller.com).
DownloadProblem title: Identifying the Operating System 
Problem description: Is there a way to identify the Operating System on a remote machines ? 
Fix description: This script can help you (I hope)
DownloadProblem title: Startup Applications List 
Problem description: I'm looking for a script compatible with MAX RMM that when run will output a list of current startup applications. I hope I didn't overlook it in all the current scripts already here... Thanks! 
Fix description: This script returns name of all the programs that are set to automatically run on system startup. Tested on windows 7 workstation.
DownloadProblem title: Script Required 
Problem description: I need script to download file from dropbox or ftpserver, save file somewhere and then autoexecute it. Is it possible through any script. Please help. 
Fix description: I hate powershell... there I said it. Here is a vbscript that will download an arbitrary file, in my case I wanted to get my ninite installer into my staging folder. This followed by a command to execute it should do it for you. Good luck!
DownloadProblem title: A VBS or Bat Script to Make Users LogOff and Then Delete Profiles of Remote Users 
Problem description: We are working in a call center taking care of a lot of Remote Users (aproximately 10000 people). These people work with Xp and Win7 PCs. And, **we often need to delete these remote user profiles with regs**. We use Remote Desktop Manager (RDM) to delete their profiles but this process really takes a very long time. So we need a script to delete remote user profiles and regs after making them logged off (especially with a message they can see for this deletition process). Because When They are logged in/on we can not delete totaly their profiles and regs. We detected that, After deleting the User Profiles via RDM, there are some regs with .bak in Regedit. And then, Remote User logs in/on with temporary profile. At this time, we need to delete this reg file via RDM after all process. :( **In SUM: We need a script to delete remote user profiles and regs after making them logged off (especially with a warning message USERS can see before this deletition process)** For ex (win7) There are Remote Users in 10.110.9.101: C:\Users\23586589854 C:\Users\15469875655 C:\Users\68974521265 (WinXP) There are Remote Users in 10.110.9.101 C:\Documents and Settings\23586589854 C:\Documents and Settings\15469875655 C:\Documents and Settings\68974521265 :( Is there any chance to find this script :( 
Fix description: This script saves all logon users name in list.txt file.
DownloadProblem title: A VBS or Bat Script to Make Users LogOff and Then Delete Profiles of Remote Users 
Problem description: We are working in a call center taking care of a lot of Remote Users (aproximately 10000 people). These people work with Xp and Win7 PCs. And, **we often need to delete these remote user profiles with regs**. We use Remote Desktop Manager (RDM) to delete their profiles but this process really takes a very long time. So we need a script to delete remote user profiles and regs after making them logged off (especially with a message they can see for this deletition process). Because When They are logged in/on we can not delete totaly their profiles and regs. We detected that, After deleting the User Profiles via RDM, there are some regs with .bak in Regedit. And then, Remote User logs in/on with temporary profile. At this time, we need to delete this reg file via RDM after all process. :( **In SUM: We need a script to delete remote user profiles and regs after making them logged off (especially with a warning message USERS can see before this deletition process)** For ex (win7) There are Remote Users in 10.110.9.101: C:\Users\23586589854 C:\Users\15469875655 C:\Users\68974521265 (WinXP) There are Remote Users in 10.110.9.101 C:\Documents and Settings\23586589854 C:\Documents and Settings\15469875655 C:\Documents and Settings\68974521265 :( Is there any chance to find this script :( 
Fix description: I combined the two scripts above.
DownloadProblem title: Getting a list of scheduled tasks? 
Problem description: Is there a Powershell script I can run that will get me a list of all of the scheduled tasks on a computer? 
Fix description: Here's a PowerShell script to get scheduled tasks from local computer. It will run in MAX RemoteManagement.
DownloadProblem title: defraggler scripts 
Problem description: I am looking for 2 scripts for defraggler (from piriform) 1 to to defrag the c-drive. and another one for the e-drive. Thanks in advance. 
Fix description: Defrag the c-drive. Note! Run as administrator.
DownloadProblem title: defraggler scripts 
Problem description: I am looking for 2 scripts for defraggler (from piriform) 1 to to defrag the c-drive. and another one for the e-drive. Thanks in advance. 
Fix description: command file to run defraggler on the c-drive. edited the command I received earlier.
DownloadProblem title: defraggler scripts 
Problem description: I am looking for 2 scripts for defraggler (from piriform) 1 to to defrag the c-drive. and another one for the e-drive. Thanks in advance. 
Fix description: command file to run defraggler on the e-drive. edited the command I received earlier.
DownloadProblem title: Need a script to uninstall Level Platforms Managed Workplace Device Manager 
Problem description: I was recently cut off from LP (owned by AVG now) without warning. So I switched to RMM RMM and now need a way to uninstall the old LP agent from my client's machines. Any help would be greatly appreciated! 
Fix description: Here is a simple wmi command to remove level platforms managed workplace device manager. Unfortunately, it doesn't report back success or failure, perhaps someone can add that in. I recently moved back to RMM from LPI (I suffered for a year with LPI, I bought the slick sales speech and regretted it for 9mo, so happy my rep helped reduce the pain moving back again). I added this to all my sites and had it run daily at noon and used the (admittedly limited) software license feature in MAX to find devices still having it. I also used the remote command line to run it on stragglers. The Onsite Manager uninstall is a bit different, but you would only have one of those per site, and it is likely a server, so it probably doesn't need to be scripted. Good luck, hope this works. instructions, put this in a .bat file and add it as a script and increase the script timeout to maximum. Let 'er rip!
DownloadProblem title: RMM Malwarebytes MSP Install Script 
Problem description: I have Malwarebytes MSP edition, they sent me the commands to install, but I need a way to put the MSI in dropbox and push the install through RMM. Below is the commands they sent. Any help would be greatly appreciated. Sample Batch File Installation (Assumes product has never been installed before) @echo off echo+ echo ** Running Malwarebytes Anti-Malware installation batch script ** %~d0 cd %~dp0 mbam-setup.exe /NOCANCEL /NORESTART /VERYSILENT /SUPPRESSMSGBOXES IF DEFINED programfiles(x86) (cd "%programfiles(x86)%\Malwarebytes' Anti-Malware") ELSE (cd "%programfiles%\Malwarebytes' Anti-Malware") START /WAIT mbamapi.exe /register 12345-67890 AAAA-BBBB-CCCC-DDDD START /WAIT mbamapi.exe /set hidereg on START /WAIT mbamapi.exe /update START /WAIT mbamapi /protection €“install START /WAIT mbamapi /protection -start **Sample VBScript Installation** (Assumes product has never been installed before) 'Sample VBScript to install Malwarebytes - Only an example - testing and modification will be required. On Error Resume Next strComputer = "." Set objShell = WScript.CreateObject("WScript.Shell") Set objFilesys = CreateObject("Scripting.FileSystemObject") If objFilesys.FileExists("C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe") Then objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /register 12345- 67890 AAAA-BBBB-CCCC-DDDD"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /protection €“ install"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /protection €“ start"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /update"),0,True Else objShell.Run ("C:\DOWNLOADS\mbam-setup.exe" & " /VERYSILENT /SUPRESSMSGBOXES /NOCANCEL"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /register 12345- 67890 AAAA-BBBB-CCCC-DDDD"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /update"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /protection €“ install"),0,True objShell.Run ("""C:\Program Files\Malwarebytes"&Chr(39)&" Anti-Malware\mbamapi.exe"" /protection €“ start"),0,True End If Set objShell = Nothing Set objFilesys = Nothing 
Fix description: This script moves Malwarebytes exe file to Dropbox and then installs Malwarebytes. Can be run via RMM.

In addition to the Community Scripts, review the N-able Automation Cookbooks to leverage automation policies, custom monitoring, and scripts to gain more efficiency in your business.