Monday 11 November 2013

Office 2010: Licensing Commands


Windows x64 / Office x86

View Client Machine ID:

cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dcmid

View licensing information:

cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus

Apply product key:

cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /inpkey:AAAA-BBBB-CCCCC-DDDDD-EEEEE


ReArm Office

Launch administrative command prompt and enter:

cd "C:\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform"

then enter:  ospprearm.exe

Wednesday 28 August 2013

Netgear Print Server PS101: Determine IP Address

To determine the IP address of a Netgear Print Server PS101:

Connect via ethernet to a machine with Wireshark installed.
Launch Wireshark and the ARP requests should reveal the IP address and default gateway.
  
For example: Who has 192.168.x.x? Tell 192.168.x.x

Tuesday 28 May 2013

Outlook 2010: Cannot Provide Form Scripting Support

"Microsoft Outlook cannot provide form scripting support. This feature is not available."

Error message is displayed in Outlook 2010 when installed on a Windows Server 2008 based Terminal Server.

To resolve it is necessary to install an additional component.

Launch regedit and browse to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products
 
Locate the Microsoft Office ModifyPath string within the entry where the DisplayName is for the full product

DisplayName: Microsoft Office Standard 2010
Modify Path: MsiExec.exe /X{90140000-0012-0000-1000-0000000FF1CE}

Put the Terminal Server into Install Mode through the following command:

change user /install

Run the following command, using the correct ModifyPath string:

msiexec /i {90140000-0012-0000-1000-0000000FF1CE} ADDLOCAL=OutlookVBScript /qb
Put the Terminal Server into Execute mode through the following command:

change user /execute

Vodafone: Top Up, Find Balance & Find Mobile Number

 To find the balance of a device on Vodafone dial 2345 or:
* # 1 3 4 5 #

To find the mobile number of a device on Vodafone dial:
* # 1 0 0 #

To top up dial:
1 3 4 5

Tuesday 16 April 2013

Exchange 2007: PowerShell - Query Mailbox Sizes

A useful Exchange PowerShell script to list mailbox sizes and databases, sorted by size.

Get-MailboxStatistics | sort-object Database, TotalItemSize -Descending | ft DisplayName, @{expression={$_.TotalItemSize.Value.ToMB()};label="TotalItemSize(MB)"}, Database -autosize

Exchange 2007: PowerShell - Query Mailbox Last Logon Time

A useful Exchange PowerShell script to list the last logon time for mailboxes, sorted by date.

Get-MailboxStatistics | Select-Object DisplayName, LastLogonTime | Sort LastLogonTime

VMware ESXi 4.1: Change Bash Prompt To Display Hostname

To change the bash prompt of an ESXi host to display the hostname

SSH to the host
change directory to /etc
vi profile and append the following two lines:

HOSTNAME=`hostname`

export PS1="`grep ${HOSTNAME} /etc/hosts | awk '{print $2}' |cut -d. -f1`> "

Sunday 7 April 2013

VMware vSphere 4.1 Client: Installation Error - Microsoft Visual J# 2.0 Second Edition Installer Error Code 4121

Microsoft Visual J# 2.0 Second Edition installer returned error code '4121' error message is displayed when installing VMware vSphere Client 4.1 on Windows 8 x64.

To resolve, download and install Microsoft Visual J# 2.0 Redistributable Package – Second Edition (x64) first.

http://www.microsoft.com/en-us/download/confirmation.aspx?id=15468

Then run the vSphere Client installer with Windows 7 compatibility:

Wednesday 3 April 2013

Avaya IP Office: Hide Outgoing Caller ID Per User

To hide the outgoing caller ID on a per user basis create a new short code within the users ShortCodes tab in IP Office Manager with the following settings:

Code: ?
Feature: Dial
Telephone Number: .W
Line Group ID: 0

Wednesday 27 March 2013

Adobe InDesign CS6: Error - Network Connection Was Lost

Adobe InDesign CS6 on Windows 7 displays the error:

The network connection was lost for the file <filepath\filename.indd>, or the file was modified by another process.

This error can occur soon after opening the file and can be caused when the file being accessed is based on a Mac server.

The issue is due to the SMB implementation within Mac OSX

To troubleshoot, attempt to open the same file within InDesign from another machine to see if the same error message is displayed. If it is, the issue is not with the first machine.

To workaround, either copy the file to the local machine or open command prompt and run a continuous ping from the Windows machine to the Mac server.

ping -t <IP Address of Mac Server>

eg: ping -t 192.168.0.5

To resolve, a third party application needs to be installed on the Mac Server, such as SMBUp.

http://eduo.info/apps/smbup




VMware ESXi 4.1: Identify Installed Memory Modules

To view the details of memory modules installed when running ESXi:

SSH to the host and enter the following command:

smbiosDump | grep Size

The output should be similar to the below.

    Size: No Memory Installed
    Size: No Memory Installed
    Size: 8 GB
    Size: No Memory Installed
    Size: No Memory Installed
    Size: 8 GB
    Size: No Memory Installed
    Size: No Memory Installed
    Size: 8 GB
    Size: No Memory Installed
    Size: No Memory Installed
    Size: 8 GB
    Size: No Memory Installed
    Size: No Memory Installed
    Size: 8 GB
    Size: No Memory Installed
    Size: No Memory Installed
    Size: 8 GB


Further detail, such as memory speed and slot identifier, can be displayed through the following command:

smbiosDump | grep 'Size\|Speed\|Location'


    Location: "PROC 1 DIMM 1G"
    Size: No Memory Installed
    Location: "PROC 1 DIMM 2D"
    Size: No Memory Installed
    Location: "PROC 1 DIMM 3A"
    Size: 8 GB
    Speed: 1333 MHz
    Location: "PROC 1 DIMM 4H"
    Size: No Memory Installed
    Location: "PROC 1 DIMM 5E"
    Size: No Memory Installed
    Location: "PROC 1 DIMM 6B"
    Size: 8 GB
    Speed: 1333 MHz
    Location: "PROC 1 DIMM 7I"
    Size: No Memory Installed
    Location: "PROC 1 DIMM 8F"
    Size: No Memory Installed
    Location: "PROC 1 DIMM 9C"
    Size: 8 GB
    Speed: 1333 MHz
    Location: "PROC 2 DIMM 1G"
    Size: No Memory Installed
    Location: "PROC 2 DIMM 2D"
    Size: No Memory Installed
    Location: "PROC 2 DIMM 3A"
    Size: 8 GB
    Speed: 1333 MHz
    Location: "PROC 2 DIMM 4H"
    Size: No Memory Installed
    Location: "PROC 2 DIMM 5E"
    Size: No Memory Installed
    Location: "PROC 2 DIMM 6B"
    Size: 8 GB
    Speed: 1333 MHz
    Location: "PROC 2 DIMM 7I"
    Size: No Memory Installed
    Location: "PROC 2 DIMM 8F"
    Size: No Memory Installed
    Location: "PROC 2 DIMM 9C"
    Size: 8 GB
    Speed: 1333 MHz


Friday 1 March 2013

HP Business Desktop: Arial, Georgia & Verdana Fonts Missing

Unable to set bold or italic versions of common fonts within Microsoft Office such as Arial or Verdana.

The issue is due to certain fonts being removed after the uninstallation of preloaded applications on HP Windows 7 Business Desktops, such as PressReader.

To resolve, copy the following fonts from C:\Windows\Fonts on a working machine:

Arial
Georgia
Verdana

Exchange 2007: New Accepted Domain - 5.7.1 Unable to relay

Unable to send email to particular domain after adding as Accepted Domain in Exchange 2007.
The exact error message is:

#<IP Address> #5.7.1 smtp; 550 5.7.1 Unable to relay> #SMTP#

The solution is to restart the Exchange Transport service.

AutoCAD 2013: Slow Opening Drawings From Network Share

AutoCAD 2013 hangs at a percentage when opening a drawing. If left long enough, AutoCAD will launch and open the drawing.


As a temporary workaround and to speed up the opening process, copy the file to the local machine and disable the network adapter.

The issue can be caused by embedded objects located on a network file share that is no longer accessible.

To resolve, within the drawing at the command prompt type XREF to list all embedded objects.
Verify that all objects listed are valid and accessible and remove obsolete items via right click - Detach.