Sunday, February 7, 2010

10 issues to consider during virtualization planning

Some great questions to ask here when considering virtualization!

10 issues to consider during virtualization planning: "

Virtualizing your servers offers significant advantages, but effective planning is crucial to your success. Make sure you have satisfactory answers to these key questions before you get underway.




Server virtualization is becoming increasingly popular, and it seems that everyone is in a mad dash to virtualize their datacenter.  While there’s no disputing the benefits of server virtualization, there are some questions you should address before you begin to virtualize your servers.


Note: This article is also available as a PDF download.


1: Does my virtualization plan include a single point of failure?


I recently did a consulting job for an organization that had virtualized all of their servers. The problem was that they’d placed all of their virtualized domain controllers onto a single host server. If that host had died, it would have taken all the domain controllers with it. It’s important to plan your virtual server deployment so that the failure of a single host server will not have catastrophic consequences.


2: Are all my applications supported in a virtual environment?


Believe it or not, some fairly common applications are not supported on virtual servers. For example, some versions of Exchange Server are supported only on physical servers. Others are supported only on specific virtualization platforms. Before you begin virtualizing your servers, make sure that your applications will be supported in a virtual environment.


3: Do I have any servers that are not good virtualization candidates?


Some servers simply do not make good virtualization candidates. This is especially true of servers that run resource-intensive applications or that require special hardware. For example, some enterprise applications enforce copy protection through the use of a dongle. Dongles are almost never supported in a virtual environment.


4: How will domain controller placement work?


Earlier, I mentioned that you shouldn’t place all of your domain controllers on a single host, but there is more to domain controller planning than that. You have to consider whether you want to virtualize all your domain controllers. If you do virtualize all of them, you will have to decide whether the host servers will be domain members. Making the host servers domain members when all of the domain controllers have been virtualized leads to a ‘which came first, the chicken or the egg’ paradox (although it can be done).


5: What is the most suitable virtualization platform?


Numerous server virtualization products are on the market, and each has its own strengths and weaknesses. Be sure to take some time and figure out which product will work best for your own situation.


6: What is the contingency plan if a host server dies?


While a server failure is never good, its effects are compounded in a virtual environment. A host server failure can take down several virtual servers and cripple your network. Because host server failures can be so disruptive, you need to have a plan that will help minimize the impact of an outage.


7: How many guest machines can each host accommodate?


Probably the single biggest mistake administrators make when virtualizing a datacenter is overloading the host servers. It is critical that you do some capacity planning ahead of time to determine how many guest machines each host server can realistically accommodate. Since every guest machine is different, you need to at least have an idea of where you would like to place each guest machine when you begin the capacity planning process.


8: What software licenses will be required?


Software licensing often works differently in a virtual environment. For example, if you are using Hyper-V, you may not be required to license the Windows operating systems that are running on your guest machines. Things aren’t always so cut and dried, though, because the actual license requirements vary depending on the versions of Windows being used. Make sure that you understand the license requirements for the operating systems and applications that will be run on your guest machines.


9: How will the old server hardware be used?


The virtualization process often results in a number of leftover servers. You might be able to repurpose some of them as virtualization hosts, but you might end up having to retire them. In any case, you should have a plan for your old server hardware.


10: What is the plan for existing server clusters?


Although cluster nodes can sometimes be virtualized, you may find that the nodes perform better on physical hardware. If you do decide to virtualize your cluster nodes, just make sure that you don’t put all of them on the same host server. Otherwise, you will defeat the purpose of having a cluster because the host will act as a single point of failure.





Check out 10 Things… the newsletter


Get the key facts on a wide range of technologies, techniques, strategies, and skills with the help of the concise need-to-know lists featured in TechRepublic’s 10 Things newsletter, delivered every Friday. Automatically sign up today.







"



(Via 10 Things.)

The Essential Guide to Creating and Cloning Virtual Machine Images

The Essential Guide to Creating and Cloning Virtual Machine Images: "

As you probably know by now, Microsoft-based operating systems use SIDs (Security IDs) that are generated as part of the initial setup of Windows. If you have more than one computer with the same SID, this could cause problems, and cloning a computer (either physical or virtual) without re-generating this SID can cause SID duplication. Please read the following article if you need to learn more about this issue:


Do not disk duplicate installed versions of Windows


http://support.microsoft.com/kb/162001


Simply Better Data Protection: Backup 2.0

Backup 2.0 solutions provide simply better data protection for all environments. They use images to deliver better backup, transmission, and recovery for physical and virtual systems.

See what Backup 2.0 can mean to your business »

Curious about what sort of problems you may run into if you don't follow these guides? See my article about email stuck in Drafts folder on Exchange Server 2007/2010, for one example of what can happen...


BTW, you can use PsGetSid (by Microsoft Sysinternals) to find out if you're using computers with duplicate SIDs:


Have you performed a rollout, only to discover that your network might suffer from the SID duplication problem? In order to know which systems have to be assigned a new SID (using a SID updater like our own NewSID), you have to know what a computer's machine SID is. Up until now, there's been no way to tell the machine SID without knowing Regedit tricks and exactly where to look in the Registry. PsGetSid makes reading a computer's SID easy, and works across the network so that you can query SIDs remotely. PsGetSid also lets you see the SIDs of user accounts and translate a SID into the name that represents it.


Assumptions


This guide assumes that you’ve got some sort of virtualization infrastructure in place – this could be a VMware product, Microsoft Hyper-V, Citrix XEN and so on. It also assumes that you’ve got some sort of virtualization management tool, and a library where you store all the virtual machine templates and master images. This guide is not product specific.


In addition, it's important that you have a basic knowledge about how to set up and run your virtualization product, that you are knowledgeable about setting up virtual machines, and about the proper procedure to install and configure a Windows-based operating system on these virtual machines.


Lastly, this guide assumes that you’re knowledgeable about the proper procedures needed to be taken prior to creating a virtual machine clone, how to use SYSPREP (the system preparation tool from Microsoft), and how to create proper answer files for the preparation procedure.


Note: SYSPREP is a tool that prepares an installation of Windows for duplication, auditing, and customer delivery.


To download SYSPREP for Windows Server 2003/R2 and Windows XP, please use one of these links:


Download details: System Preparation tool for Windows Server 2003 SP2 Deployment


Download details: System Preparation tool for Windows Server 2003 SP2 Deployment (x64)


Download details: Windows XP Service Pack 3 Deployment Tools


Note that in Windows Server 2008/R2, Windows Vista/7 – the SYSPREP tool is already included in the operating system, therefore there’s no need to download it.


To create the proper answer file under Windows Server 2003/R2 and Windows XP, you need to either manually edit an existing SYSPREP.INF file, or create one for your needs. To create a SYSPREP.INF answer file for Windows Server 2003/R2 and Windows XP you can use the SETUPMGR.EXE tool found inside the Deployment Tools. Use the above links to get the proper version for your needs.


To create the proper answer file under Windows Server 2008/R2, Windows Vista/7, you need to either manually edit an existing answer file, or create one for your needs.  . To create an answer file for Windows Server 2008/R2, Windows Vista/7, you must use the tools available in the Windows Automated Installation Kit (AIK).


Download details: Windows Automated Installation Kit (AIK)


Preparing the System for Cloning


Prior to cloning the virtual machine there are several steps that you must accomplish. For example, some of the preparation tasks should include:


Note that unlike cloning physical machines, since we will be cloning virtual machines, there is not hardware abstraction layer that we need to worry about, no mass storage devices, and no other devices that need to be detected and installed.



  • Log on to the computer as an administrator.

  • Install and customize applications, such as Microsoft Office, Internet Explorer favorite items, and so on.

  • Customize the Default User profile.

  • Update Windows and other software components.

  • Clean temporary files.

  • Defragment the disk, and compact the VHD file.


After performing the initial setup steps on a single system, you need to run the SYSPREP utility to prepare the sample computer for cloning.


As stated above, there is a major difference between cloning systems running Windows Server 2003/XP and those running Windows Server 2008/Vista/7.


Here are some links that will help you get started:


How to Prepare Images for Disk Duplication with SYSPREP


http://technet.microsoft.com/en-us/library/bb457067.aspx


How to use the SYSPREP tool to automate successful deployment of Windows XP


http://support.microsoft.com/kb/302577


Comparing Windows XP and Windows Vista Deployment Technologies


http://technet.microsoft.com/en-us/library/cc765993(WS.10).aspx


Create the SYSPREP.inf Answer File for Windows Server 2003/XP


The SYSPREP.inf answer file is a text file that scripts the answers for a series of graphical user interface dialog boxes.Instead of having t0 manually enter the computer's product ID, accept the license agreement, choose regional settings, enter a password, owner and computer name and so on, you can script everything inside one small text file that will provide the mini-setup wizard that runs after the computer is cloned and rebooted, with the correct answers.














To create a SYSPREP.inf answer file that is used by the SYSPREP tool, you can use a text editor or you can use the Setup Manager tool that is included on the Windows XP CD and is also included with the Microsoft Windows XP Resource Kit. The answer file must be renamed to SYSPREP.inf, and must reside in the SYSPREP folder in the root of the drive where Windows XP is installed, or these files can reside on a floppy disk. If the SYSPREP folder is named differently, the Setup program ignores it. There is no need to specify any parameter for the Mini-Setup Wizard answer file.


After preparing the answer file, run the SYSPREP tool from the C:\SYSPREP folder:



Select the ‘Use Mini Setup’ and then click on ‘Reseal’:



The computer will shut down. At that  moment, if it’s a physical computer – take out the hard drive and use any cloning mechanism that you may have (i.e. Ghost etc.). If it’s a virtual machine, either use existing virtualization tools such as System Center Virtual Machine Manager (SCVMM), or simply copy the VHD file. When using virtual machines, you will need to create the settings for an X number of cloned virtual machines, and then simply connect them to the copied VHD files.


After starting up each cloned machine, if the answer file has been properly created, you will need to enter the computer name and the entire process will automatically run.



Now, you can verify your computer's SID with PsGetSID.


How to use the Sysprep tool to automate successful deployment of Windows XP


http://support.microsoft.com/kb/302577


Create the UNATTEND.xml Answer File for Windows Server 2008/Vista/7


Unlike previous versions, the unattended Windows Setup answer file in Windows Server 2008/Vista/7, is an XML file typically called Unattend.xml. This is the answer file for Windows Setup that is created by using Windows System Image Manager (Windows SIM). The answer file enables the configuration of default Windows settings, as well as the addition of drivers, software updates, and other applications. The answer file enables OEMs and corporations to customize Windows Setup tasks, for example, specifying disk configuration, changing the default values for Internet Explorer, and installing additional drivers.


Unlike previous versions, the unattended Windows Setup answer file in Windows Server 2008/Vista/7 needs to be specified during the running of SYSPREP. To do so, run the SYSPREP tool with the /unattend:filename option.


If you wish to manually configure the Windows settings after SYSPREP, run SYSPREP from the C:\Windows\System32\sysprep folder:



Make sure you do NOT FORGET to select the ‘Generalize’ option if you need to change the computer's SID. Unlike previous versions, it seems that this version will NOT change the SID unless you pick that option!!! When done, click on ‘OK’:



Select the ‘Shutdown’ and then click on ‘OK’:


The computer will shut down. Like in the previous section, if this is a physical computer – take out the hard drive and use any cloning mechanism that you may have. If it’s a virtual machine, either use existing virtualization tools such as System Center Virtual Machine Manager (SCVMM), or simply copy the VHD file. When using virtual machines, you will need to create the settings for an X number of cloned virtual machines, and then simply connect them to the copied VHD files.














After starting up each cloned machine, if no answer file has been created, you will be prompted to configure the computer name and some other settings. Of course, creating an answer file will greatly ease this process, and the entire process will automatically run.



Now, you can verify your computer's SID with PsGetSID and you're done!


Download: PsGetSid


Download: Windows AIK User's Guide and Unattended Setup Reference (Doc Update 1)


Download: Windows AIK for Windows 7 documentation (October 2009 update)


How can I SYSPREP Windows Vista?


http://www.windows-noob.com/forums/index.php?/topic/195-how-can-i-sysprep-windows-vista/




"



(Via Petri IT Knowledgebase.)

Saturday, February 6, 2010

In Depth: 6 of the best defrag software downloads

In Depth: 6 of the best defrag software downloads: "

Defragmentation software works by moving the fragments around your hard disk drive into a continuous stream. This will, in theory, speed up your boot and program loading times.

If you choose the right package, and schedule it to run once a week in the background when you're not doing anything major on your PC it can work. In fact, we shaved 40 seconds off our boot time.

Disk defragmenter tool – Windows 7
Price: FREE
Publisher: Microsoft
Web: windows.microsoft.com

The Windows' bog-standard bit-rearranger isn't actually that bad. Even if It lacks any kind of visual interface, which makes it hard to know exactly what it's going on during the whole process.

In Windows 7 and Vista it can be scheduled from within the Scheduler to run daily, weekly or monthly. In terms of speediness, it proved to be one of the better options, coming in at a shade under an hour and leaving us with 0 per cent fragmentation.

Microsoft

Of course, this was Windows 7's defragmenter: XP's slow, tricky-to-schedule package is worth avoiding.

Between this and Security Essentials, Microsoft finally seems to be packaging software that's almost as good as the paid for stuff. It's not the most aesthetically pleasing of defraggers – actually, being invisible, there's nothing aesthetic about it at all. But it does do the job, even if it won't let you adjust the higher-end settings.

Score: 75%

Line

Defraggler
Price: FREE
Publisher: Piriform
Web: www.piriform.com/defraggler

Piriform's Defraggler is, unfortunately, not designed for untangling muppets (or fraggles). It is, instead a really easy-to-use defragmentation program, and it even lets you defragment individual files and folders.

So if you've got a giant Steam library, you can set it to scan and defragment that (although Steam does have its own defragging system, but you'll need to run this manually), while ignoring little-used applications, like Microsoft Office.

Defraggler

As with the Microsoft's Disk Defragmenter Tool, you can schedule Defraggler to run daily, weekly or monthly. It's got a nice visual representation of what's going on that doesn't look like Jim Carrey's neural structure.

Unfortunately, at a duration of over 90 minutes, Defraggler took the longest to do its business, which is an epic fail from one of the most promising packages in our test.

Score: 62%

grey line

Disk Defrag
Price: FREE
Publisher: Auslogics
Web: www.auslogics.com

Ah, the humble Australians. Not content with dressing up as kangaroos to fool the rest of the world that they're real animals, they've also come up with a defragmentation tool. It's quite bonza, too, and as well as defragging it will rearrange your bits to maximise free space on your drive.

Smartly, it will even move system files to fastest area of your hard drive, so it's worth running just once to get everything in its right place, to quoteth Radiohead.

Disk defrag

Disk Defrag can be set to run on more than one drive at once, so if time's not on your side and you've got 16 hard drives you can do'em all in one swoop.

If Father Time is breathing down the back of your neck, the Auslogic option will defragment your hard drive in just 38 minutes. There is a catch: it only got our hard drive down to a level of 21 per cent fragmentation, when the rest managed 0 per cent. Not bad, but not great either.If you're going to defrag, you might as well do the whole lot.

Score: 79%

MyDefrag
Price: FREE
Publisher: JC Kessels
Web: www.mydefrag.com

MyDefrag's predecessor, JKDefrag, was a command-line based defragger, which was very light on system resources. MyDefrag is based on the same program, but it's switched to closed rather than open source.

It even has a special mode for SSDs, if you insist on defragging your solid-states - not that we'd recommend doing this.

MyDefrag

One of JKDefrag's best features was its ability to run as a screensaver. You could actualyl see it doing its business, bit-by-bit, which makes for fascinatingly ugly viewing. In fact, it prompted my ex to say 'I THINK YOUR COMPUTER'S BROKEN'.

But it is immensely satisfying to see everything fit into place properly. At 54 minutes long, MyDefrag was also the fastest in our roundup, and it certainly defragged our hard drive properly.

It's not particularly the most aesthetically pleasing of defragmentation software, but it does the job perfectly, and has a whole host of extra settings. Highly recommended.

Score: 90%

grey line

Defrag Professional
Price: £30
Publisher: O&O Software
Web: oo-software.com

O&Os defragger doesn't just defrag your disks, it does it PROFESSIONALLY. It wears a suit and tie, and probably some nice, polished shoes. It also seems to have taken a leaf out of MyDefrag's book by letting you run it as a screensaver.

It's a fully-featured package, with a ton of settings, such as eight defragmentation methods. It even sits in the background and monitors your fragmentation levels. It's certainly the most gorgeous and easy-to-use of defraggers, but at over an hour it didn't score too well in our tests.

Defrag pro

If we could rate software on looks alone, this would be a winner. But we can't, and it's not. Plus, you're paying £30 for something that - at its core - is not actually as good as free software.

Score: 65%

grey line

PerfectDisk 10
Price: £18
Publisher: Raxco Software
Web: www.perfectdisk.com

Do you enjoy drinking the rank Australian lager that is Foster's? If you do, you can thank PerfectDisk for the unfragmented flavour of your weak tin of koala piss. You see, PerfectDisk is endorsed by Foster's. Is it endorsed by Format? Kind of.

PerfectDisk 10 is also the first defragger to be approved by Microsoft for Windows 7, although we can't say we noticed any compatibility issues with other software and the latest OS.

PerfectDisk

It's sleek and user-friendly, if a little derivative of Defrag Professional. Like Piriform's Defraggler, it lets you specify folders and fi les to defrag. It's also got something called 'SMARTPlacement', a proprietary technology which organises the bits on your disk according to usage.

In our tests, it came in at just a minute behind Defrag Professional. But overall, PerfectDisk is a more complete package, and cheaper to boot. If you insist on paying for something you can get for free, it's just about right.

Score: 80%



"



(Via TechRadar: All latest feeds.)

Thursday, February 4, 2010

Gary Marshall: Facebook: it's the budget airline of tech

Fun to read, can't say I disagree much....

Gary Marshall: Facebook: it's the budget airline of tech: "

When Facebook turned five, we - OK, I - said its success wouldn't last.

That may have been premature. Facebook is six today, and it's still piling on the users: last year it had 150 million active users, and now it's got 350 million - 200 million of whom appear to be spamming us with invites for Mafia Wars.

So were we wrong, or is Facebook just taking longer to jump the shark than we predicted?

It certainly looks like the former. The continuing rise of Facebook demonstrates something pretty amazing: the way in which technology is becoming increasingly available, affordable and egalitarian.

People we'd never have expected to see online in a million years are now online, and more often than not Facebook is the thing that's got their attention.

So, Facebook is brilliant, I'm a great big numpty and everything in social networking land is groovy.

Not so fast.

Facebook isn't popular because it's good. It's popular because it's popular.

Facebook is the budget airline of tech. If Margaret Thatcher were to start a company that ran around giving small children Chinese burns, blasting Jedward through your windows at 3am and interrupting your thoughts every fifteen seconds with the wit and wisdom of Katie Price, it'd still be more popular and more loved than budget airlines. And yet millions of people fly with them every year.

Why do they do it? There are two kinds of passenger: passengers new to the airline, and passengers who've flown with them before. The former are excited, their brains full of the possibilities.

Grin and bear it

The latter grin and bear it in the knowledge that it's the only way to get where they want to go at the price they want to pay. If they don't, no problem: the airline just does a few more rubbish ads to attract some new passengers.

Facebook's rather like that. To its constant stream of new arrivals it's a playground, a world of joy and adventure. They haven't been on long enough to get sick of the oversharers and quiz takers - in fact, the odds are that they'll be the oversharers and quiz takers - and they weren't on Facebook when the various privacy controversies took place.

They're far too busy playing FarmVille to worry about the enormous amounts of information a remote and unaccountable corporation is collating about them.

To the old hands, it's a compromise: they're not keen on the privacy implications, on the way in which the Live Feed/News Feed distinction buries everything important and ensures you see only trivia, and they'd rather not spend half of their time fending off invitations to play stupid games, take part in stupid quizzes, or become fans of stupid products - but that's where everyone else happens to be.

Of course, not everyone grins and bears it. Some commit Facebook suicide; far more simply stop logging in.

But Facebook doesn't care, because every new sign-up invites all their friends, who invite all their friends, who invite… eventually Facebook will do something really, spectacularly stupid, or everybody will hit their 150-friend mental maximum, or The Kids will realise that Facebook's becoming OldPeopleBook and will head for a service their parents can't use to annoy them.

For now, though, Facebook is flying high. See you next year!



"



(Via TechRadar: All latest feeds.)

Troubleshoot your DNS

Very cool, kind of techy-tweaky.


Troubleshoot your DNS: "Are Web pages loading more slowly than they should? The problem could be your DNS settings. Glenn Fleishman explains how to diagnose and fix DNS problems.



Add to digg
Add to Reddit
Add to Slashdot
Email this Article
Add to StumbleUpon



"



(Via MacWorld News.)

Monster Storage

Kind of interesting mix of DIY storage and manufactured. Lime Technology has a novel approach to doing mass storage.

Wednesday, February 3, 2010

In Depth: 20 common Mac problems solved

Very nice article from TechRadar.

In Depth: 20 common Mac problems solved: "

The trouble with Macs is that they lull you into a false sense of security. If you spend your day using PCs, dealing with infuriating glitches becomes second nature. But Apple has made things so straightforward that you get used to stuff just working. When it doesn't, it comes as a nasty shock.

It's quite hard to identify the most common Mac problems, because most problems aren't all that common. They can range from minor annoyances that we'll all see once in a while, like applications slowing down or files behaving oddly, to the almost mythical calamities that many users will never encounter, like disk failures and kernel panics.

Sometimes it may seem obvious where to look for the solution; other times, you won't have a clue. Fortunately, the brick walls you may occasionally run up against will generally turn out, on closer inspection, to be mere ha-has in the garden of Mac.

Here are some of the daily hiccups you're most likely to suffer...

1. Persistent beachball

Quite often, the pointer turns into a spinning beach ball while your Mac has a think. Occasionally it stays that way.

First, try pressing Cmd+. to cancel whatever process is afoot. If that has no effect, switch to Finder or another app (using Option+Tab), and carry on working. If you wait, the app will finish what it's doing and give you its full attention.

Beachball

If you're convinced the app isn't going to recover, force it to quit by holding Option or by pressing Cmd+Option+Esc. Rarely, it refuses to die, or its windows may disappear while its Dock icon retains its open indicator.

Restarting your Mac will get rid of it, but could give a message saying the app failed to quit. Hold down the power button to force shutdown.

You can also use a Unix command for this: run Terminal – found in Utilities within the Applications folder – and type sudo shutdown –h. Close other apps first to avoid losing data.

2. Lost a file

The first thing to do when you think you've mislaid an important file is to ask Spotlight. Press Cmd+[Space] to open the search bar, and type as much of the filename as you remember; pause after each letter to see what comes up.

If you've overwritten your work with a new file of the same name, or emptied the Trash, you've got a problem. Time Machine users can feel smug, as Spotlight will find files that don't currently exist but have been backed up. The software is built into OS X 10.5 and later, and the only hardware you need is a USB or FireWire hard disk.

USB drive

If you haven't set it up yet, you may need a disk-recovery utility such as Data Rescue 2. This detects and restores deleted files as well as tackling more general disk problems.

It's wise to stop using the disk as soon as you realise you're missing something; the likelihood of rescuing a deleted file depends on whether new data has been saved over it.

3. Switching is slow

Modern Macs are happy for you to run lots of apps at the same time – in fact, there's no limit. Yet your Mac has a finite amount of memory (RAM), so what gives?

It's done with 'virtual memory'. When Mac OS X runs out of space in RAM for all the programs and data you're using at once, it moves some of them to a hidden temporary file on the hard disk. This works so seamlessly that you don't notice it.

But with a lot of apps on the go, it can end up happening each time you switch between them, and with major apps and large files this can take a little time.

A solution is to close some programs. Deleting files from your hard disk won't help; it's the space in RAM that's the issue. So the answer is more RAM. To check how much your Mac can take, select the model in the Memory Advisor at www.crucial.com/uk.

Crucial memory advisor

Upgrading may mean adding more memory modules or replacing the existing ones with higher-capacity chips.

4. Safari is slow

A solution to a troublesome Safari is to choose Reset Safari from its menu and reset everything. If there's a regular delay before pages load, perhaps Safari isn't looking for them efficiently.

Go to the Network pane of System Preferences, click your internet connection (Ethernet or AirPort), then Advanced, and go to the DNS tab. Under DNS Servers, you'll see nothing or the IP address of your router, greyed out.

Set dns

This leaves Mac OS X to find a default DNS (domain name server) that translates the web addresses you type into the actual IP addresses where sites are hosted. Pointing it to a specific DNS could speed things up.

Choose OpenDNS. Click + and enter 208.67.222.222, repeat and enter 208.67.220.220. See www.opendns.com/start/computer for more details.

5. Documents open in the wrong app

Although hardly a catastrophe, this can be an ongoing source of vexation. Yet it's easy to fix once you know how. For example, when you download a JPEG file, double-clicking it will normally open Preview. But if you habitually use Photoshop to work with photos, Preview may be irrelevant.

To change this, select any JPEG and press Cmd+I (Get Info). Under Open with, select your preferred app, such as Photoshop, and click Change All. Confirm this and all JPEGs will always open in Photoshop.

This works for any combination of file type and compatible application. The files themselves aren't changed; you're just altering the Mac OS's list of file associations.

More than just irksome, these symptoms mean serious business…

6. Mac won't start

A total lack of response to the power button could mean a blown fuse in the plug, so check first. If it's not completely dead, the Mac will do a 'power-on self-test' (POST) as it boots up, and beep if it finds a fault. The power LED may flash too.

One, two or three beeps points the finger at RAM modules (see here for more info). Try easing them into place, in case they've become unseated. Your manual will tell you how to get at the RAM, or go to www.apple.com/support and search for 'install memory' and your Mac's model name.

Four and five beeps indicate problems with the system ROM or processor, while the Air also has an 'SOS' code consisting of three short, three long and then three short beeps. If you hear these, seek professional Mac help.

7. Need to rescue my files

If something's amiss with your Mac, copy off as much data as you can before anything else happens. This may be possible even when you can't access Finder, using FireWire Target Disk mode.

You'll need another Mac: see this page, and compare specs in System Profiler (go to About This Mac on the Apple menu and click More Info).

Turn off the problem Mac, leaving the other running. Unplug any FireWire peripherals and connect a FireWire cable between the two (use one with a 6-pin connector, not the 4-pin video camera plug).

Start up your problem Mac, holding down T. This is the target Mac, while the other is the host. The target should appear as an icon on the host's Desktop, and you can drag files off it.

8. Mac starts, but stops

Startup might stall with a plain blue or grey screen, a flashing question mark, a broken folder icon, or – rarely – a 'sad Mac'. Sometimes, especially in the last instance, you may have a hardware problem, but let's look on the bright side.

Sad mac

Installed Snow Leopard and got a grey screen? Check out http://support.apple.com/kb/TS2990, as it could be due to an incomplete previous update.

Plugged in a USB or FireWire device? It could be incompatible or conflict with another peripheral; unplug everything and restart. Memory upgrades can sometimes get through the POST (see Tip 6) but then crash; try re-installing. The same goes for other internal upgrades.

Nothing so obvious? Try a Safe Boot, which adds extra self tests. Shut down, then start up while holding Shift. If this works, immediately try a normal restart.

Otherwise, reset the PRAM. To do this hold down Option+Cmd+P+R before the grey screen appears; check the hard disk (Tip 15); and read this page and this page.

9. Kernel panic

When the OS crashes it can only bow out with the message 'You need to restart your computer'. This is a kernel panic. It's rare and, thankfully, often fixed by restarting.

If not, try unplugging all add-ons from your Mac and restarting. Internal upgrades – including dodgy RAM – can provoke kernel panics, as can devices such as USB hubs. Another possibility is that a system file has become corrupted.

Kernel panic

Restart while holding x; if this works, go to System Preferences, click Startup Disk and ensure the correct disk is selected. Or, restart holding down Option, releasing it when icons appear; you'll be asked which disk to start up from. Or zap the PRAM (see the tip above).

If none of those work, perhaps you've moved, renamed or deleted a system file. Reversing this may sort it out – or not.

The last resort is to reinstall Mac OS X. Start up from your Mac's OS X DVD, run the installer and choose Archive and Install. You'll need to reinstall your apps, though.

10. An application is playing up

When an application suddenly no longer works properly, a common cause is corrupted preferences. Each application has its own preference files containing configuration data, and because they're read and written so often these are rather susceptible to corruption.

When an app crashes, Mac OS X may offer to reset its preferences. You can also do this manually.

Preference files, identified by the extension .plist, are stored in /Library/Preferences (on your main hard disk) and in /user/Library/Preferences, where user is your user account's home folder. Look here and you can usually see which prefs belong to which apps.

Having quit the application, make a folder on the Desktop called Suspect prefs (for example) and move all the app's preference files into this. Now relaunch the app. This forces it to rebuild its plists, which should solve the problem.

If it doesn't, just put the plists back. Some apps also have self-repair functions; for example, holding the Option key while launching may bring up a settings box. Have a look in your app's manual. Otherwise, you'll have to reinstall the application from its DVD or disc image file (.dmg).

Tame your Mac's disk drives and save yourself some hassle

11. I can't eject a disc

You want to use a CD or DVD, but there's already one in your Mac. So you hit the Eject button and… nothing happens. What now?

Daft as it sounds, try holding the button down longer. A slight delay has been added to stop you ejecting discs accidentally. You can tap the Option key to hurry it up.

Still no joy? Find the disc on the Desktop and drag it onto the Trash icon in the Dock. Or click the Eject icon besides the disc's name at the left of any Finder window.

Still not coming out? Launch Terminal, found in /Applications/Utilities, type drutil tray open and press Return. That should do the trick.

No? The final option is to restart your Mac while holding down the left mouse-button. External disk and memory drives can also fail to eject, usually because software is refusing to let go of them. Close the likely culprits: for example, iPhoto. If you have this problem often, try the free utility WhatsOpen.

12. My hard disk is full

Running out of room on your hard disk may manifest itself in an alert box warning that it's 'nearly full'; or programs such as Photoshop failing to complete operations; or your Mac generally slowing down.

On any hard disk, files are invisibly split into chunks to fit into the gaps left by previous additions and deletions. The more 'fragmented' a drive becomes, the harder it has to work. A rule of thumb is that you should leave 10% of the disk empty to minimise fragmentation.

Hard disk

To check how full the disk is, select its icon on the Desktop (or in the sidebar of any Finder window) and press Cmd+i.

Under General, you'll see how much is free. When space gets tight, delete some files. Move work onto an external drive, and remove apps you don't use.

Use Spotlight to find unwanted files. Press Cmd+F in Finder to open a search, then set the criteria. For example, choose Kind, is, Other, then type disk image: this will find all the .dmg files you downloaded to install programs and no longer need.

Or switch from Kind to Size, choose is greater than and enter, say, 50MB. Delete files within the search results by selecting them and pressing Cmd+Del: they don't disappear, but their details, in the bar at the bottom, show they now reside in the Trash.

Empty the Trash otherwise all you've 'deleted' is still on your hard disk.

13. My optical drive won't read

CD and DVD drives are susceptible to dust, which can build up on the lens that directs the laser onto the disc. In general, this isn't something you need to worry about; as attempting regular cleaning can do more harm than good.

But if the drive stops working, try a lens-cleaning disc such as the Philips SVC2520/10, £4 from www.amazon.co.uk. Follow the instructions and you could find your dead drive lives again. There's a small chance that it could make things worse – but it worked for our Mac mini.

14. Flash drive won't read

Unplugging a memory drive without ejecting it can leave it in an inaccessible state, and some computers not made by Apple have a habit of killing memory sticks.

If a flash drive is playing up, you can reformat it using Disk Utility, found in /Applications/Utilities.

Verify disk

When plugged in, the drive should appear on the left, even if it didn't show up in Finder. If not, it's time to buy a new drive. Having selected the device, you can check it in the First Aid tab and try the Repair option, but this is designed for hard disks and may not help.

More likely, you'll need to go to the Erase tab and reformat it. Choose MS-DOS (FAT), which works with both Macs and PCs, and click Erase (not Erase Free Space).

15. Something just seems funny

Your Mac starts up fine but runs slowly; or applications and files lose their icons; or certain functions stop working. Which component is to blame?

Well, while most are marvels of solid state, the hard disk basically still consists of a roulette wheel full of iron filings and a fishing rod with a magnet on the end. This is not a recipe for reliability.

The home of drive maintenance is Disk Utility, in /Applications/Utilities. Select your drive in the panel on the left; you'll notice it has two icons, one for the hard disk itself, another for the 'logical partition' containing your data (named Macintosh HD by default).

Select either, then go to the First Aid tab and click Verify Disk. This checks the data structure; any errors it finds can usually be fixed by clicking Repair Disk.

However, if this is your main hard disk, you can't repair it while the Mac OS is running off it, so you'll need to restart with your OS DVD, holding the C key to boot from it.

Having repaired your hard disk, restart while holding down the left mouse-button to eject the DVD and restart.

If the repair fails, you'll be asked if you want to erase the disk; obviously you don't, and your next stop should be an engineer. First copy any vital files onto an external drive, and avoid writing new files to the hard disk.

The other handy tool here is Repair Disk Permissions. Permissions are an obscure but important feature of the operating system – explained here – that can cause oddness if they go wrong. Just click the button to fix them.

To round off, a multi-purpose miscellany of troubleshooting tips

16. Forgotten password

The great thing about password protected user accounts is that other people can't get at your stuff. But if you forget the password, you can't get at it either.

However, if your Mac starts up with a login request and you've forgotten it, all you need is the OS X DVD that came with the computer. Insert and restart, holding the C key to make sure your Mac boots from the DVD.

Reset password

You'll find a Utilities menu that includes the command Reset Password. Do it, then restart, holding down the left mouse-button.

If you used FileVault (in the Security pane of System Preferences) to encrypt your home folder, the procedure is different. To override your FileVault password you need your master password.

Don't know this either? The only way to get data back is to crack the 1024-bit RSA encryption algorithm, which according to a recent paper, won't happen until 'at least until 2014'.

17. Screen goes weird

If the screen suddenly looks messed up, a restart is often all that's required.

With CRT monitors, it was possible to choose from a combination of resolutions and refresh rates that would result in an illegible display, but with today's LCDs the worst that can happen is an inappropriate resolution forces the screen to 'upsample', giving a slightly pixellated appearance.

Screen

If your display becomes illegible or blank, the video configuration has gone seriously adrift. This can often be fixed by zapping the PRAM: see tip 8.

18. Failed to sync

Syncing email, contacts and calendars between your Mac and iPhone or iPod touch is probably the best reason to subscribe to Apple's MobileMe service. However, now and then, you may find the information you expected to see on your device isn't there.

Like any online service, MobileMe itself can suffer glitches. Log in to www.me.com (in Safari) and check the Contacts and Calendar pages. If your data is correct there, but not on your device, it's probably just temporary, so give it a few minutes (staying online) to fix itself.

To confirm whether there's a fault with MobileMe, check System Status on your Summary page. If this isn't the cause, try resetting your sync data. Check that the data on your Mac is the version you want to keep; if you've added info on your iPhone or iPod, it's going to get overwritten.

Mobile me

Go to System Preferences. Click MobileMe, go to the Sync tab and click Advanced, then click Reset Sync Data. Choose All Sync Info from the Replace popup menu, then click the right arrow button, making the orange arrow go from the Mac to MobileMe.

Current data will be copied from your Mac to your MobileMe account, which should propagate it to your iPhone or touch. Or, 'turn it off and turn it on again'. Restart by holding the power button until Slide to power off appears, do that, then press the button again to turn it back on.

Go to Settings > Mail, Contacts, Calendars > MobileMe. Using the sliders, turn off each item that isnt syncing properly. When this is confirmed, go to the relevant app and check the data has gone. Then turn syncing on again.

19. Audio input/output broken

Sometimes you'll find your Mac isn't hearing you, or vice versa. The reason can often be found in the Sound pane of System Preferences. The tabs are: Sound Effects (controls noises made by Mac OS X and apps); Output (controls speakers and headphones); and Input (controls microphones and other sound sources).

Plugging headphones or speakers into the headphone jack diverts the signal from the internal speaker, so Headphones replaces Internal speaker in the device list. However, your Mac remembers the Output volume you last used for your headphones, and applies this.

In the Input tab, increasing the Input volume slider should increase the level on the meter as you make a noise. If no blue dots light up, your microphone isn't working. Note that on the latest iMacs, the mic is above the webcam; placing things over this will kill mic input.

20. Cleanup needed

Spilling liquids on your Mac is a nightmare scenario. With a laptop, grab it quickly – being wary of any non-MagSafe cables – and turn it upside down, allowing as much liquid as possible to run off; then shut it down and leave it in a warm (not hot) and dry place to recover.

Clean off any residue with a cotton bud slightly dampened with water. With desktop Macs it's usually the keyboard that gets it. Unplug, turn upside down, then assess the damage.

If the liquid has gone right inside and is something that won't easily evaporate away, like a fizzy drink or beer, consider running the whole thing under the tap; this shouldn't cause permanent damage as long as you dry it out fully, leaving it somewhere warmish for a day or so, before reconnecting.

This is, of course, entirely at your own risk. On a less mission-critical theme, white MacBooks can get grubby quickly. A clean cloth lightly dampened with plain water is safe to use, but what if it doesn't shift the marks?

Try erasing them with, yes, an eraser, which should only set you back a couple of quid. If this doesn't work, some users recommend Magic Eraser, the spongy stuff filled with a cleaning agent. Or, Apple's recommended cleaner, iKlear, is available from the Apple Store at £14.95 for 59ml.



"



(Via TechRadar: All latest feeds.)

Monday, February 1, 2010

In Depth: 20 Snow Leopard annoyances solved

Some handy tips. I used the auto-start in QT (#18) already.

In Depth: 20 Snow Leopard annoyances solved: "

All new operating systems have their little bugbears.

Snow Leopard has had its problems, but it's the tiny everyday annoyances that can really grate.

So here are 20 of the most common issues, together with ways to get around them.

1. 'Exposé leaves windows in the background'

The Application Window mode of Exposé is designed to let you switch between multiple document windows open in just the current application, rather than between every single open window.

In 10.5, selecting a document would bring this one to the foreground, but it would also bring all the other open windows for that application to the front as well (right behind the one you selected).

This was changed in Snow Leopard so that only the document you choose moves forward and the others stay where they are. If you want to bring the whole application to the foreground, the simplest way to do it is to use Command+Tab to switch to that application, rather than going anywhere near Exposé.

2. 'Can I stop the screensaver from closing?'

If your screensaver cuts out as soon as it begins, check to see if you're running Caffeine. This menu bar utility will let you temporarily prevent your Mac from going to sleep or starting up the screensaver. But a small incompatibility with 10.6 was preventing the screensaver from running, even when Caffeine was clicked off. Download the latest version of Caffeine to fix this.

3. 'I can't log in as root user when using Terminal'

The root account is now disabled by default. It is possible to enable it using the Directory Utility application (which now lives in System/Library/CoreServices) but there's good reason not to.

The fact is that there's virtually nothing you can do when logged in as root, that you cannot do more safely using the sudo command in Terminal.

4. 'My Time Machine backups are broken'

If you're using Apple Filing Protocol (AFP) shares to back up to a network disk, you may find that Time Machine can't find the network volume. This is because Snow Leopard checks that the volume is writing journaling data all the way to the disk, to preserve data integrity.

You can fool it into accepting your volume by using a script here but network outages could corrupt your backup volume.

A safer solution is to use AFP-compatible network disks, or attach a backup drive directly to your Mac.

5. 'Files don't open in the right application'

Snow Leopard changes the way that OS X decides which app to run when you double-click a file. In 10.5 and earlier, files opened in the app used to create them, via a code stored in the file's metadata – unless you overrode this using the Open With menu. Snow Leopard now uses the information in Get Info.

This means that TXT files will open in TextEdit, even if they were created in a different text editor. To change this, edit the Get Info window for that file.

6. 'How can I change the Stacks display?'

As well as the Grid and List views for Stacks in the Dock, there's a hidden third view that's a mix between the two. To enable it, open Terminal and type:

defaults write com.apple.dock use-new-list-stack -bool
list- stack -bool yes
killall Dock

7. 'How do I get a Stack's items to be highlighted on mouseover?'

In Mac OS X 10.5 Leopard, there was a hidden preference key that caused Stack items to automatically highlight as you moused over them. This is also possible in OS X 10.6 Snow Leopard, but the preference key has changed name (possibly because the original key contained a typo).

Stacks

It also works in Stacks' Fan view, which the previous version did not. To enable this feature, open Terminal and type:

defaults write com.apple.dock mouse-over-hilite-stack -boolean yes
killall Dock

8. 'Can keyboard shortcuts open applications?'

Some third-party utilities let you launch applications with keyboard shortcuts. But Snow Leopard now lets you do this directly, using the revamped Automator.

Use the Service template and you'll find that Launch Application is now an action. Set Service receives to no input and save it. Set a shortcut to this workflow using the Keyboard Shortcuts tab of the Keyboard System Preferences panel.

9. 'Address Book and Mail crash at the same time!'

Many of you have reported Address Book showing no Contacts in its list and then immediately freezing, requiring a Force Quit. Subsequently, Mail may appear to start correctly but then crash as soon as it needs to access the Address Book.

The problem lies with Smart Groups in Address Book. If you have a Smart Group that includes a negative condition (such as 'Card is not a member of any group'), the Address Book database can become corrupted during the upgrade to 10.6.

If you have a full backup taken from before the move to Snow Leopard, you could restore it, delete the Smart Group and reinstall. But there's a quicker solution that doesn't require you to remove Snow Leopard.

Delete Library/Application Support/Address Book/AddressBook-V22.abcddb and then search through the MetaData subfolder for filenames containing the word 'smart'. Delete any that relate to groups with negative conditions and restart Address Book.

10. 'Exposé doesn't work on the Dock when I'm using Spaces'

New to Snow Leopard is the ability to activate Application Window mode in Exposé by holding the mouse down on an application's icon in the Dock. However, some people have found that this doesn't work terribly well when combined with Spaces.

Expose

If you click on a window that's on a different space, it doesn't always move you across to that space. This seems to be related to a corrupted Dock preference file.

So drag Library\Preferences\com.apple.dock.plist to the Trash and then restart the Dock by typing killall Dock in Terminal.

Alternatively, it may just be that you have a box unchecked in your System Preferences, called When switching to an application, switch to a space with open windows for the application.

11. 'Where have some of the preferences gone?'

Snow Leopard rearranged a lot of the System Preferences panes and in particular the Archives, Disk Images and Processors panels were removed. The Disk Images pane isn't needed at all, but the other two are in Developer/Extras/PreferencePanes/Processor.prefPane and System/Library/CoreServices/Archive Utility.app/Contents/Resources/Archives.prefPane.

Preferences

If you double-click these files to reinstall them, Snow Leopard will insist they are already there, so delete everything from Library/PreferencePanes first.

12. 'How can I find and open a single hidden file?'

Previous versions of OS X would hide any hidden files on your system unless you changed the preference key in Terminal to display them. However, doing this makes all hidden files visible in all folders until you change the preference key back again. If all you want to do is open a single hidden file, that's a bit excessive.

Alternatively, you can make them temporarily visible from within the Open dialog itself. Press Command+Shift+. to toggle hidden files on and off. This only works in the Open and Save dialogs, not in ordinary Finder windows.

13. 'How do I get rid of the blue glow in Exposé?'

There's no preference pane option to control this aspect of Exposé, but you can hack it. Navigate to System\ Library\Core services and right-click Dock. Choose Show Package Contents from the context menu and navigate through to Contents\Resources.

The two files you're interested in are expose-window-selection-big.png and expose-window-selection-small.png. The second one is just for windows minimised to the Dock.

Expose

Use an image editor such as Seashore to change the colour of these image files without altering the transparency, then save the result. Be warned, however: doing this will mean the Dock's digital signature no longer matches the reference value used by Apple, meaning it will be denied access to the keychain.

If ever it needs access, you may need to reinstall the Dock or restore from backup.

14. 'The icons from the menu bar have vanished'

If you use any utilities that modify the menu bar, such as iStat Menus, occasionally other menu icons may randomly appear and disappear. This is caused by incompatibilities in those menu extensions; you should upgrade or uninstall the utilities concerned to correct the problem.

15. 'Snow Leopard won't install on the hard disk'

If you've experimented with Boot Camp in the past and subsequently removed Windows, the installer may refuse to put Snow Leopard on your internal hard disk. This is because the partition map for your hard disk doesn't always get properly updated when Boot Camp is removed.

Partition

You can fix this in Disk Utility, accessed from the Utilities menu of the installer. Select the hard disk, click the Partition tab and move the partition line away and then back again. Click Apply to rewrite the partition map.

Alternatively, provided there's nothing important on it, you could delete and recreate the partition.

16. 'Can line breaks be added in Text Substitution?'

The Language & Text System Preferences pane has a list of auto-replace sequences, so that (c) gets replaced with © and so on.

You can also add your own. If you include \n in the replacement text, this will be expanded to a line break when the substitution is made. This is useful for adding your address to the top of a letter, for example.

You can also enter the text in TextEdit and then paste it into the Language & Text pane as the replacement text.

17. 'I can't change application icons'

The old technique of copying and pasting icons from one file to another in the Get Info panel doesn't work anymore in Snow Leopard for all the Apple applications. This is because the file permissions for these files are set to read-only for all users except root.

There are two ways around this: you can just set the Permissions to read-write for that file (you'll obviously need to supply the administrator password for this); or you can quit Finder and relaunch it as root from Terminal. Type sudo /System/Library/CoreServices/ Finder.app/Contents/MacOS/Finder.

18. 'QuickTime X won't auto-play'

Snow Leopard has removed the preferences pane for the new QuickTime player but the preference keys still exist – use Terminal to set QuickTime to automatically play a movie when it opens, without you having to click the play button first.

Quciktime x

Type the following: defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1.

19. 'I can't run Windows apps via Parallels'

If you're still using an old version of Parallels Desktop (2.5 or earlier), Snow Leopard's installer moves it to an Incompatible Software folder on your hard drive. The latest version of Parallels (4.0) is fully compatible with Snow Leopard, however it costs £25 to upgrade.

You can find a list of other incompatible software here.

20. 'QuickTime videos simply refuse to play'

The new QuickTime X may report for certain video files that 'The document cannot be opened'. This appears to be a problem with the reading of AC3 soundtracks.

Just switching to the stereo version of the track doesn't help, but you can open the file in QuickTime 7 and remove the AC3 soundtrack completely. Of course, you could just play the file in QuickTime 7 instead.



"



(Via TechRadar: All latest feeds.)

Sunday, January 31, 2010

Mac Snow Leopard and QuicktimeX Auto-Start

If you want your Snow Leopard's Quicktime to automatically start playing when you open a video, open the Terminal and enter this:

defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1

Now QT will launch and immediately start playing your video file.

Thursday, January 28, 2010

How to save on Microsoft business software

How to save on Microsoft business software: "

Many small businesses pay too much for Windows, Office, and other Microsoft products. They buy software off retail shelves or online, one-at-a-time, and miss significant discounts that are available to almost every company. If your company uses more than four Microsoft products, such as Project or Visio, there is a discount program available. You just have to know where to look.

How much can you save? Up to 50 percent in one current promotion, but more commonly 5 to 25 percent, depending on the product.

"



(Via InfoWorld RSS Feed.)