Tag: Microsoft

VS Code not remembering your credentials

I have noticed that on one of my PC’s VS Code just would not remember my credentials when I started it up and I would have to re-login every time to get the sync to work.

I finally decided to try and fix it. It turns out that there are too many remembered credentials in the Windows Credential Manager

If you see a whole load of Windows credentials all starting with vscode then you may need to delete them, restart VS Code and re-enter you logins again. This time they should stick 😉

If you have a substantial number, then you can run the following command to remove all the VSCode credentials. This is what I needed to do. I had hundreds.

cmdkey /list | Select-String -Pattern "LegacyGeneric:target=(vscode.+)" | ForEach-Object { cmdkey.exe /delete $_.Matches.Groups[1].Value }

You can find out more about this issue at https://code.visualstudio.com/docs/editor/settings-sync#_troubleshooting-keychain-issues

Awesome Tool and Diagnostic Util

I just found this very useful tool, especially if you are dealing with Azure VMs.


This is the tool used by the Azure Developer Support Team. You can install it while on a VM using Powershell by running the following in a Powershell command window:

md c:\tools; Import-Module bitstransfer; Start-BitsTransfer http://dsazure.blob.core.windows.net/azuretools/AzureTools.exe c:\tools\AzureTools.exe; c:\tools\AzureTools.exe

For more info see https://blogs.msdn.microsoft.com/kwill/2013/08/26/azuretools-the-diagnostic-utility-used-by-the-windows-azure-developer-support-team/



Virtual PC on Windows 8–Use Hyper-V instead

Windows 8 does not support Virtual PC and probably never will. However, even better is that Windows 8 now includes Hyper-V as a ‘feature’.

You can install this easily by turning it on.

  1. Just search  Settings for the word ‘feature’ and you should find, ‘Turn Features on or off’.
  2. Then click Hyper-V to include all sub-features.
  3. You will then need to restart.
  4. After restart, you will see

    on your desktop. Or just type ‘Hyper’ and it will come up in the app search.
  5. Hyper-V works a bit differently from Virtual PC or Virtual Server, so find out about it online.
  6. However to save you a bit of grief I would suggest that one of the first things you do is setup the networking, otherwise any new machine you create will not be able to be allocated a network connection.
  7. To set up the network, first ensure you have selected your PC on the left and then click on ‘Virtual Switch Manager’
  8. You can create a variety of switches that have different access profiles. For your machines to be able to share your network connection and gain access to the internet, you need to create a new ‘external’ switch, by clicking on ‘Create Virtual Switch’, with ‘External’ selected in the list.
  9. Give the virtual switch a name. You need to select which network device in you host machine you would like the switch to use and how. So I like to put this in the network name. Also if you have more than one network device then you can allocate one to all the guest machines and the other to the host. In the example below, I have decided to use my wired connection and have that shared with the host.
  10. Now when you create new guest virtual machines, you will be able to select a network for them to join from the start.

How to update all fields and Table of Contents in Word 2010, including headers and footers!

  1. Click on the ‘File’ tab then ‘Options’
  2. Select ‘Display’ on the left column, and make sure that ‘Update fields before printing’ is ticked.
  3. Click OK to save this setting. You only need to do this once and all documents will update field every time you print.
  4. So now to force an update of all fields, all you need to do is do a print preview and all is updated.
  5. I prefer to have ‘Print Preview’ available on the ‘Quick Access Toolbar’. If yours is not there then just click on the down arrow and select it from the list.

Tip – Manually update a single field:

To update just one field, click your mouse into it and press the F9 key on your keyboard.

Tip 2 – Manually update all fields:

To update every field in your document (other than in headers and footer), press CTRL+A to select all, then click F9

Setting up external URL access to your Team Foundation Server 2010

I came across a great blog outlining all the steps to setting up alternative URLs for Team Foundation Server 2010 (TFS), Team Web Access and the Reporting server too.

It’s well written and easy to follow and can be found here http://www.tjopsta.net/2010/04/16/how-to-change-team-foundation-server-2010-urls-for-use-externally/

Interactive demo app of Windows Phone 7 for Android and iPhone

Microsoft have rather cleverly created a little demo web app that lets an android or iPhone user get some idea of how the WP7 phone works.

Check it out at http://m.microsoft.com/windowsphone/en-us/demo/

Start showing people how much better WP7 clearly is as a phone OS.

A bit bizarre, but it does not work in my IE9 browser!!