Aleksandar's computer workshop

Let's see what Aleksandar was fixing today.
My findings, tips & tricks related to computers, internet, programming and other stuff I was working with.

Difference between S1 (POS) and S3 (STR) standby mode in BIOS?

Computer can be in several power or standby states. It's handled by so called ACPI (Advanced Configuration and Power Interface) power management specification.
I will skip long storry and in short describe "most important" states:

S0 Working: the normal working state of the computer, the operating system and applications are running. The CPU(s) execute instructions. Within this state, it is possible for CPU(s) and devices like hard drives, DVD drives, etc. to be repeatedly put into and come back from low-energy states. Laptops, for example, routinely power down all currently unused devices when running on battery; some desktops also do this to reduce noise.

S1 (POS) Standby: All processor caches are flushed, and the CPU(s) stop executing instructions. Power to the CPU(s) and RAM is maintained; RAM is refreshed; devices that do not indicate they must remain on may be powered down. Some newer machines do not support S1; older machines are more likely to support S1 than S3. This state can operate when a card or peripheral does not recognize S3. The most power-hungry of sleep-modes. POS means Power On Standby.

S2 Standby: System appears off. The CPU has no power; RAM is refreshed; the system is in a lower power mode than S1. It is not commonly implemented.

S3 (STR) Standby: In this state, the CPU has no power, the power supply is in a reduced power mode, main memory (RAM) is still powered, although it is almost the only component that is. Since the state of the operating system and all applications, open documents, etc. lies all in main memory, the user can resume work exactly where they left off the main memory content when the computer comes back from S3 is the same as when it was put into S3. S3 has two advantages over S4; the computer is faster to resume than to reboot, secondly if any running applications (opened documents, etc) have private information in them, this will not be written to the disk. However, disk caches may be flushed to prevent data corruption in case the system doesn't wake up e.g. due to power failure. STR means Save To RAM. In modern operating systems it's called as: Standby in versions of Windows through Windows XP and in some varieties of Linux, Sleep in Windows Vista and Mac OS X.

S4 Hibernate: In this state, all content of main memory is saved to non-volatile memory such as a hard drive, preserving the state of the operating system, all applications, open documents etc. That means that after coming back from S4, the user can resume work where it was left off in much the same way as with S3. The difference between S4 and S3, apart from the added time of moving the main memory content to disk and back, is that a power loss of a computer in S3 makes it lose all data in main memory, including all unsaved documents, while a computer in S4 is unaffected. A system that's in S4 can also be Mechanicaly Off (no power at all) and still keep its S4 save state information, so that it can resume the operating state after getting back power. This mode is also referred to as Save To Disk, Suspend to Disk, Hibernation in Windows, Safe Sleep in Mac OS X.

S5  Soft Off: The hardware is completely off, the operating system has shut down; nothing has been saved. Requires a complete reboot to return to the Working state.

How-to disable Windows Mobile 6.1 Threaded SMS View

There may be an occasion where you want to restore the original chronological view for the SMS Inbox rather than the new threaded view.
There is a simple registry fix to turn off threading and restore the "classic" view.
From the registry editor of your choice (PocketPC version of Total Commander for example) browse the device registry for the key:

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings]

Under this add a new DWORD value called "SMSInboxThreadingDisabled" and set it to 1.
Soft-reset the device and the regular message view will be used.
Set this registry value back to 0 or delete it to restore the default threaded view.

NOTE that some devices check for value at another key location:

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings\OEM]

Outlook 2007 - Problem with A Dialog Box Is Open. Close it and try again.

When starting Outlook 2007 and attempting to send new e-mail (compose a message) you might get error message "A dialog box is open. Close it and try again.". This alert appeared even though no dialog boxes appeared to be open.
The problem is that Outlook started on a new user profile, and the usual Outlook/Word dialog that asks you for your Name/Initials was getting hidden someplace (because Word starts silently in Outlook).

The solution is to close everything, restart the computer, open another Office application (like Word) and fill in the User Name details dialog box.

Once this is done Outlook will work correctly.

If you don't have the full Office installed, you won't be able to launch Word.
So to fix it, you'll have to temporarily remove a Microsft Update item number KB946983.
Use the control panel to remove this update, start Outlook, then windows will apply the update again at a later time.

Last option is to install following hotfix:
http://support.microsoft.com/default.aspx?scid=kb;en-us;950282

How to fix Vista Multi Booting, HDD Cloning, drive letter and other boot problems

Today I had to migrate data from one HDD to another. Afected computer have XP and Vista in dual boot configuration.
In normal situation if booted with XP you will see only C: drive while Vista partition is hidden.
When booted with Vista second partiotion is visible as C: and first (XP) partition is D:
HDD was cloned using Acronis True Image 11 Home Edition. Due to fact that HDD was bigger than older one partitions size changed as well.
Everything worked perfectly until old HDDD was taken out and cloned HDD was used to boot from.

First boot XP was working perfectly. Visible is only C: drive and second hidden partition.
But after booting Vista I got some strange errors caused by drive letter change. Vista partition is now D:!

In order to fix the problem I have used "Drive Letter Problems" section from this page: 
http://www.multibooters.co.uk/cloning.html

After few registry entry changes, PC is restarted and everything works!!! GREAT!

I would higly recommend the article for following issues:

Dual/Multi Booting With Vista
Cloning Vista
Possible partition issues
Preparing the BCD
Curing drive letter allocation problems
Fix the BCD while working from another OS or the Vista DVD
Hibernation issues
Backup the BCD
Whole drive cloning