Category Archives: Microthings

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 Utility.app 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 “com.microsoft.x” 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 “com.microsoft.x” 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 https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

Remove-MailboxFolderPermission -Identity user@mycompany:\calendar -user myuser@mycompany.com

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

Plain

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 8.3.083.6 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

Adobe Reader is terrible

I am not sure what has happened to this PDF viewer, but this application has grew up to nearly 650MB!
What is it hiding in this software if alternative PDF viewers have just 35MB?
It is all sorts of corporate crap that sits there completely inactive unless you buy pro extended version of it.
The performance of this viewer is also going down.
Try the alternatives like SlimPDF or Foxit Reader.

Linux user: get rid of Win key

They do some nice stickers in US that you can stick over Windows symbol (Win key), but why to do that?
SammieV from Canada perfectly answers this: “I love that symbol, it reminds me of why I moved over to another OS.”
Windows same as KERNAL, Commodore Basic or DOS is our heritage like inventions of Ancient and Medieval times and I do have very good memories of Windows 98, 2000 and XP regardless of some occasional blue screens.