by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Restart Syncro-Live if device is online, but Live is unavailable. Restart-Service SyncroLiveRestart-Service...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: SharedScriptRequiredFile 48 Uninstall a Program Specified at Runtime. Use * for a wildcard for the program name. Ex. Mozilla Firefox* Currently set to uninstall up to 5 programs that matches the variable at a time. Import-Module $env:SyncroModule...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None This script will uninstall the Pulseway agent and delete the configuration for the Pulseway agent. Please note that this script will not work if the Pulseway agent is installed only for one user: $result = gwmi win32_product -filter "Name...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Is your PC truly shutting down? While fast startup is a pretty harmless tool that can deliver a considerable startup speed boost, especially to PCs using hard-disk drives (HDD), some people prefer to have their PC truly shut down when they click...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None setx /M MP_FORCE_USE_SANDBOX 1setx /M MP_FORCE_USE_SANDBOX...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh launchctl unload com.webroot.security.mac.plist launchctl unload com.webroot.webfilter.mac.plist rm -rf /Applications/Webroot\ SecureAnywhere.app #!/bin/sh launchctl unload com.webroot.security.mac.plist launchctl unload...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh diskutil repairPermissions / #!/bin/sh diskutil repairPermissions /#!/bin/sh diskutil repairPermissions...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh purge #!/bin/sh purge#!/bin/sh...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh /usr/libexec/ApplicationFirewall/socketfilterfw –setglobalstate on #!/bin/sh /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on#!/bin/sh /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh spctl –master-enable #!/bin/sh spctl --master-enable#!/bin/sh spctl...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh echo “yes” | sudo systemsetup -setremotelogin off > /dev/null 2>&1 #!/bin/sh echo "yes" | sudo systemsetup -setremotelogin off > /dev/null 2>&1#!/bin/sh echo "yes" | sudo systemsetup...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Write-Host "Closing Teams in order to clear cache" try{ Get-Process -ProcessName Teams | Stop-Process -Force Start-Sleep -Seconds 5 Write-Host "Teams is now closed" } catch{ echo $_ } # Now clean temp file...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user #!/bin/sh...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh kill -9 `ps ax|grep ‘coreaudio[a-z]’ | awk ‘{print $1}’` #!/bin/sh kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`#!/bin/sh kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Set the NumLock to ON at Windows Login screen #Set NumLock ON at Windows login screen $path = 'HKU:\.DEFAULT\Control Panel\Keyboard\' $name = 'InitialKeyboardIndicators' $value = '2' Set-Itemproperty -Path $path -Name $name -Value $value...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Renames the computer and optionally restarts it to take effect. You will have to change the asset name manually if you want it to match. Import-Module $env:SyncroModule -WarningAction SilentlyContinue # Chanage the computer name in...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Gets Current Bios Version Import-Module $env:SyncroModule $bversion=$(Get-WmiObject -Class "Win32_Bios").SMBIOSBIOSVersion Set-Asset-Field -Subdomain "SUBDOMAINHERE" -Name "BiosVersion" -Value...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Import-Module $env:SyncroModule -WarningAction SilentlyContinue # Suggested script variables to use: {{asset_name}} and {{customer_business_name_or_customer_full_name}} Send-Email -Subdomain "SUBDOMAIN" -To...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh tmutil setdestination -a afp://TimeMachineUser:[email protected]/TMBackup tmutil enable tmutil startbackup -a #!/bin/sh tmutil setdestination -a afp://TimeMachineUser:[email protected]/TMBackup tmutil enable tmutil startbackup...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh tmutil status | awk ‘/_raw_Percent/ {print $3}’ | grep -o ‘[0-9].[0-9]\+’ | awk ‘{print $1*100}’ #!/bin/sh tmutil status | awk '/_raw_Percent/ {print $3}' | grep -o '[0-9].[0-9]\+' | awk '{print...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh systemsetup -f -setremotelogin off #!/bin/sh systemsetup -f -setremotelogin off#!/bin/sh systemsetup -f -setremotelogin...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Install Jumpcloud Agent. Note: Insert Connect Key for Company under Line 20 <# .SYNOPSIS Repairs an installation of the JumpCloud Windows agent .DESCRIPTION Uninstalls any existing installations, and cleans up any remaining cruft, and...
by SyncroMSP | Oct 22, 2018 | Scripts, Uncategorized
Required Files: None This script will pull Dell warranty info from the Dell API. You do need a Dell API Key to get this working. #script credit to https://github.com/connochio #Couple things that need improvement #Probably need to put a random time function to...
by SyncroMSP | Oct 3, 2018 | Scripts, Uncategorized
Required Files: None Changes the Syncro Windows Service Description sc description Syncro "Monitoring Agent provided by YourCompany" sc description SyncroLive "Monitoring Agent provided by YourCompany"sc description Syncro "Monitoring Agent...
by SyncroMSP | Oct 3, 2018 | Scripts, Uncategorized
Required Files: None Clean uninstall AV prior to installing Bitdefender. WARNING – Deletes control panel entry for many AV software but does not actually uninstall them!! <# Enter YOUR subdomain with Syncro MSP SUBDOMAIN = Change to your subdomain with...
by SyncroMSP | Oct 3, 2018 | Scripts, Uncategorized
Required Files: SharedScriptRequiredFile 41 (For Laptops and mobile devices.) Attaches “Battery.csv” to your asset page. Import-Module $env:SyncroModule $path = "c:\temp\" If(!(test-path $path)) { New-Item -ItemType...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Resetting Windows Update using this option will clear the view update history details list (cache). This will not actually uninstall any of your currently installed Windows Update. They will just not be listed anymore. Any new Windows Update...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None This modifies the system information to reflect your company information <# Make sure you change the variables to match your business information Logo needs to be in BMP format, 120 x 120 pixels Upload your logo to Syncro - name...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None This checks office activation status for Office 2016 32 and 64 bit <# .Creator: Steven Grabowski - SoHo Integration, LLC .Synopsis This script will work with 32 or 64 bit Office 2016 to check status of Office Activation. A ticket is...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Get Bitlocker Recovery Key(s) and store them in a custom field called “Bitlocker_Keys” #TODO - MAKE SURE YOU SETUP YOUR ASSET CUSTOM FIELD CALLED "Bitlocker_Key_<drive>" for each drive as a "Text Field" on...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Polls and creates a CSV Log on C:\ # script created to pull Average CPU, RAM and HDD usage # the details are for the comptuer that run this script on (For single computer) $AVGProc = Get-WmiObject win32_processor | Measure-Object -property...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Print a test page to the default printer. #Printer Test page script for Nick # Get Printer Objects for this computer from WMI $printers = Get-WmiObject -Query " SELECT * FROM Win32_Printer WHERE Default=$true" # Display...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Download CrystalDiskInfo Portable, extract and run the file. Generate a DiskInfo text file. Upload the text file to Syncro Asset. Generate RMM Alert and Ticket, add 15 minutes to ticket and close ticket and alert. This script requires...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Unhide Previously Hidden User Account in Windows. #unhide admin accounts from the logon screen $Username = "TYPEHERE" $path = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList' New-Item...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Monitor multiple important services from a single script on a standard server. Notify if any of them are stopped. Import-Module $env:SyncroModule <# .SYNOPSIS Monitors the status of an array of services .DESCRIPTION Checks the status...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Delete a folder. # Script Created to delete a Folder # Recurse will not prompt if there any child items and force will delete if there are any hidden or read only files Remove-Item –path "C:\IT Dept" –recurse -Force# Script...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Run once to on-board a new workstation for managed services. – Create MSP Admin – Set Power Settings – Create Tech Folder – Create Restore Point – Audit Workstation #Create System Restore Point named On-Boarding...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None This is for the silent rollout of TeamViewer and will run the assignment tool for you. This only works on the Corporate edition with the MSI. There is a TeamViewer integration that basically does the same thing, go to the App Center to see it...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Get a list of existing user accounts in Windows. # get information on the number of user accounts in this computer get-localuser | Select name,Enabled >C:\Logs\sri.txt# get information on the number of user accounts in this computer...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: SharedScriptRequiredFile 15,SharedScriptRequiredFile 16 This uses Swiss File Knife to discover large files on the disk that could help in troubleshooting low disk space. This is setup to run on the whole system. Import-Module $env:SyncroModule ...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Stop Print Spooler then Delete Queue then Start Print Spooler Service. net stop spooler del %windir%\system32\spool\printers\*.shd del %windir%\system32\spool\printers\*.spl net start spoolernet stop spooler del...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Tell the user not to worry if they see Antivirus Popups (Emsisoft) Import-Module $env:SyncroModule Display-Alert -Message "Notice from IT: Your computer is about to get an Antivirus software upgrade - do not be alarmed if you see...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Defrag C: drive with traditional command line defrag defrag c: /ddefrag c:...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None Script to give you Date/Time, Host Name, % Load on a processor, % Memory Free, % C Drive Free ###################################################################### # # Modified Nick Lenius script to export to a csv # # For the Path you will...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None This just looks for the TeamViewer ID from your registry and puts it on a custom field. Import-Module $env:SyncroModule #ok, now lets get the teamviewer ID into a variable $prop = Get-ItemProperty -path...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None This is a sample script that can open a ticket, add some time, and close the ticket. Edit lines, 2, 3, 4 (Number of minutes to add to the ticket), 7 (Subject), 12 (Notes) Import-Module $env:SyncroModule $subdomain = "SUBDOMAIN" $email...
by SyncroMSP | Sep 27, 2018 | Scripts, Uncategorized
Required Files: None #---------------------------------------------- #region Import Assemblies #---------------------------------------------- [void][Reflection.Assembly]::Load('System.Windows.Forms, Version=2.0.0.0,...
by SyncroMSP | Jun 22, 2018 | Scripts, Uncategorized
Required Files: None msiexec.exe /X{B7C5EA94-B96A-41F5-BE95-25D78B486678} /qbmsiexec.exe /X{B7C5EA94-B96A-41F5-BE95-25D78B486678}...
by SyncroMSP | Jun 22, 2018 | Scripts, Uncategorized
Required Files: SharedScriptRequiredFile 30 ...
by SyncroMSP | Jun 12, 2018 | Scripts, Uncategorized
Required Files: SharedScriptRequiredFile 23 This script was based off the template Bleachbit script in the repository. I modified what it cleans (see below), and have had it create a ticket, add ticket time (10 minutes which you can change), and close the ticket. I...
by SyncroMSP | Jun 12, 2018 | Scripts, Uncategorized
Required Files: None Some cool script to audit disk usage.   Import-Module $env:SyncroModule $32bitWindows = [System.IntPtr]::Size -eq 4 if($32bitWindows){ # this usually takes about a minute or less C:\temp\sfk.exe stat -minsize=50m C:\ | Sort-Object...