Thursday, July 29, 2010

Forcing Attended Remote Control in GFI MAX Remote Management

Suprisingly, after TakeControl functionality (TeamViewer) was added to GFI MAX RemoteManagement we have had a few partners inform us that their customers are only comfortable with attended remote support and there needed to be an option for this.

The VBS script below can be run as an GFI MAX RM Automated Task (or be modified to run as a login script) and changes the TeamViewer configuration to request permission for the user when the session is established.

The script also makes another change, allowing for the exception that unattended remote support is allowed when target workstation/server is not logged in.

Script available here:
http://db.tt/1AmtQZ

Updated 12/08/2010 - In some cases the logic wasn't correct depending on how TeamViewer had been configured.

Tuesday, July 13, 2010

Using GFI MAX RemoteManagement to check for free disk space on a volume

GFI MAX RM allows you to check for free disk space on mounted drive letters, however if you have a volume mounted as a folder you are unable to perform the standard disk space check.

The script below allows you to check the available disk space on a mounted volume as a GFI MAX RM agent user script specifying the mounted folder name and minimum free disk space threshold (in GB) as parameters.

Download the script here: http://db.tt/mJBAzQ

Note: Make sure to include the trailing \ in the folder name. i.e. "C:\Files\"

Monday, July 12, 2010

Using GFI MAX RemoteManagement to reset lost domain administrator password

A GFI MAX RM customer changed their domain administrator password and then lost the password and with no other administrator accounts were effectively locked out of their server.

Luckily they had the GFI MAX RemoteManagement agent installed on their domain controller and were able to run the following command (as an automated task) to remotely reset the password for the domain administrator account.

cmd.exe /k net user administrator password1! /domain

(password1! being the new password)

This has been tested on Windows 2003 and 2008 domain controllers.

Note: The new password will need to meet the domain password security requirements to be successfully changed.

Much easier than the current recovery methods of creating offline password resets CD (if necessary) and run once services. No reboot necessary!

Using GFI MAX RemoteManagement to monitor Microsoft Forefront Client Security definition files

I have modified a VBS script for checking the Microsoft Forefront Client Security AV/AS Definition files (originally found here) to monitor if the definition files have been updated in the last 24 hours and report the status using the GFI MAX RemoteManagement Agent.

Credit to Turranx for writing the original script and working out how to retrieve the correct definition information from the binary files!

Script available for viewing/download here: http://db.tt/COu0Cb