Fix and/or Reinstall Windows Store

February 10th, 2021

Open Start, type: powershell
Right click PowerShell
Click Run as administrator

At the command prompt, type the following then hit Enter:

Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Exit Powershell then restart.

Check if you can open the Store.

Opt out of MyAnalytics

February 7th, 2021

To opt out of MyAnalytics

  1. Open your dashboard.

  2. Select the Settings (gear) icon in the top right.

    MyAnalytics settings

  3. Under MyAnalytics, select Settings.

  4. For MyAnalytics, change the setting to Off.

    Slider off

Add Mailbox Import Export Role in Office 365 using PowerShell

February 6th, 2021

Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement


New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “user name”

Get-ManagementRoleAssignment –Role “Mailbox Import Export” | FL RoleAssigneeName, Name


Imported IMAP folders are not visible or don’t show any content

January 29th, 2021

 Automated fix with a script

VBS Script buttonThe script below will fix the incorrect folder class property for you so that it will become a regular mail folder again just like all the others.

After running the script, you’ll immediately see all your emails again, have Follow Up flag support and all other aforementioned issues will be gone. You don’t even need to restart Outlook!

The script allows you to fix a single folder, a folder and its subfolders or your entire mailbox at once. It will automatically recognize folders that don’t need any fixing and won’t make any changes to these either.

  1. Download the file;
  2. Open or extract the zip-file, and double click on; FixImportedIMAPFolders.vbs
  3. Click on Outlook in the Taskbar to see the “Select Folder” dialog.

    Select Folder Dialog

  4. Select the folder that you would like to fix and press OK.
    • If you’d like to fix all subfolders that need fixing as well, select the parent folder.
    • If you’d like to fix all folders within your entire mailbox that need fixing, simply select the mailbox name.
  5. You’ll now get a prompt whether you want to include the subfolders as well. If you don’t see this prompt, click on the script icon in your Taskbar.

    WScript icon on the Taskbar
    Click on the WScript icon in the Taskbar…

    Prompt - Do you want to include the subfolder?
    …and select your fixing preference.

  6. After the script is done, you’ll get a notification with how many folders have been fixed.

    Reset Migrated IMAP Folder - Done!

The contents of all the fixed folders should now be visible again and you should no longer have any IMAP view or any of the other aforementioned issues.

If you had the folder still selected in Outlook, select a different folder and then go back to the fixed folder so that Outlook can refresh the view and you can see that it is fixed.

Domain Controller starts up in Safe Mode

November 30th, 2020

Bare metal restore domain controller windows 2016 there are currently no logon servers


Login with the Directory services restore mode account (typically .\administrator) and open a command prompt and run the following:
bcdedit /deletevalue safeboot
shutdown -t 01 -r
Afterwards it should reboot in normal mode.

How to clear your Microsoft Teams cache on Windows 10

November 17th, 2020

1. Quit Microsoft Teams.
2. Cut and paste the following location into File Explorer: 


3. Delete contents of the entire folder.
4. Restart Microsoft Teams.

TreeSize Free Portable

September 12th, 2020


Microsoft® Update-katalog

September 12th, 2020

New-MailboxExportRequest -ContentFilter

August 30th, 2020

Year: 2018

New-MailboxExportRequest -ContentFilter “”(Received -lt ’01/01/2019′) -and (Received -gt ’01/01/2018′)”” -Mailbox “” -FilePath “\\server\Pst$\” -AcceptLargeDataLoss:$true -BadItemLimit “9999”

How to Setup Inbox Rules for Shared Mailbox on Office 365

August 28th, 2020
  1. Open a browser and visit this page
    Replace shared-mailbox-address with your shared mailbox address.
  2. Click on organize email on the left side.
  3. Click on inbox rules on the top.
  4. Click on the plus sign to add a new rule.