Tuesday, October 5, 2010

Disable TakeControl from listening on TCP port 80

By default TeamViewer binds to TCP port 80 on the local machine. Although TakeControl does have a slightly delayed start-up to allow other processes to bind to this port first, sometimes it still overrides other slower starting services (normally web servers) from binding to the local port.

The following Automated Task script (save as VBS) can be uploaded to GFI MAX RM as a user-defined script to automatically make a registry change to prevent the TakeControl Host service from binding at all.

This shouldn't actually affect the standard TakeControl functionality.

http://db.tt/ozStJUJ

Wednesday, September 29, 2010

Using GFI MAX RemoteManage to monitor DataLock backups

The script below can be configured as a Daily Safety Check from with-in GFI MAX RM to monitor the status of DataLock backups by parsing the log files for a result.

You need to add the path to the DataLock log file folder as the script command line for the script to work correctly. i.e. "C:\Users\administrator.domain\.obm\log\9284305749693\Backup".



Script here: https://www.box.com/s/b784f2ca705a8edd67aa

Remember to save the script as a VBS file before attempting to upload the script the GFI MAX RM Dashboard.

Tuesday, August 3, 2010

Using TakeControl Viewer on a Team TakeControl host?

At the moment it is not possible to use the TakeControl Viewer on the same computer that has the TakeControl Host service installed. This is a problem if the actual partners performing the remote support sessions have the Advanced Monitoring Agent installed on their own workstations.

The only workaround I have found so far is as follows:
  1. Download TeamViewer Portable (http://www.teamviewer.com/download/version_5x/TeamViewerPortable.zip) and extract to a folder on your computer.
  2. Make a file association between TVC files and the TeamViewer Portable executable as seen below.
  3. Before trying to establish a connection by running a TVC file from Internet Explorer (Clicking TakeControl in GFI MAX RM):

                    a) Exist TeamViewer from the Taskbar.
                    b) Stop the TeamViewer services from the services control panel.
If anyone has found a better way to do this, let me know!

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