To disable the password reset functionality – Microsoft365

March 20th, 2021

Azure Active Directory admin Center

To disable the password reset functionality, which is redundant if you have Office 365 federated to RM Unify, please perform the following:

  1. Log on to Office 365 as a global administrator and navigate to ‘Admin center’.
  2. From the left-hand side, select Settings, ‘Security & privacy’.
  3. In the right-hand side pane, click the ‘Azure AD admin center’ link, as highlighted in the image below:
Image showing 'Azure AD admin center' link

  1. In the ‘Azure Active Directory admin center’ window, in the left-hand side, select Users, ‘Password reset’.
  2. Change the ‘Self service password reset enabled’ option to None.
  3. Click Save.
Image showing the 'Self service password reset enabled' option

What are security defaults

March 15th, 2021

Managing security can be difficult with common identity-related attacks like password spray, replay, and phishing becoming more and more popular. Security defaults make it easier to help protect your organization from these attacks with preconfigured security settings:

  • Requiring all users to register for Azure AD Multi-Factor Authentication.
  • Requiring administrators to perform multi-factor authentication.
  • Blocking legacy authentication protocols.
  • Requiring users to perform multi-factor authentication when necessary.
  • Protecting privileged activities like access to the Azure portal.

Screenshot of the Azure portal with the toggle to enable security defaults

Azure Active Directory security defaults | Microsoft Docs

Set the default pdf viewer app in Windows 10 command line

March 5th, 2021

SetUserFTA.exe .pdf Applications\Acrobat.exe

SetUserFTA: UserChoice Hash defeated – Set File Type Associations per User or Group on Windows 8/10 and 2012/2016/2019 – the kolbicz blog

Change timestamp on file

February 12th, 2021

(Get-Item “FILE PATH”).LastWriteTime=(“31-12-2021 15:00:00”)

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
Connect-ExchangeOnline

Enable-OrganizationCustomization

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

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

Disconnect-ExchangeOnline

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; fiximportedimapfolders.zip
  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

Solution

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: 

%appdata%\Microsoft\Teams


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