Category Archives: Microthings

Windows wants to format your external hard drive?

It looks like filesystem on your external hard drive is having some issues, but most often these issues are not impacting the whole disk partition but it’s to do with some individual files that may be corrupt.

Windows asking to format the hard drive is way too much.

Instead of following Windows please run the below command as administrator from Windows CLI:

chkdsk E: /f

where E: is the letter of the affected hard drive partition.

Windows 7 N and HTC phone

I was unable to connect my HTC phone to Windows 7, it was not detecting it properly.
It was showing it as “Android Phone” but after multiple attempts I had no success with driver installation, no access to photos. Installing HTC Sync Manager did not help either.
It turned out that Windows 7 N which is a separate Windows 7 release for European Union is lacking Media Pack which contains necessary bits and pieces.
You have to download Media Pack from Microsoft website, install then restart your system then all should work fine.

Disable touchscreen in Windows 7 and Linux

In Windows please disable one of the HID Devices in Device Manager, if this does not work try USB device listed in the same Device Manager HID container.

In Linux edit the “/usr/share/X11/xorg.conf.d/10-evdev.conf” file.
You edit the touchscreen section in 10-evdev.conf file is the last section.
It will have this identifier in the section – Identifier “evdev touchscreen catchall” – the identifier seems to be the 2nd line in all the sections.
Just add in this line – Option “Ignore” “on” as the last line before “End Section”

Windows 7: regaining disk space

net stop wuauserv
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
rd /s/q %systemroot%\SoftwareDistribution.old

DISM.exe /online /Cleanup-Image /spsuperseded

bear in mind that above command is super-case-sensitive
sfc /scannow

Unfortunately in Windows 7 you cannot get rid off update packages in WINSXS folder (this can reach 12GB). You can clear it up in Windows 8.1 and later.

MacOSX: Office for Mac 2011 glitches

Read Only and the Disk wasn’t correcting it.
Staring with ~/Library/Preferences/Microsoft and its subfolders, make sure they are all Read/Write for your profile.
Also check ~/Library/Application Support/Microsoft.
If the problem is not related to Read/Write permissions then my guess is that the problem is in your preference files or an office cache file. I would start with the preference files. To do this ALL office applications must be shutdown completely, not closed.
Open ~/Library/Preferences (paste that path and include the ~ symbol into Finder > Go > Go to folder) and make sure the list of files and folders are in alphabetical order. Locate all files that start with “” and drag them to the trash. Then in the same Preference folder locate the Microsoft subfolder. In this folder you will see a few more “” file, drag them to the trash.
Final step is to go to ~/Library/Application Support/Microsoft/Office/User Templates and locate your Normal.dotm file. Rename this file to oldNormal.dotm. The reason you rename it versus trashing it is to save former AutoText, Styles, Macros, etc that you might want to bring over to the new template that gets generated.
This should clear any glitches that Office for Mac 2011 can experience.

Office365 and calendar permissions

Run PowerShell and run following commands:
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

Remove-MailboxFolderPermission -Identity user@mycompany:\calendar -user

After that, re-grant the calendar permission Review, Editor or Owner to the user. In this case:
Add-MailboxFolderPermission –Identity\Calendar -AccessRight Editor,Owner -User


Our civilization is advancing, Microsoft Windows window logo is becoming every time plainer and Google logo too. People cannot hand write properly anymore and serif font does not look right too.

Shortcuts on the terminal

For shortcuts on the desktop do not bother with crap group policies to deploy shortcuts.
Just create them and copy to C:\Users\Public\Desktop and if you have icons of choice copy them over lets say to C:\Users\Public\Pictures

To pin useful shortcuts to Outlook or Word use THIS guide.

Word templates location

The best location for e.g. autotext templates is C:\Users\user\AppData\Roaming\Microsoft\Word\StartUp
especially if you have a group policy that overrides templates and the one you have added just for yourself will get unticked again by GPO, very annoying.

Windows registry corruption

In this case I was having problems fixing a DVD drive on a laptop. The main issue was with a corrupt registry. The idea was to delete a corrupt key and allow the system to recreate it, but the following issue was inability to delete the registry key even as administrator.
The solution is to use PSEXEC tool available from Microsoft HERE
Run this from CMD as administrator:
psexec -i -d -s c:\windows\regedit.exe
The you should be able to delete the registry. Make sure to backup the registry key beforehand.
Once deleted the device should disappear. Restart the laptop and scan for devices. Recover the key from a backup and DVD should come back to life.

Not able to install .NET Framework 3.5?

On the Server 2012 for instance? In my case it was failing when using Add Roles & Features
Please just run this command in elevated PowerShell.
Install-WindowsFeature –name NET-Framework-Core –source :\sources\sxs
I hope you have an installation DVD at hand.

NTRFS: error event 13508

I ran into this problem so I ran the Authoritative FRS restore procedure using the D4 flag on the old server.
Click Start, and then click Run.
In the Open box, type cmd and then press ENTER.
In the Command box, type net stop ntfrs.
Click Start, and then click Run.
In the Open box, type regedit and then press ENTER.
Locate the following subkey in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup
In the right pane, double click BurFlags.
In the Edit DWORD Value dialog box, type D4 and then click OK.
Quit Registry Editor, and then switch to the Command box.
In the Command box, type net start ntfrs.
Quit the Command box.
Continue reading NTRFS: error event 13508

Exchange: 2007 SP3 to 2013 SP1 migration

This guide is a bit messy, but will prove to be useful as I went through all the fires of Exchange migration:

Install SP3 on the current 2007 Exchange server
Get-ExchangeServer | Format-Table Name, *Version*
Very important to double check that SP3 is in place
if the version does not equal it is not SP3
Perform Health Check of AD and Exchange by running BPA for SBS 2008
Run a full backup overnight on the Exchange server
To be honest with SP1 there was no updates to Exchange at the time I was doing the migration

Upgrade the schema on SBS Server 2008 to support Windows 2012.
Join the new SERVER to domain
Install Exchange 2013 SP1 Continue reading Exchange: 2007 SP3 to 2013 SP1 migration