Script library

Boost your management, troubleshooting and remediation capabilities with scripts created by experts in the IT community.

Showing 437 ControlUp scripts ordered by: downloads
Find processes which are in sessions which no longer exist or where there are no handle or thread objects open by that process which means that it will not be able to run (unless a UWMP process which are excluded).
If the kill parameter is set to true, all of these processes above will be killed.
Also find processes which are trying to exit but are unable to do so because another process has an open process or thread handle to the exiting process which prevents the process from completely exiting.
Zombie processes may be responsible for end user application usability issues and the cause for high session id numbers.
This script should be run a few times, a few minutes apart, in order to rule out processes which were in the process of closing handles they had open.
There is a known handle leak in ControlUp processes prior to release 8.2. With 8.2 there is still a situation that could result in a leak where the ControlUp agent is running on Windows 10 1809 and later or Server 2019 and the User Input Delay feature is enabled by default. See the 8.2 release notes for further information
Version: 3.14.32  |   Created: 2018-11-02  |   Modified: 2021-01-05  |   Creator: Guy Leech  |   Downloads: 865
Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO's name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified
Version: 1.4.9  |   Created: 2018-10-05  |   Modified: 2018-11-20  |   Creator: Guy Leech  |   Downloads: 792
Opens a remote PowerShell session to the selceted computer(s) or to the computer(s) hosting the selected process(es) or user session(s). WinRM and PowerShell remoting already needs to be configured on the target computers. You can do that with ControlUp using the "Enable PSRemoting" SBA.
Version: 1.11.12  |   Created: 2015-08-20  |   Modified: 2016-08-17  |   Creator: Eugene Kalayev  |   Downloads: 792
Executes the netstat command to show the network sessions established on the target computer/s
Version: 1.1.1  |   Created: 2014-05-27  |   Modified: 2014-05-27  |   Creator: ControlUp Support  |   Downloads: 767
Version: 1.2.3  |   Created: 2016-07-18  |   Modified: 2016-07-19  |   Creator: Gerald Waite  |   Downloads: 734
Adjusts the process priority in a users session based on its state.
Active = Normal
Idle / Disconnect = Process Priority Floor
Version: 1.5.8  |   Created: 2019-07-25  |   Modified: 2019-08-04  |   Creator: Trentent Tye  |   Downloads: 714
For every selected process, displays the list of DLLs currently loaded
Version: 1.0.2  |   Created: 2014-04-01  |   Modified: 2014-04-01  |   Creator: ControlUp Support  |   Downloads: 706
This script gets the dimensions of the users working display area and take a screenshot. The screenshot can be saved as a BMP, JPG or PNG in a location of choice.
Version: 2.3.5  |   Created: 2019-02-25  |   Modified: 2022-12-14  |   Creator: Ton de Vreede  |   Downloads: 703
Completely empty or trim process working sets to a specific size in order to make more memory available for other processes/users. The memory is paged oiut and pages of this will be paged back in if the process needs it.

WARNING. If too many processes are trimmed too frequently, performance can suffer due to hard page faults so use with caution
Version: 1.6.9  |   Created: 2019-07-25  |   Modified: 2019-08-04  |   Creator: Guy Leech  |   Downloads: 688
This script runs on the console and performs a basic health check of the local AD domain. Please see the documentation within the script for all the details and choices available.
Version: 1.4.6  |   Created: 2016-10-06  |   Modified: 2016-11-07  |   Creator: webster  |   Downloads: 686
  • 4
  • of 44