Header-Flash

Pages

Oct 12, 2009

Fix: How To Remove Office Genuine Notification (OGA Update)

Office Genuine Advantage (OGA) is another initiative by Microsoft to stem the piracy and counterfeit copy of Microsoft Office business producitivity suite and applications. Since April 15, 2008,Office Genuine Advantage (OGA) Notifications was pushed to client computers installed with Microsoft Office XP, Office 2003 or Office 2007 as “Important” or “Needed” update, and is not removable or uninstallable after installed.

After installed, OGA validation component will perform a check on install Office software, and OGA Notifications notifier component will display various “This copy of Microsoft Office is not genuine” message if the Office software is determined as not genuine or not legitimate.
Although officially Microsoft prevents and disallows end-users from removing OGA Notifications (KB949810), there are several workarounds or hacks to remove Office Genuine Advantage Notifications. In fact, as it’s a MSI (Windows Installer) package which installed the OGA, the KB949810 OGA update can be removed and completely uninstalled properly and completely by using MSI uninstall string.


How to Uninstall Office Genuine Advantage Notifications (KB949810)
Open an command prompt window with elevated privileges.
Depending on the version of OGA (Office Genuine Advantage) installed (can be view from properties of %SystemDrive%\Windows\System32\OGAAddin.dll or DEL %SystemDrive%\Windows\System32\OGACheckControl.dll), run following commands below (see Tip below if you only want to run one command):

MsiExec /X {049F2E8F-D5EC-4133-87FA-8E94837D8D0C} /QN /NORESTART ALLUSERS=1
MsiExec /X {B148AB4B-C8FA-474B-B981-F2943C5B5BCD} /QN /NORESTART ALLUSERS=1
MsiExec /X {DB427EF6-F13E-4AA6-9D40-5D962394774F} /QN /NORESTART ALLUSERS=1
MsiExec /X {B2544A03-10D0-4E5E-BA69-0362FFC20D18} /QN /NORESTART ALLUSERS=1

Note that the GUID identifier for OGA application may vary from system to system, depending on version and language installed. Generally, it works for OGA v1.7.0102.0, OGA v1.7.0105.35.0 and OGA v1.7.0105.35.0 v2.0.48.0.


Tip: To determine which is the exact application ID for Office Genuine Advantage installed on your system, run registry Editor (RegEdit), and navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurentVersion\Uninstall
There are many registry sub-keys that resembles the product ID above. Go into each and everyone of the registry sub-branches to look for and locate DisplayName REG_SZ value data which matches or similar toOffice Genuine Advantage or OGA.
After uninstalling OGA properly, it’s wise to clean up and remove all trace of OGA from the system. Run the following commands to delete all registry entries and system files, if still present:

REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\OGAAddin.Connect /f
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\OGAAddin.Connect /f
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Powerpoint\Addins\OGAAddin.Connect /f
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\OGAAddin.Connect /f
DEL %SystemDrive%\Windows\System32\OGAVerify.exe
DEL %SystemDrive%\Windows\System32\OGAEXEC.exe
DEL %SystemDrive%\Windows\System32\OGAAddin.dll
DEL %SystemDrive%\Windows\System32\OGACheckControl.dll

User who want an automated solution to remove Office Genuine Advantage can download the OGA Uninstaller, a batch script that automatically run all of above commands.



Download this batch file


Tool: Easily Diagnosing Bios Beep Codes


The first wake-up process of a computer is called POST (Power On Self-Test).
This test is run by the motherboard. Hardware devices such as memory, PCI, AGP and more are being checked. the BIOS system is also checked for normal functionality.

in case of an error, the result is heard as a set of beeps in different frequencies (like Morse codes).
the beeps differs between different Bios manufacturers.

To understand the meaning of the beeps you can read the following sites:



or use this nice tool that sums it all in one place:

Download: Beeping Bios Codes Tool

Some more helpful information about Bios can be found in these guides:





Oct 8, 2009

Fix: Office 2007 Setup Error 1406 on Vista

Symptoms:

While installing Office 2007 you get error 1406 saying:
"setup cannot write the value to the registry key"
if you click on Ignore it can popup up tp six times during the installation.

The error message that you receive lists the registry subkey that is causing the error to occur.When attempting to install Microsoft Office, it will often reference one or more of the following keys:

HKEY_LOCAL_MACHINE > Software > Classes > HWXInk.E-Ink

HKEY_LOCAL_MACHINE > Software > Classes > HWXInk.E-Ink.1
HKEY_LOCAL_MACHINE > Software > Classes > SketchObj.SketchInk
HKEY_LOCAL_MACHINE > Software > Classes > SketchObj.SketchInk.1

In order to resolve this, we need to give the installer permission to write to these keys.

Solution:

Launch the registry editor by choosing Start > Run (or Windows Key+R) and typing REGEDIT.

Locate the first of the above-listed registry keys. Right-click on the key and click Permissions. In the list of groups or user names, see if “Everyone” is listed. If the group exists, skip to step 5. If the group does not exist, begin with step 1:

1. Click the Add button below the “Group or user names” box.
2. Click Advanced at the bottom of the next window.
3. Click “Find Now” on the right side of the next window.
4. In the list of results, choose the “Everyone” entry, click OK, and then OK again.
5. In the “Group or user names” box, be sure Everyone is highlighted, and check the box to allow Full Control.
6. Repeat for the next registry key in the list.

Once permissions have been adjusted for all four of the listed keys, reboot the computer and attempt to install Office.

Reference: http://support.microsoft.com/kb/838687

Sep 10, 2009

Microsoft Outlook Command-Line Switches

Microsoft Outlook comes with a list of command-line switches that can solve different problems or run Outlook with a pre-defined action an startup.

Outlook 2003:


Switch
Description
/a
Creates an item with the specified file as an attachment.Example:
"C:\Program Files\Microsoft Office\Office11\Outlook.exe" /a "C:\My Documents\labels.doc"If no item type is specified, IPM.Note is assumed. Cannot be used with message classes that aren’t based on Outlook.
/altvba otmfilename
Opens the VBA program specified in otmfilename, rather than %appdata%\Microsoft\Outlook\VbaProject.OTM.
/autorun macroname
Opens Outlook and immediately runs the macro specified in macroname.
/c messageclass
Creates a new item of the specified message class (Outlook forms or any other valid MAPI form).Examples:
/c ipm.activity creates a Journal entry
/c ipm.appointment creates an appointment
/c ipm.contact creates a contact
/c ipm.note creates an e-mail message
/c ipm.stickynote creates a note
/c ipm.task creates a task
/checkclient

Prompts for the default manager of e-mail, news, and contacts.
/cleanclientrules
Starts Outlook and deletes client-based rules.
/cleandmrecords
Deletes the logging records saved when a manager or a delegate declines a meeting.
/cleanfinders
Removes Search Folders from the Microsoft Exchange server store.
/cleanfreebusy
Clears and regenerates free/busy information. This switch can only be used when you are able to connect to your Microsoft Exchange server.
/cleanprofile
Removes invalid profile keys and recreates default registry keys where applicable.
/cleanpst
Launches Outlook with a clean Personal Folders file (.pst)
/cleanreminders
Clears and regenerates reminders.
/cleanrules
Starts Outlook and deletes client- and server-based rules.
/cleanschedplus
Deletes all Schedule+ data (free/busy, permissions, and .cal file) from the server and enables the free/busy information from the Outlook Calendar to be used and viewed by all Schedule+ 1.0 users.
/cleanserverrules
Starts Outlook and deletes server-based rules.
/cleansniff
Deletes duplicate reminder messages.
/cleansubscriptions
Deletes the subscription messages and properties for subscription features.
/cleanviews
Restores default views. All custom views you created are lost.
/designer
Starts Outlook without figuring out if Outlook should be the default client in the first run.
/embedding
Opens the specified message file (.msg) as an OLE embedding. Also used without command-line parameters for standard OLE co-create.
/explorer
Opens the new window in “explorer” mode (link bar on).
/f msgfilename
Opens the specified message file (.msg) or Microsoft Office saved search (.oss).
/firstrun
Starts Outlook as if it were run for the first time.
/folder
Opens a new window in “folder” mode (Navigation Pane off).
/hol holfilename
Opens the specified .hol file.
/ical icsfilename
Opens the specified .ics file.
/importprf prffilename
Launches Outlook and opens/imports the defined MAPI profile (*.prf). If Outlook is already open, queues the profile to be imported on the next clean launch.
/l olkfilename
Opens the specified .olk file.
/launchtraininghelp assetid
Opens a Help window with the Help topic specified in assetid.
/m emailname
Provides a way for the user to add an e-mail name to the item. Only works in conjunction with the /c command-line parameter.
Example:
Outlook.exe /c ipm.note /m emailname
/nocustomize
Starts Outlook without loading outcmd.dat (customized toolbars) and *.fav file.
/noextensions
Starts Outlook with extensions turned off, but listed in the Add-In Manager.
/nopollmail
Starts Outlook without checking mail at startup.
/nopreview
Starts Outlook with the Reading Pane off and removes the option from the View menu.
/p msgfilename
Prints the specified message (.msg). Does not work with HTML.
/profile profilename
Loads the specified profile. If your profile name contains a space, enclose the profile name in quotation marks (”).
/profiles
Opens the Choose Profile dialog box regardless of the Options setting on the Tools menu.
/recycle
Starts Outlook using an existing Outlook window, if one exists. Used in combination with /explorer or /folder.
/resetfoldernames
Resets default folder names (such as Inbox or Sent Items) to default names in the current Office user interface language.For example, if you first connect to your mailbox Outlook using a Russian user interface, the Russian default folder names cannot be renamed. To change the default folder names to another language such as Japanese or English, you can use this switch to reset the default folder names after changing the user interface language or installing a different language version of Outlook.
/resetfolders
Restores missing folders for the default delivery location.
/resetnavpane
Clears and regenerates the Navigation Pane for the current profile.
/rpcdiag
Opens Outlook and displays the remote procedure call (RPC) connection status dialog.
/s filename
Loads the specified shortcuts file (.fav).
/safe
Starts Outlook without extensions, Reading Pane, or toolbar customization.
/safe:1
Starts Outlook with the Reading Pane off.
/safe:2
Starts Outlook without checking mail at startup.
/safe:3
Starts Outlook with extensions turned off, but listed in the Add-In Manager.
/safe:4
Starts Outlook without loading Outcmd.dat (customized toolbars) and *.fav file.
/select foldername
Starts Outlook and opens the specified folder in a new window. For example, to open Outlook and display the default calendar use: “c:\Program Files\Microsoft Office\Office11\Outlook.exe” /select outlook:calendar
/sniff
Starts Outlook and forces a detection of new meeting requests in the Inbox, and then adds them to the calendar.
/t oftfilename
Opens the specified .oft file.
/v vcffilename
Opens the specified .vcf file.
/vcal vcsfilename
Opens the specified .vcs file.
/x xnkfilename
Opens the specified .xnk file.


Outlook 2007:


Switch
Description
/a
Creates an item with the specified file as an attachment.
Example:
"c:\program files\microsoft office\office12\outlook.exe" /a "c:\my documents\labels.doc"
If no item type is specified, IPM.Note is assumed. Cannot be used with message classes that are not based on Outlook.
/altvba otmfilename
Opens the VBA program specified in otmfilename, rather than %appdata%\microsoft\outlook\vbaproject.otm.
/c messageclass
Creates a new item of the specified message class (Outlook forms or any other valid MAPI form).
Examples:
/c ipm.activity creates a Journal entry
/c ipm.appointment creates an appointment
/c ipm.contact creates a contact
/c ipm.note creates an e-mail message
/c ipm.stickynote creates a note
/c ipm.task creates a task
/checkclient
Prompts for the default manager of e-mail, news, and contacts.
/cleancategories
Deletes any custom category names that you have created. Restores categories to the default names.
/cleanclientrules
Starts Outlook and deletes client-based rules.
/cleandmrecords
Deletes the logging records saved when a manager or a delegate declines a meeting.
/cleanfinders
Resets all Search Folders in the Microsoft Exchange mailbox for only the first profile opened.
/cleanfreebusy
Clears and regenerates free/busy information. This switch can be used only when you are able to connect to the server running Exchange.
/cleanprofile
Removes invalid profile keys and re-creates default registry keys where applicable.
/cleanreminders
Clears and regenerates reminders.
/cleanroamedprefs
All previous roamed preferences are deleted and copied again from the local settings on the computer where this switch is used. This includes the roaming settings for reminders, free/busy grid, working hours, calendar publishing, and RSS rules.
/cleanrules
Starts Outlook and deletes client-based and server-based rules.
/cleanserverrules
Starts Outlook and deletes server-based rules.
/cleansharing
Removes all RSS, Internet Calendar, and SharePoint subscriptions from Account Settings, but leaves all the previously downloaded content on your computer. This is useful if you are unable to delete one of these subscriptions within Office Outlook 2007.
/cleansniff
Overrides the programmatic lockout that determines which of your computers (when running Outlook simultaneously) processes meeting items. The lockout process helps prevent duplicate reminder messages. This switch clears the lockout on the computer it is used, enabling Outlook to process meeting items.
/cleansubscriptions
Deletes the subscription messages and properties for subscription features.
/cleanviews
Restores default views. All custom views that you created are lost.
/embedding
Used without command-line parameters for standard OLE co-create.
/f msgfilename
Opens the specified message file (.msg) or Microsoft Office saved search (.oss).
/finder
Opens the Advanced Find dialog box.
/firstrun
Starts Outlook as if it were run for the first time.
/hol holfilename
Opens the specified .hol file.
/ical icsfilename
Opens the specified .ics file.
/importprf prffilename
Starts Outlook and opens/imports the defined MAPI profile (*.prf). If Outlook is already open, queues the profile to be imported on the next clean start.
/launchtraininghelpassetid
Opens a Help window with the Help topic specified inassetid displayed.
/m emailname
Provides a way for the user to add an e-mail name to the item. Only works in conjunction with the /c command-line parameter.
Example:
Outlook.exe /c ipm.note /m emailname
/nocustomize
Starts Outlook without loading outcmd.dat (customized toolbars).
/noextensions
Starts Outlook with extensions turned off, but listed in the Add-In Manager.
/nopreview
Starts Outlook with the Reading Pane off.
/p msgfilename
Prints the specified message (.msg).
/profile profilename
Loads the specified profile. If your profile name contains a space, enclose the profile name in quotation marks (" ").
/profiles
Opens the Choose Profile dialog box regardless of theOptions setting on the Tools menu.
/recycle
Starts Outlook by using an existing Outlook window, if one exists. Used in combination with /explorer or /folder.
/remigratecategories
Starts Outlook and and initiates the following commands on the default mailbox:
Upgrades colored For Follow Up flags to Office Outlook 2007 color categories.
Upgrades calendar labels to Office Outlook 2007 color categories.
Adds all categories used on non-mail items into the Master Category List.
 NOTE   This is the same command as Upgrade to Color Categories in each Outlook mailbox properties dialog box.
/resetfolders
Restores missing folders at the default delivery location.
/resetfoldernames
Resets default folder names (such as Inbox or Sent Items) to default names in the current Office user interface language.
For example, if you first connect to your mailbox in Outlook by using a Russian user interface, the Russian default folder names cannot be renamed. To change the default folder names to another language, such as Japanese or English, you can use this switch to reset the default folder names after you change the user interface language or install a different language version of Outlook.
/resetformregions
Empties the form regions cache and reloads the form region definitions from the Windows registry.
/resetnavpane
Clears and regenerates the Navigation Pane for the current profile.
/resetsearchcriteria
Resets all Instant Search criteria so that the default set of criteria is shown in each module.
/resetsharedfolders
Removes all shared folders from the Navigation Pane.
/resettodobar
Clears and regenerates the To-Do Bar task list for the current profile. The To-Do Bar search folder is deleted and re-created.
/rpcdiag
Opens Outlook and displays the remote procedure call (RPC) connection status dialog box.
/safe
Starts Outlook without Microsoft Exchange Client Extensions (ECE), the Reading Pane, or toolbar customizations. Component Object Model (COM) add-ins are turned off.
/safe:1
Starts Outlook with the Reading Pane off.
/safe:3
Starts Outlook with Microsoft Exchange Client Extensions (ECE) turned off, but listed in the Add-In Manager. Component Object Model (COM) add-ins are turned off.
/safe:4
Starts Outlook without loading outcmd.dat (customized toolbars).
/select foldername
Starts Outlook and opens the specified folder in a new window. For example, to open Outlook and display the default calendar, use: "c:\program files\microsoft office\office12\outlook.exe" /select outlook:calendar.
/share feed://URL/filename
/share stssync://URL
/share web://URL/filename
Specifies a sharing URL to connect to Outlook. For example, use stssync://URL to connect a Microsoft Windows SharePoint Services 3.0 list to Outlook.
/sniff
Starts Outlook, forces a detection of new meeting requests in the Inbox, and then adds them to the calendar.
/t oftfilename
Opens the specified .oft file.
/v vcffilename
Opens the specified .vcf file.
/vcal vcsfilename
Opens the specified .vcs file.
/x xnkfilename
Opens the specified .xnk file.