Tip o’ the Week 448 – Sometimes, size does matter

clip_image002Once upon a time, users had to deal with email quotas that meant they often had to shuffle messages around to stay within their allowed size limit, or else get limited functionality. The Outlook Thread Compressor tool* was written to help reduce the size of a user’s mailbox, and for a while, had thousands of users inside Microsoft. It inspired the Outlook team to write the “Conversation Clean Up” feature, which works in a slightly different way but does similar things.

Nowadays, with 50 or 100GB mailbox quotas being the norm, most Outlook users don’t need to worry about reducing the size of their mailbox other than to keep it from being too hard to use – a tidy mind and all that. But if you have massive mailboxes, the storage and organisation of all your content may put an unnecessary strain on your PC, so it’s worth taking a few steps to check and clean up if you can.

clip_image004

In Outlook 2016, go to the File menu and lclip_image006ook for Tools > Mailbox Cleanup for a bunch of tools that can help, including being able to view your current mailbox size…

… and marvel at a dialog box that hasn’t changed since the earliest days of Outlook, evidenced by the fact it measures size in KB rather than MB or even GB…

Limits to be aware of

There are some recommended limits that have been given to Exchange/Outlook users over the years – not just about the overall size of the mailbox, but the number of items in certain folders and even the number of folders themselves. See a 2005 post on the Exchange blog here, for example, which advises keeping the item count low on certain folders (< 1,000 items in the Inbox, Calendar and Contacts folder was the recommendation then – also on the Exchange Blog, check out some of the examples in this post for early pioneers of huge mailboxes).

In more recent versions of Outlook, though, there are some guidelines to avoid performance problems:

  • Keep the number of items per folder below 100,000
  • Keep the total number of folders to less than 500

Now, you’re probably not going to have too many folders with more than 100k items though it might be worth checking Sent Items and Deleted Items. Unfortunately, the mailbox size tool above shows you the total size of each folder, rather than the number of items – and if you want to know how many folder you have, you’d need to manually count them in the scrolling list box: not an easy task if you have lots of them.

It’s quite possible if you’ve had your mailbox for a while, and you’re a very diligent filer (especially if you use a methodology like GTD or tools like ClearContext), you could inadvertently have more than 500 folders – and if you use AutoArchive, then you could find a lot of them are empty, since the archive process moves the items out into another location but leaves the folder structure behind.

FolderCount to the rescue

Here’s an interesting little hobby project – a macro-enabled Excel sheet which cycles through all the folders in your mailbox, tells you how many items are in each one and offers to get rid of the empty ones for you.

It can be run in:

  • Read Only mode – it’ll just show you what you have, and leave it up to you to clean the mess
  • Active mode – for each identified empty folder, you’ll be prompted if you’d like to keep or delete it
  • Nuclear mode – just assumes you want to delete the empties, so doesn’t prompt.

clip_image008

Use with caution; though anything that is successfully “deleted” will be moved to Deleted Items first, therefore you’ll need to run it again to actually do the damage (or just empty your Deleted Items… a thought that fills some people with dread).

To run it, click on the link above, save the file locally, open it up in Excel and you’ll need to clip_image010enable the Macros to run – probably by first enabling editing, and then allowing macros by “Enable Content”.

Once you’ve done that, click on the appropriate button to let it run. I’d suggest starting with the top one until you feel brave…

*The Thread Compressor tool was made available externally after a time, but the domain disappeared… the actual Outlook Addin is again available here, but you’re a bit on your own as far as installing and using it is concerned…

Tip o’ the Week 447 – October is usually boring

clip_image002October is – in the northern hemisphere at least – a generally pretty unexciting month. The early blaze of autumnal foliage settles into a muted rusty colour before falling away; everyone’s used up their vacation allowance so the roads are clogged with traffic just as the weather starts to worsen and the mornings and evenings get dark. Kids are bored, and folkin’ folkster Roy Harper tells us we do nothing but coagulate.

If you get excited about updates to your computer’s operating system, however, October is going to be a bit more interesting, as the next release of Windows – hitherto known as Redstone 5 – will be with us. Read more from MJF, and see a good summary of what’s coming, here.

clip_image004There are lots of user interface changes, tweaks and improvements. If you like “dark mode” in apps, it’s getting more pervasive. Windows Weekly talks about the momentum behind Windows 10 if you have a spare hour-and-a-half to listen.

There’s a great new cloud-oriented clipboard experience that can be enabled (it’s off by default, so no need to get spooked), and there will be an improved screen snipping capability – both examples of the kinds of supposedly small improvements which can make a big difference to anyone with more than one PC. And both of these are features that have been proven using “Garage” projects in the past.

The Your Phone app discussed in ToW 442 will be available to all, too. The much-anticipated “Sets” feature isn’t coming this time, though.

So keep ‘em peeled over the next few weeks, for the appearance of the October update. Maybe more news will come at Ignite.

Tip o’ the Week 446 – What’s brown and sticky?

clip_image002Q: What *is* brown and sticky?

A: A stick…

Q: What’s yellow and sticky?
A: One of the most successful product design failures in history.

Yes, the Post-It note (which has gone on to spawn many imitators, sometimes known as just “stickies” or “sticky notes”) was essentially invented by accident almost 50 years ago, by a scientist at 3M who was trying to make a super-strong glue but instead came up with one that didn’t really stick very well but was at least reusable and didn’t leave any residue behind.

Of course, the real story is a lot less simple – the product really took more than a decade to perfect, and convincing people that it was a viable business took several attempts, but eventually it went on to be one of the most-bought office supplies in history.

The digital equivalent has had decades of evolution too, from a simple note app from the company that brought you Tiny Elvis to the Sticky Notes application that shipped with Windows 7, and innumerable similar apps in the various mobile and desktop app stores.

Starting with the Windows Insider “Skip Ahead” community (but soon to roll out wider), the Microsoft Sticky Notes app has been heavily revised, consolidating the multiple windows that would typically be left on your desktop with a single list, and then pop-out notes that feature multiple colours, support for ink, cross-device syncing and more.

clip_image004

Keep an eye out for the Sticky Notes 3.0 arrival on your PC. As MJF says, with the same team now responsible for OneNote, To-Do/Wunderlist, and Sticky Notes, it’ll be interesting to see how deeply integrated they get.

Tip o’ the Week 445 – Finding Modern App names

As detailed in ToW #443, there are ways of running Modern Windows apps from a script, command line or maybe just from the WindowsKey+R Run prompt – so you don’t need to use the mouse or your finger to activate them.

If you’re looking for the shortcut name for your favourite app, there’s a somewhat lengthy process to find out what it is, but at least you only need to do it once…

Try the following:

  • Fire up PowerShell (press Start, type powershell then make sure you don’t go for the ISE unless you want to do some script authoring and debugging. In other words, if you don’t know why you would want to run PowerShell ISE, then just stick with PowerShell…)
  • From the PowerShell console, run get-appxpackage > $env:userprofile\apps.txt – this will grab the details of every installed modern app in turn, and pipe all of the text to a file
  • Press WindowsKey+R and run apps.txt to launch the file, and you’ll see an almost impenetrable wall of text (thousands of lines – in Notepad, go to the View menu and enable the Status Bar then press CTRL+END to jump to the very bottom, if you want to see just how many lines…)



  • Now, you might be able to figure out from the Name line in the text, which app the following details pertain to, but it’s not always obvious – take the Mail app, for example … if you have it pinned to the Start menu and then drag/drop it onto your desktop to create a shortcut, you can see the target (which is the same as the PackageFamilyName attribute in the text file) is a bit more opaque… 
  • There are all sorts of ways you could dig around in the file system and/or the registry to find out what the shortcut name is to launch your chosen app, but perhaps the quickest is to copy/paste this text into a PowerShell console and hit enter:

     

    foreach ($p in $(get-appxpackage)) { foreach ($n in (Get-AppxPackageManifest $p).package.applications.application.extensions.extension.protocol.name) { $p.packagefullname + “`t `t `t -=- ” + $n } }

  • This will display a list of all the packages and the “protocols” that each can support, in other words the direct commands you can run to invoke them (if you run that command and stick a “:” on the end). Some will be pretty useless, but others can be handy – like onenote-cmd: which launches the Modern OneNote without the annoying prompt you get if you just try onenote:
  • If you want to create a traditional (eg Desktop) shortcut to one of your fave apps, just right-click, New, Shortcut and enter the command, give it a name, and Robert’s your father’s brother.











  • You could use a variant of this approach to automatically launch Modern apps when Windows itself starts – from WindowsKey+R, enter shell:startup and drop (or create) your shortcut in there.

Tip o’ the Week 444 – Computer! Computer!? Hello Computer?!?

clip_image002Remember the time when talking to a computer seemed like science fiction?

If you’re an Amazon Echo or Sonos One* user, you’ll already be familiar with barking orders at an inanimate object. If you’re tired of shouting ALEXA… ALEXA!!!, then you can even change the “Wake Word” on the Amazon devices – but not yet others – so you can say other things instead. Handy if your daughter or your dog is called Alexa.

clip_image004In the Alexa app on your phone, go to Settings, look under the list of devices and if you select an Echo device of some sort, then you’ll find a Wake Word option fairly far down the list. This lets you choose something else, though not yet at the level when you could make up your own wake word

Anyway, who can pass up the opportunity to pretend to be Mr Scott?
(Isn’t it amazing what you could do with one-fingered, random typing on a keyboard in 1986…?)

Anyway, recent announcements saw the preview of Cortana joining hands with Alexa and allowing access both from Windows 10 PCs to (some) Alexa functionality, and US-based Amazon users can access Cortana stuff through Alexa-enabled devices.

On your PC, clip_image006you may need to check your Cortana settings (just press WindowsKey and start typing Cortana to see the settings) to either enable the Hey Cortana key phrase, or press WindowsKey+C as a shortcut, then speak.

Voice-searching on the PC using Cortana can be a pretty handy thing to do, as there are plenty of phrases that will give you a direct response rather than take you to a website. It’s quicker to press the WindowsKey+C option than to say “Hey Cortana”, and you could ask stuff like M-S-F-T, what’s the time in New York, what’s the news, what’s the weather, convert pound to dollar and so on.

clip_image008To start using Alexa on your PC, just go to Cortana and say “Open Alexa” – at which point, on the first run, you’ll be prompted to sign in clip_image010using your Amazon account.

You’ll also need to grant permission to share info between the two services, and now be able to do things like add items to your Amazon shopping list from within the Cortana UI, or in the reverse, query your Office 365 calendar from your Echo smart speaker.

YMMV at the moment, but it’ll surely get more integrated in time. Right now, you can’t stream music through Alexa to the PC (or, it seems, control smart home devices that work through Alexa, though that could be a regional thing for the moment) – and if you’ve a UK-based Amazon account, you can’t add the Cortana Skill to your Alexa account, so there’s no option of querying Cortana from the Echo, yet. US users can, though.

Still, Normal People don’t have electronics listening to everything they say… so what if a few nerds need to put up with some temporary friction from having two competing assistants try to work together? Click-Over-bzzzt.

Tip o’ the Week 443 – Starting modern apps

Power Users often like to start applications quickly, without recourse to grubbing around with a mouse or a trackpad. Super Users might even want to write scripts that automate all sorts of things that mere mortals with less time on their hands are happy to do manually. Regardless of your penchant for automation, here are a few short cuts you can take to quickly start apps that you use often.

Apps pinned to taskbar

The taskbar in Windows obviously shows you what’s currently running, but can also be used to pin frequently accessed apps or – by default at least – those that Windows thinks should be frequent (Edge, Store, etc – right-click on them to unpin if you disagree). You’ll see a highlight line under the apps that are running, so those without the line are simply pinned there.

If you start typing the name of a favourite app at the Start menu, then right-click on it in the list, you can choose to pin it. So far, so good.

If you drag the pinned apps around, they’ll stay in that position relative to each other, and new apps will always start to the right (or underneath, if you use a vertical taskbar, as you really should). Now, if you press WindowsKey+number, you’ll jump to the app that is n along the line, and if that app isn’t running, then Windows will start it. So in the picture above, pressing WindowsKey+2 would start Edge, or WindowsKey+3 would bring Outlook to the fore.

Shortcut to desktop

You could try an old-skool method, by creating a desktop shortcut to apps that are already on your Start menu – press WindowsKey+D to show the bare desktop itself, then press Start to show the actual Start menu.

Assuming your Start menu isn’t full screen then you’ll be able to drag icons or tiles from the menu to the Desktop, and if you right-click the shortcut and look at Properties, you’ll see a Shortcut key: option… just press some key sequence that makes sense to you and press OK to save.

This method differs from the taskbar one above, because each press of the shortcut you set might start a new instance of the app (if it supports that) – which may or may not be desirable. If you end up with several windows of OneNote, for example, you could cycle through them by repeatedly pressing the appropriate WindowsKey+n as above.

Keep on Running

There’s no better mark of being a real PC deity than by launching your apps through running the executable name… you know the drill? WindowsKey+R to get the Run dialog (it’s so much faster than pressing Start), then enter the app’s real name and you’re off to the races. winword, excel, calc, notepad… they’re for novices. The genuine hardcases might even dive into the (old fashioned, obvs) Control Panel applets like ncpa.cpl rather than navigating umpteen clicks.

Looking at the shortcut to OneNote’s modern app above, though, it’s clear there isn’t a simple executable to run – onenote will launch the on-life-support OneNote 2016 version.

Many modern apps do, however, let you launch them from the Run dialog by entering a name with “:” at the end…

Examples include:

onenote: Modern OneNote (annoyingly, you may get prompted to open in OneNote 2016 – just hit cancel and it goes away)
ms-settings: The new-fangled control panel. You can tag on other commands like ms-settings:display or ms-settings:windowsupdate but you might be quicker clicking the icon than typing all of that.
bingmaps: A good bit quicker than launching the browser and navigating to the maps URL, even if you do press ALT-D to set focus to the address bar, and type bingmaps <CTRL-ENTER> to auto-fill the www. and the .com
outlookmail: Even though it’s not real Outlook, this launches the Mail part of the Mail & Calendar store app. outlookcal: does the other bit.
ms-windows-store: For when you can’t wait to check out all the great new apps in the Microsoft Store.
fb: If you feel the need to do a personality test or look at other people’s holiday photos.

More on this, later…

Continue reading

Tip o’ the Week 442 – Whose phone? Your phone…

clip_image002Back at the May 2018 Build conference, an app for Windows was previewed, which would allow you to manage content from your phone, on your PC – “Your Phone”.

If you’re an Android user, and a Windows Insider, then you can get a preview version of the Your Phone app for the PC; after starting the app on the clip_image004PC, it will ask for your mobile number and text you a link to download an updated version of the Microsoft Apps app (ya falla?). Download the update, sign in as appropriate, and suddenly your photos on the phone will start appearing in near real-time on your PC.

The Your Phone app actually uses a Wi-Fi connection on the phone to sync content with the PC – they don’t need to be on the same network but they do need to be able to talk to the back end service that coordinates things. For now, it just does photos (and only on Android), but in time, more services will be added. See more details here. And here.

clip_image006The photo sharing capability is pretty cool – if you ever find yourself taking a photo on your phone and then immediately wanting to use it on your PC, then your alternatives are either to wait for OneDrive to sync your new pic from phone to cloud (and then back down to your PC)… or plug the phone in on a USB cable and root about in its file system to find the photo. Or the worst, but probably most used: you email the photo from your phone, to yourself…

Some features of Your Phone will be tied to particular preview versions of Windows 10 – such as the recent latest build, 17228.

Tip o’ the Week 441 – OneNote updates again

As everyone knowsclip_image002

Tips talking about OneNote include coverage of the Modern App version, on ToW’s

#320, #386, #427 among others. The tl;dr version is that OneNote 2016 = great desktop app, OneNote metro/store/modern/whatev = not so functional but simpler and getting better, with a consistent UI across Windows, Mac, mobile & web. The OneNote team has basically said the desktop version is on life support and all new function development effort is going into the Store app version. Here’s a summary of their differences.

clip_image004There have been a variety of updates recently – clip_image006they should make their way to you automagically, or if you want to give your machine a poke to hurry it along, go to the Store app,  click the Ellipsis menu in the top right and choose Downloads and updates.

You might see that the Microsoft Store app itself has had a bit of an overhaul, too…

clip_image008clip_image010The OneNote Store version (sometimes officially referred to as “OneNote for Windows 10”) is a new codebase, which misses some of the more power-user features of OneNote 2016 but at the same time has added some new functionality that doesn’t exist in the desktop version, like ink to shape conversion. While many of the new feature adds are filling in gaps to the desktop release, some are adding new functions altogether.

clip_image012The latest update delivers a mixture of new and old – officially, there are no new features (according to the status page, at least at time of writing) but that’s not what is being reported widely (here, here), and by OneNote program manager @William Devereux, who summarised it nicely on Twitter.

If you’re a OneNote 2016 desktop user, why not set yourself a challenge and try switching to the OneNote for Windows 10 version for a week? Both versions can happily coexist and access the same data files, so you won’t lose any data and can easily switch back and forth between them, even running them both at the same time and perhaps with different notebooks open. To change the default version of OneNote, see here.

Tip o’ the Week 439 – Go! Go! Go!

clip_image002The legendary Merry Talker made a big thing about his “Go(quite apart from his Colemanballs). Public Service Broadcasting celebrated the iconic Gene Kranz (nearly 49 years ago) calling round all the flight controllers to get them to agree whether the Eagle should “Stay” or “Go”. And, of course, there’s an ancient board game.

But if you haven’t been hiding under a rock for a few weeks, you may have seen news about the Microsoft Surface Go being announced.

Is it an “iPad Killer”? No. The tablet market is pretty saturated, and even if potential buyers of one device flock to the Go, it’s not likely to be kryptonite to the other. It’s probably more likely that the Go exists to appeal to potentially erstwhile Chromebook buyers, in sectors like education, or as companion device to existing Windows fans in the same way that some people use a tablet as a PC alternative when they travel.

Given its performance, the Surface Go is likely to be a useful 2nd machine for many PC users, rather than an alternative primary device – though some early reviews seem to make it sound pretty good. MJF reckons many variants (LTE, 8GB RAM/256GB SSD) will be forthcoming, so maybe the mix will change in time.

clip_image004So, Brits: like pretty much every “low-cost” device, the entry level £379 machine – now available for pre-order – isn’t the full story. It’s fairly low-spec and doesn’t come with a keyboard or stylus/pen, so ordering the one most people would want will be nearer double the headline price…

Oh well, start saving up now – or wait until late August and decide (after playing with it in the flesh – in store, maybe?) if it’s the right thing for you.

Tip o’ the Week 433 – You can have the power

clip_image001With modern hardware and Windows 10, there is a great deal of flexibility in the way power (in the sense of AC/DC as opposed to Power Users) is managed.

As PC systems evolved over time, and Windows got reliable to the extent that you don’t need to reboot every day or even every week (Windows 7, realistically), the needs of power management also changed as the shift from mains-powered desktop to Lithium-Ion battery laptops gathered pace.

Sleep states defined what goes on under the covers in as a PC goes into a different power mode – whether that’s automatic (because of timing, or because the battery level gets to a particular point) or if the user chooses to sleep/hibernate, hits the power button, closes the laptop lid etc.

Most PCs could go into a low-power (S3) standby state, where the CPU was shut down but the contents of memory were preserved (still consuming power, but a lot less of it), so the machine can be woken up quickly and carry on as before. After some period in standby or at a point where the battery was about to run out, the PC might even wake up and dump the memory contents to a file on disk, then shut down completely (called hibernating), meaning a subsequent wake-up would take a few seconds longer as it would need to resume from hibernate, since the contents of that huge memory file will be read back in before continuing.

Windows 8 introduced the idea of “Connected Standby”, meaning that even when a machine was in a low-power state – to all intents, asleep, but with the CPU still able to run in a restricted manner – the system can maintain a wireless connection that means apps could remain up to date. This was a feature that only applied to modern/Store apps, allowing for synchronising contents in the background while the PC was asleep, so that when it wakes up, the app data and live tiles on the Start screen would be up to date.

As both hardware and software platforms have improved, the connected standby idea morphed into Windows 10’s “modern standby”. ToW 335 talked about managing battery states in Windows 10, and briefly discussed using a powerful tool to tweak the way your PC handles standby states.

Powercfg is a command line tool, run from an elevated command prompt (ie clip_image003one with admin privileges – press WindowsKey+R, type cmd, then crucially, press CTRL+SHIFT+ENTER to ensure the command line is entered with the right level of privilege). If you don’t see “Administrator” in the title bar of your resulting command windows, you ain’t an admin, buster.

To check and see what power modes your PC can handle, try running powercfg /a; a more traditional, ACPI desktop will clip_image005probably support S3 and Hibernate modes, but a modern laptop will likely be able to operate in Standby (S0 low power idle) – that’s “modern standby”.

You can get some detailed reporting on how your PC is behaving, by using powercfg with one of the following command line arguments: /energy, /batteryreport, /sleepstudy, /srumutil, /systemsleepdiagnostics or /systempowerreport.

SKYPE FOR SIGN OUT, OUTLOOK FOR DISCONNECT

Now, one side-effect of this S0 low power mode is that Windows 10 PCs will likely enter that mode shortly after the screen is locked (via timeout or by WindowsKey+L). Non-modern apps (ie Win32/x64 apps like Outlook, Skype for Business etc) won’t know how to deal with this effectively disconnected state, and will drop their connection.

This means that when you unlock a plugged-in laptop after being away for a while, you’ll see that Skype for Business is signed out, and Outlook might tell you it’s lost the connection to the server (and then immediately re-connects). If you find this annoying and would rather lengthen the time that elapses when your machine is plugged in, before it goes to connected standby mode, then powercfg to the rescue!

From an elevated command prompt, run:

  • Powercfg /setacvalueindex scheme_current sub_video videoconlock 3600
  • Powercfg /setactive scheme_current

Using the flag /setdcvalueindex instead will tweak the behaviour when on battery only. The value in the first command is the number of seconds before the screen will timeout when locked, so substitute 3600 seconds (ie 60 minutes) for a value of your choice. For further details of what Powercfg can do, see here.