Script Library

Order by
Showing controlup scripts that tagged 'user profiles, hardware, hosts, domain' ordered by Date

Find user account lock out events 1.5.10

Retrieve event id 7470 instances from the security event logs to gives details of the user account, the time and location of the lock out. Can filter a specified number of days back and/or a specific user name tags:domain, lockout, password
Created: 2020-07-24
Modified: 2020-08-04
Creator: Guy Leech
Downloads: 24

Repair machine-domain trust relationship 1.2.7

There are many situations for which a machine (server OS or workstation) will lose domain trust. If the ControlUp agent is installed on the machine, this script will execute locally and repair the domain trust. Domain credentials with permission to reset the computer account must be provided. tags:Citrix,PVS,machine account,domain
Created: 2020-05-06
Modified: 2020-05-07
Creator: marcel.calef
Downloads: 98

Redirect URLs to in HOSTS file 1.4.19

This script can be used as a quick way to block access to a URL. The provided URLs (comma separated) are placed in a 'ControlUp' section of the HOSTS file, where they are directed to As a result DNS lookup of these URLs always point to home, essentially preventing access to a website unless you know the IP number. After this the command IPCONFIG /FLUSHDNS is run to clear the DNS cache. tags:ip blocking, hosts
Created: 2020-03-30
Modified: 2020-03-30
Creator: Ton de Vreede
Downloads: 18

Show or delete local user profiles 2.4.20

Finds and optionally deletes local user profiles. The user can provide two arguments - the minimum profile age in days and the minimum profile size. The default operation mode is to display the profiles that fit these criteria. When the "Delete" option is set to "true", the script will delete the profiles it found. tags:user profiles,disk space,vdi,rds,citrix
Created: 2018-12-26
Modified: 2020-06-10
Creator: Guy Leech
Downloads: 83

Show computer CPU details 1.4.7

This script returns the details of the target machine CPU(s) as reported by the OS via WMI, including properties like max clock speed, revision, and status. Use the Verbose option for extra details. tags:cpu,hardware
Created: 2018-12-02
Modified: 2018-12-17
Creator: Ton de Vreede
Downloads: 127