Remove windows 10 appx packages, but retain store

$Packages = “Microsoft.SkypeApp_3.2.1.0_x86__kzf8qxf38zg5c” , `
“Microsoft.People_1.10241.0.0_x64__8wekyb3d8bbwe” , `
“Microsoft.BingFinance_4.4.200.0_x86__8wekyb3d8bbwe” , `
“Microsoft.WindowsCalculator_10.1507.15010.0_x64__8wekyb3d8bbwe” , `
“Microsoft.BingNews_4.4.200.0_x86__8wekyb3d8bbwe” , `
“Microsoft.BingSports_4.4.200.0_x86__8wekyb3d8bbwe” , `
“Microsoft.Getstarted_2.2.7.0_x64__8wekyb3d8bbwe” , `
“Microsoft.WindowsMaps_4.1506.50715.0_x64__8wekyb3d8bbwe” , `
“Microsoft.BingWeather_4.4.200.0_x86__8wekyb3d8bbwe” , `
“Microsoft.WindowsSoundRecorder_10.1507.7010.0_x64__8wekyb3d8bbwe” , `
“Microsoft.WindowsAlarms_10.1507.17010.0_x64__8wekyb3d8bbwe” , `
“Microsoft.XboxApp_7.7.29027.0_x64__8wekyb3d8bbwe” , `
“Microsoft.Windows.Photos_15.803.16240.0_x64__8wekyb3d8bbwe” , `
“Microsoft.ZuneVideo_3.6.12101.0_x64__8wekyb3d8bbwe” , `
“Microsoft.ZuneMusic_3.6.12101.0_x64__8wekyb3d8bbwe” , `
“Microsoft.MicrosoftSolitaireCollection_3.3.8040.0_x64__8wekyb3d8bbwe” , `
“Microsoft.WindowsCamera_5.42.3008.0_x64__8wekyb3d8bbwe” , `
“Microsoft.MicrosoftOfficeHub_17.6106.23501.0_x64__8wekyb3d8bbwe” , `
“Microsoft.windowscommunicationsapps_17.6106.42001.0_x64__8wekyb3d8bbwe” , `

ForEach ($package in $Packages)
remove-AppxProvisionedPackage -online -packagename $package
remove-AppxPackage -package $package

owncloud restrict download of entire root as zip

in /var/www/owncloud/lib/private/files.php

In this case, the workspace/store is called Savills. We also want to cover when the other download button is chosen from the root itself (


Look for the code starting with “try”, and modify like below. Dirty but does the job for now.

try {
if ($name ===’’) {
header(“HTTP/1.0 403 Forbidden”);
die(“Please choose a smaller selection to download. Use your back button to return.”);
if (($name ===’’) && (count($files) == “1”)) {
header(“HTTP/1.0 403 Forbidden”);
die(“Tried to download whole of root, as Not allowed.”);

Apple Mail (Mavericks) autocomplete / previous recipients will not remove

This is actually down to Exchange’s Suggested Contacts, I think.


If you open up Contacts, choose the Exchange account, you can search and remove the offending contact there. the actual list of “Suggested Contacts” appeared empty to me, but searching overall did return the contact in question, and removing it has finally removed it from the autocomplete list in Apple Mail.

Sage ACT! Connect stops syncing to local ACT! Pro 2012

The mobile device syncs to the ACT! Connect Portal, but entries from ACT! Pro 2012 do not make it into the portal, and nothing from the portal makes it into ACT!.

It seemed to stop working around about the time of switchover to British Summer Time (clocks moved forward 1 hr in the UK).

To remedy (after much messing about!), I first stopped the ACT Connect service (from right-click of the sync app in system tray), and then exited the sync/connect app from the same right click menu, and  went into c:\documents and settings\all users \application data\act\mobility, and moved all the files there into a directory called old (basically I deleted them, but backed up just in case).

Upon restarting the ACT! Connect program, a new sync began, and everything has made it into the portal. We’re about to test portal -> program sync, but I’m sure it’ll be OK.

On Vista/7/8, the directory would probably be C:\ProgramData\Act\mobility – basically it’s the “All Users” profile appdata.

I should add that I did a “recover” from the sync applications right-click menu first. This clears out everything in the portal. It might not have been necessary, or maybe you’ll get duplicate data if you don’t do it?

GPT to MBR conversion without losing data (UEFI / Legacy BIOS switch)

Changed ESXi virtual machine from UEFI to BIOS mode, so that bios440.rom trick can be used for SLIC.

Instructions copied from

The actual GPT to MBR conversion

Through the Rod Smith’s guidance and a few dirty tricks, I was successfully able to convert my GPT partition – without data loss or deleting any partitions – and then boot Windows 7 in legacy/MBR mode. In order to do this you’ll need your Windows installation media at hand as well as a copy of the Fedora 16 Live media. If you don’t have a copy of Fedora 16 Live handy, you can download the Live media ISO (64-bit) from a local mirror here

 Keep in mind that at this point I only had 3 partitions and a bunch of unpartitioned space on the disk, so conversion was a rather straightforward process (all GPT partitions mapped directly to primary partitions). Although it is theoretically possible to convert GPT partitions with >4 partitions by defining which ones are to be logical partitions after conversion, I have not tested this.
  1. Boot your Fedora 16 Live media and wait for your session to start. If you’re having troubles booting, press Tab at the boot loader screen and try booting with the nomodeset parameter added.
  2. Depending on your graphics card, you’ll either be presented with the new Gnome 3 Shell or with the traditional interface. Start a terminal session by putting your mouse in the top right corner of the screen and typing “terminal” in the search (Gnome Shell) or by selecting Applications > System Tools > Terminal (traditional interface)
  3. Install gdisk:
    su -
    yum -y install gdisk

    This may take a few moments.

  4. Make a backup of your current GPT scheme:
    gdisk -b sda-preconvert.gpt /dev/sda
  5. Now we will attempt to convert your GPT disk layout to MS-DOS/MBR. Start gdisk:
    gdisk /dev/sda

    You should be prompted with:

    Command (? for help):
  6. Press r to start recovery/transformation.
  7. Press g to convert GPT to MBR.
  8. Press p to preview the converted MBR partition table.
  9. Make any modification necessary to the partition layout. See Rod Smith’s Converting to or from GPT
    External Links icon

    page for more details on this.

  10. When you’re happy with the MS-DOS/MBR layout, press w to write changes to the disk.
  11. Shutdown Fedora 16 and boot from the Windows 7 installation media
  12. Enter your language & keyboard layout and then select the option to repair your computer in the bottom left corner.
  13. From the available options, select Startup Repair. Windows will ask for a reboot.
  14. Follow the previous three steps again to boot the Windows 7 installation and run startup repair
  15. Once again, boot the Windows 7 installation media but this time opt to open a command prompt instead of choosing startup repair. Type:
    bootrec /scanos
    bootrec /rebuildbcd
    bootrec /fixmbr
    bootrec /fixboot
  16. Close the command prompt and run Startup Repair one last time.

That’s it! You should now have a bootable installation of Windows 7 on a MBR partition layout.

Windows 8: Newly installed (and working) printer missing from Devices and Printers, despite reboots.

Not only do newly installed printers usually take an age to appear in Devices & Printers on Windows 8, but they sometimes do not show up at all.
You can print from your applications, and the queue shows up under Print Queues in Device Manager, but no amount of restarting the print spooler, or hitting F5 within Devices & Printers, will help the new printer to show up where it should.

All that is needed is a reboot of the computer – however, Windows 8’s Hybrid boot feature, which results in rapid startups and reboots, is actually a hibernate as far as kernel and device drivers are concerned, and so a restart or shutdown in the normal sense does not fix the problem.

In order to perform an actual reboot of the operating system, go to an administrative command prompt (ctrl+shift while clicking on command prompt) (save your work first please!) and type “shutdown /r /t /0” followed by enter.

If you’re as lucky as I was, your new printer will finally show up in Devices and Printers when the operating system restarts.

Thanks for this annoying problem Microsoft!

I would hope that you’d be able to hold down shift, or alt, or something, while choosing Restart or Shutdown from settings on the charms bar to initiate a traditional shutdown or reboot, but I haven’t heard anything to suggest that this is possible.

I did a little more Googling, and somebody said that if you choose Restart from the Win-X menu (hold Windows/flag key that’s in-between ctrl and alt, then tap X while holding that key), then a full restart is actually performed. I haven’t tried this myself though.

IIS cipher reordering. Fix FTP-SSL “550 The supplied message is incomplete”, tame BEAST, etc.

Placing RC4 cipher to top of the list fixes the FTP-SSL file upload problem (“550 The supplied message is incomplete” response to uploads) with IIS7 & 7.5.
(same as one of the fixes in : Move “TLS_RSA_WITH_RC4_128_SHA” to the top of the priority list.)
Unfortunately the given method for doing this (Group Policy) is non workable due to the 1023 char limit in the group policy value field.

Use IIS Crypto to make the job easy peasy. Now FTP-SSL uploads work.

Settings as below: