All posts by Simon

Manually Refresh and Update Exclaimers Mail Disclaimer Active Directory Cache

When Exclaimer’s Mail Disclaimers Signature tool query’s active directory , it will sometimes cache the information for up to 2 hours (depending on your settings).

To manually force an AD Refresh Restart the following Services in order :
– Exclaimer Mail Disclaimers Configuration Service ( It will also ask to restart 2 others if you accept and restart these as well )
– Microsoft Exchange Transport Service

 

Collecting IBM Dynamic System Analysis (DSA) remotely on VMware ESXi

Download the portable executable for the client connecting to the remote host: http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=serv-dsa

You will need to enable remote connections to the VMware ESXi shell. Using the vSphere Web Client, perform the following:

1) Browse to Home > Inventory > Hosts and Clusters.

2) Select the Host and then the Manage tab.

3) Select Security Profile and scroll down to the Services section.

4) Edit and start both the ESXi Shell and SSH services.

Since I was using Windows OS to invoke the program from a command prompt, where the filename of the executable was ibm_utl_dsa_dsyte1d-9.61_portable_windows_x86-64.exe, where the username and password are the credentials to connect to the host and the host details of the ESXi host either by hostname or IP address.

ibm_utl_dsa_dsyte1d-9.61_portable_windows_x86-64.exe –vmware-esxi <username>:<password>@<host>

The executable will then collect the system information and output to a destination location, which is by default C:\IBM_Support.

UPTIME error for a Windows 2003 client

Basically the alert was “NSClient – ERROR: Could not get value”

To verify you can run this command (from a command prompt) and check the output on the server:

cd “c:\Program Files\NSClient++ ”
nsclient++.exe /test

To fix this we need to force a counter rebuild., again from a command prompt:

cd \windows\system32

lodctr /R

Re-run the action to check immediately and it should come back okay.

“Active Directory Trusted Subdomains synchronization” alerts

A new Sophos Web Appliance was emailing these alerts daily due to not being able to access another domain in the organisation.

From your SWA portal go to the Configuration > System > Active Directory

The make these changes:

1) turn off AD authentication,
2) click Apply,
3) turn on AD authentication again,
4) uncheck the auto-detect settings option,
5) change the LDAP port from 3268 to 389,
6) run Verify Settings,
7) if there are no further errors/warnings, then click Apply.

swa-before

You should not get an “Active Directory Trusted Subdomains synchronization” alert again.

This mailbox database contains one or more mailboxes

Came across this when trying to uninstall an Exchange server (was the original server in the organisation). I knew there were no mailboxes left in the database indicted in the error message but it seems there are hidden mailboxes.

You need to run through the following commands and make sure you don’t get any results back:

– Get-Mailbox -Database <mailstore name>
– Get-Mailbox -Archive -Database <mailstore name>
– Get-Mailbox -PublicFolder -Database <mailstore name>
– Get-Mailbox -Arbitration -Database <mailstore name>

This last one was my problem. I had to move these mailboxes off to the other server which was a case of simply piping the result and adding a move request to it:

Get-Mailbox -Arbitration -Database <mailstore name> | New-MoveRequest -TargetDatabase <new mailstore name>

Once complete clear up the requests either from the PowerShell command line or within the GUI.

Buffalo Linkstation (LS-WXL) – Admin hack

Long story short I needed access to this NAS and it was on the other side of the planet so a little creative coding came to the rescue.

With developer tools enabled (I used Chrome).

  • Get to the login page
  • Open dev tools sources tab
  • Open login_utis.js under the ‘authentication’ folder
  • Replace the login function with the following:

function login(f, lang) {
if (login_lock != 0) {
return;
}
login_lock = 1;

var uid = Ext.getCmp(‘user’);
var uid_value = uid.getValue();
var pwd = Ext.getCmp(‘password’);
var pwd_value = pwd.getValue();

f.form.submit({
url: ‘/dynamic.pl’,
params: {
bufaction: ‘verifyLogin’
},
waitTitle: S(‘Please Wait…’),
waitMsg: S(‘Logging In…’),
success: function(form, action){
var decodedResponse= Ext.decode(action.response.responseText);
var jsonData = decodedResponse.data;
loginSuccess(f, action, uid_value, lang);
},
failure: function(form, action){
loginSuccess(f, action, uid_value, lang);
}
});
};

  • Hit Ctrl+S (save the change)
  • Login as admin with any password. I used admin/admin
  • Reset the admin account with a new password.

Bad security in this case saved a lot of hassle.

Cannot install .NET 3.5 on Windows 8.1

.NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F0907

You can use the Windows installation media as the file source when you enable the .NET Framework 3.5 feature. To do this, follow these steps:

  • Insert/Mount the Windows installation media.
  • At an elevated command prompt, run the following command:

Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:\sources\sxs /LimitAccess

Check Exchange 2010 internal and external URL configuration

A quick list of commands to show the URL configuration, remember use the Exchange PowerShell commands:

Get-ActiveSyncVirtualDirectory | ft server,*lur* -AutoSize
Get-AutodiscoverVirtualDirectory | ft server,*lur* -AutoSize
Get-ClientAccessServer | ft name, *lur* -AutoSize
Get-EcpVirtualDirectory | ft server,*lur* -AutoSize
Get-OabVirtualDirectory | ft server,*lur* -AutoSize
Get-OwaVirtualDirectory | ft server,*lur* -AutoSize
Get-WebServicesVirtualDirectory | ft server,*lur* –AutoSize

The AutoSize parameter allows you to tell PowerShell that you want the formatter to automatically size the table columns, showing as much data as possible.