Fixed: Firefox Autocomplete address bar is empty – disable the Delicious plugin

During the past week my Firefox (v16.0) Autocomplete drop down box has had missing text appear when I start typing in the address bar as seen in the screenshot below.
Firefox autocomplete address has missing text in the drop down.
Initially I thought it was Firefox using up too much memory, but the problem occurred on all of my machines even after a recent reboot so some troubleshooting was required.
After restarting Firefox in safe mode (Click the firefox button, choose Help, Restart with add-ons disabled) I confirmed it was a problem with one of my extensions. It took several minutes to disable half the addons and see if the problem continued and then repeat the process until I could work out the offending solution.
It turns out it was the Delicious addon (v3.2.1). Disabling this I have a drop down box with url’s that I can see. The proper behaviour is shown below. The A’s are greyed out as that is the character I typed to start the autocomplete sequence off.
All Autocomplete details shown with Delicious addon disabled
With only this extension enabled I get the problem so it’s not a combination of extensions having problems. I have reported this extension as incompatible.

Fixed: Installing Powershell 3 fails on Windows7 with “The update is not applicable to your computer”

Powershell 3 was released this week and is now available to download for Windows 7 (sp1) platforms. I tried to install it on my home machine this weekend and got
“The update is not applicable to your computer”. It turns out that this is actually because .net framework 4 (or higher) has not been installed.
The full .net 4 framework package is available at http://www.microsoft.com/en-us/download/details.aspx?id=17718 or you could install the newer 4.5 framework at http://www.microsoft.com/en-us/download/details.aspx?id=30653. Make sure that you close the false powershell installation before attempting the .net installation or the .net will try to install for about 5 minutes on your computer and then complain that another install is already in use and does not give you the option to retry. You can only abort and then run the whole installation again. All in all a pretty bad user experience for trying to install the software.

Thanks to the Troubleshooting guide for the beta version of Powershell 3 that tipped me off for the pre-reqs which are not mentioned on the original download page for Powershell 3 and unfortunately there is no place on that web page to provide feedback.

Retrieve user friendly list of users who have full access to a particular mailbox in Office365

We had a request to provide a list of users who have Full access to a mailbox in Office 365. The get-mailboxpermission is pretty straightforward, but the results show the Windows username as opposed to the descriptive name for the user. The following script should provide the information needed. Note that the first 3 lines connect to Microsoft Online (you will be prompted for username and password) – the last two are the magic ones. Replace “User name” with the users first and last name ie “Andy Helsby” in my case

$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session

$userlist = Get-Mailbox "user name" | Get-MailboxPermission | Where-Object { ($_.AccessRights -eq "Fullaccess") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "*nt authorityself*") }
$userlist | foreach {get-mailbox $_.user}

If I can work it out, I’ll update the script later to provide a report for all mailboxes – in the meantime this works for 1 mailbox at a time.

Funnily enough, this report didn’t actually help the reason we were asked for the report – that was because the user had issues connecting to someone else’s mailbox. It turns out that the Microsoft Online password had been changed and outlook was using the cached credentials. By removing the stored passwords in the control panel, Outlook prompted for the password and everything started working.

Firefox updates to v15 and tabs are wrong.

Firefox updated itself to v15 this morning and now all my tabs are wrong.
If I open multiple tabs then the url that I type in on the right most tab actually gets loaded in the tab to the left of it. As you can see from the screenshot shown here, my current url is showing LogMeIn and the “Add New Post” screen is actually to the right.
Very confusing.

Interestingly, the far left tab does show my gmail content but the second from left only shows the google page – the bing results are not found anywhere.
Also anything I type in the current window (ie this blog post) only appears when my mouse goes up to the bookmark toolbar or above.
Update It doesn’t do it when running in safe mode so has to be an extension somewhere. Thats going to take some time to debug 🙁
Update 2 This issue is actually caused by New Tab King. Disabling this addon gets firefox working again

Dropbox successfully saved my photos today.

Today was the Columbus Color Run 2012 race, a great 5k race where you run through paint stations where dried color “paint” is thrown at you. Great fun, very colourful and an ideal opportunity for taking photos and video. I was there for about 3 hours before and after the run and took several photos. Towards the end, my phone suddenly asked me to put an SD card in the memory slot. I thought this was odd but maybe the card had filled up. Resetting the phone didn’t help. When I got home I took the sd card out, put it in two card readers and neither of the readers would recognise that a card had been placed in the slot as far as the computer drive letters were concerned (it detected the card was inserted but no disk was mounted – not even an unformatted disk).
Needless to say I was really annoyed as I had lots of photos and video on there that I hadn’t even seen yet. As it turns out, the quality of most of them wasn’t very good – shooting through ziplock bags is not recommended. I’m going to have to try plastic wrap next time. Anyway, this evening I remembered that I had Dropbox installed on the phone – this automatically synchs photos and videos taken from the phone up to the dropbox servers and then downloaded to your other dropbox client pc’s. Sure enough, when I checked my dropbox folder – all the pictures and videos had been synched – I had recovered all my photos. Needless to say I’m VERY pleased.
Note that you don’t have to synchronize videos and if I remember right the defaults are only to sync video when on a wireless connection but fortunately I had turned this to sync on wifi and 3G 😉
If you’ve not used Dropbox yet, then I highly recommend you check it out. It will allow you to backup contents of your phone automatically (and if you process the photos on your computer they will already be there when you get back to the computer – no need to fiddle with hooking the phone to the computer). You can also use it to keep your documents stored offsite safely – even if you only have one computer, you still have a copy in the cloud that you can access from a webpage if required.
The good news, it is even free to start with – you get 2gb for free and we both get an extra 500Mb because I referred you if you use this link to Dropbox
Incidentally my Columbus Color Run photos are on Facebook here – you don’t need to be a Facebook member to view them.

Fixed – Sharepoint returns “Could not access the Search administration database. A generic error occurred while trying to access the database to obtain the schema version info. “

I’ve been fighting working with SharePoint for about a week and trying to get the Search Service started on my SharePoint Server. The only thing that seemed consistent in all the troubleshooting was that the SharePoint error messages were only slightly more helpful than “An error has occurred”. I ended logging a PSS support call with Microsoft and didn’t get very far for a while. My SharePoint farm consisted of the SharePoint Server and a separate SQL server to host the data and attempting to start the service I would get ‘Could not access the Search administration database. A generic error occurred while trying to access the database to obtain the schema version info.’
There are several other posts out there on updating the version of SharePoint to the latest Service Pack, Installing the latest cumulative update(2598321) and ensuring that the protocols were enabled on the SQL instance. All things I corrected, applied and did not fix the issue. (Note that installing the latest cumulative update DOES require a reboot and may stop SharePoint working until you do reboot – so make sure you install this out of hours.)
Upgrading the database is done with ‘psconfig -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures’ After running this command I noticed that the checking the status of the server with (get-spserver servername).NeedsUpdate would work fine on the SQL server, but running against the SQL server from the Sharepoint Server, it would tell me the database needed updating.
On one of my servers, Add/Remove Programs said that the hotfix was not required yet the Admin console on the website said it was. This issue was fixed with a “psconfig -cmd installcheck -noinstallcheck” (Thanks to http://tinyurl.com/7pkrbem)

After starting the service on the sql server instance, we wanted to get the SharePoint Server working as originally intended. After a long time of troubleshooting, our next step was to uninstall the SQL Native Client and reinstall it. As I went to uninstall the Native Client, Add/Remove programs told me the package was not installed. A repair or modify would not work either. Opening Regedit and searching for Native Client under HKey_Classes_Root\installer and deleting this key meant I was then able to reinstall the NativeClient.
We then tried starting the service and this time it worked. The strange thing is that some communications between the SharePoint server and the SQL server were obviously working fine – the database on SQL was created with no problems and SharePoint could see the data – it’s just weird that the initialising/upgrading of the database required the SQL native client but did not give any useful information that pointed to this fact.

Upgrading from Windows8 Developer to Consumer Preview will lose your settings.

Even when running the Windows setup from within Windows, this is the option you get when upgrading from Windows8 developer preview to Consumer Preview. What a User Friendly screen! If I can “chose” what I want to upgrade, why only give me one option – which is nothing? Interestingly I could keep settings if I was upgrading from Windows7 – so it’s weird how you can’t keep settings from the Developer preview to the consumer preview. The Windows 8 faq has a table of what can be kept when upgrading from previous versions of Windows.

Current operating system What you can keep
Windows 8 Consumer Preview
  • Nothing (your files will be saved in the Windows.old folder)
Windows Developer Preview
  • Nothing (your files will be saved in the Windows.old folder)
Windows 7
  • Programs
  • Windows settings
  • User accounts and files
Windows Vista
  • Windows settings
  • User accounts and files
Windows XP
  • User accounts and files

It might be a good idea to have the upgrade options within the application itself and not as a link to an external website – this way the user gets to see what options they have.

Fixed: Remove extra ip address from commandline.

Occasionally you may have a need to remove an additional ip address that has been assigned to a network card. For example you might have a card listening on two ip address’s – say 192.168.1.2 and 192.168.1.3
You can remove this from the gui but there may be reasons where the gui is not available but access to the server via psexec (or the Windows 2008R2 core mode) is the only access to the server that you have.
To remove the ip address just type in
netsh interface ipv4 delete address “Local Area Connection” addr=192.168.1.3

Simple as that but it took a while stepping through the netsh commands to get the correct syntax for this. I use netsh for switching my laptop to customer ip ranges for troubleshooting when on their lan or when configuring switches, but this is the first time I’ve had the requirement to remove an extra ip address.

Howto: Remove Roku from Amazon account (or other devices)

Amazon and Roku seem to make it hard to delete a Roku or other device from your Amazon account and most people say to go to the My Digital library and remove the device. However at time of writing (March 2012) this advice is incorrect.
Instead sign into your amazon account and then go to https://www.amazon.com/gp/video/ontv/pin
You will have your roku or other device listed, select delete and then confirm the deletion. Seconds later you will be able to register your roku with Amazon again. Of course if you don’t have access to the original Amazon account then you will need to factory reset the Roku first.

New Greasemonkey Script – Add Google Reader to Google navigation bar

I am a heavy user of Google Reader and find it annoying that it is one of the sites that does not appear on the top of the Google Navigation Bar when you are on other Google sites such as gmail, Google Plus etc. Instead you have to click the More button, then select Reader from the drop down menu.
I managed to hack together the Greasemonkey script AddGoogleReader that adds the link to Reader next to the Gmail link. What I’ve not managed to do is get the Reader to appear in line with the other buttons – I’ll play around with that later, but in the meantime, if you use chrome or have Greasemonkey installed, then let me know what you think. Follow up posts can be found in the addgooglereader tag