Lync & sipmap

Posted by robd on December 04, 2012
Lync 2010 / No Comments

A friendly chap called Tomas (who I think is from the Czech Republic) recently asked if its possible to schedule the “Enable disabled users for Lync script” I wrote about here:

Well the answer is yes, basically add   //b  and take out the pause at the end then go into task scheduler in Windows and set it up:

Tags: , , ,

Lync 2010 Disabled Users – Enabled them on Lync 2010

Posted by robd on September 07, 2012
Lync 2010 / 5 Comments

Hi All,

We use linked mailboxes within the company I work in as we’re too lazy to finish a AD/Exchange migration.  Now as you’ll know linked mailboxes need to have a disabled mailbox in AD to work….

Well a while ago we needed to install Lync 2010 and being proactive we installed the Lync sever on the new domain…then we realised that Lync 2010 cant natively work with disabled accounts.

So having a butchers about on the Internet we found this script to enable disabled users in a certain OU to use Lync 2010.  The script uses SIDMAP.WSF to synchronize the msExchMasterAccountSid attibute to the msRTCSIP-OriginatorSid attribute on the  SIP-enabled disabled user account.

So just for clarity, SIP enable the account through the Lync 2010 control panel, then run this batch script:

Tags: , , , ,

Execute Backup Exec jobs via a script

Posted by robd on August 16, 2012
Backup Exec 2010 R3, Veeam / 2 Comments

Like me you may want to stat a backup exec job once something else has complete, for example when Veeam has finished backing up my VM environment I want BE to backup the Veeam files generated….so here’s how to execute Backup Exec jobs via a script:

1. Create your Backup Exec job with no scheduling, and make a note of the job name. (your_job_name)

2. Create a new batch file, using the following statements;

X:\Y\Z\bemcmd.exe -c”YOURBACKUPSERVER” -n”LOCALADMINISTRATOR” -p”PASSWORD” -o1 -j”your_job_name”


X:\Y\Z is the location of your BackupExec install directory if running locally, or the location of your BEMCMD.exe and supporting DLL’s if a remote server.

“YOURBACKUPSERVER” – FQDN or Netbios name of your BackupExec server

“LOCALADMINISTRATOR” – Local administrator account on the BE server. Consider using a local service account for this task.

“PASSWORD” – Local Admin account password. This is stored in plain text.

“your_job_name” – The name of your backup job in Backup Exec.

3. Configure your thrid party appkication to execute the script, and your backup job will be executed on the BE server.

Consider added alerting to your batch file if your 3rd party application does not feature reporting.

Tags: , , ,

Copy Protected by Chetan's WP-Copyprotect.