Skip to content

Misc

Uptime Reboot Scripts

This set of scripts is designed to force a scheduled restart of a machine based on number of hours of operation. The script prompts the user to restart and allows the restart to be deferred for 1 day by default and then deferred in 2 hour increments up to 3 times. The two “prompt” scripts…

Read More

Get connected NICs and speed

Makes a powershell call to get connected NICs and their connection speed. Can report using $NICs$

Read More

Device Manager – Detect Problems

Puts 2 files in the Documents tab of the agent: systemhw.txt and systemhwprobs.txt. Outputs any problems to the procedure log as a list of devices. Can report using $DeviceMgr$ and $OOD$.

Read More

Service Started Check (Fixed)

Checks to see if named service is started. If not started, tries to restart. Waits 5 min, then checks 2nd time. If not started, sends email to admin who scheduled it. This is best used by an alert created when a service stops running. Update the service name in Line 2 and then use the…

Read More

Service Started Check (Prompt)

Checks to see if prompted service is started. If not started, tries to restart. Waits 5 min, then checks 2nd time. If not started, sends email to admin who scheduled it. If you are trying to use this with an alert, you will need to use our other script "Services Check (Fixed)". You have no…

Read More

Take Ownership – Remove

Removes the REG keys installed using the “Take Ownership – Install” script. Report on success or failure using tag $TakeOwn$ or just failure using $OOD$

Read More

Take Ownership Reg – Install

Installs a REG file that will allow you to right-click on a file or folder and give the administrator permission. Report on success or failure using tag $TakeOwn$ or just failure using $OOD$

Read More

Flag New Machines

Script will calculate the difference between a constant (default 7 days) and the first check-in time in Kaseya. It will then write to Agent Procedure log. For reporting you can use the tag “$IsRecent” to report on everything, or $IsRecentYES$ to report on only those that are less than desired timespan. NOTE: This script also…

Read More

Temp folder cleanup

Deletes all files and folder in the following directories: C:\Windows\Temp C:\Windows\Prefetch C:\Documents and Settings\*\Local Settings\Temp C:\Users\*\Appdata\Local\Temp. Logs the free space before and after the cleanup. Can report using $tempcleanup$.

Read More

Reboot to Normal Mode

Reboots Windows workstation, and removes any safemode boot options. Only works on Windows Vista/7/8/10.

Read More
Scroll To Top