Allow synchronisation of files with special characters (like # and %).

Allow synchronisation of files that include special characters in the filenames, like # and %.

Step 1; Download and install the ‘SharePoint Online Management Shell’
link: https://www.microsoft.com/en-us/download/details.aspx?id=35588

Step 2; Open the SharePoint Online Management Shell by searching for ‘sharepoint’ in your startmenu.

Step 3; Run the following command: (replace the values according to the tenant you are connecting to)

$adminUPN="info@iterrors.com"
$orgName="iterrors"
$userCredential = Get-Credential -UserName $adminUPN -Message "Type the password."
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential

Enter the password, click OK and press ENTER.

Step 4; Run the following command:

Set-SPOTenant -SpecialCharactersStateInFileFolderNames Allowed

All done, it can take hours or even a couple of days to get the files to sync after the change.

Windows 10 PC / Laptop goes randomly to sleep mode.

When your experience your PC or laptop going into sleep mode randomly there a lot of things that could cause that. What resolved the issue for me is this:

# Open command prompt as administrator and run the following command:
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0" /v Attributes /t REG_DWORD /d 2 /f

# Restart the ‘explorer.exe’ process via task manager.

# Go to your energy settings and edit the power plan you are currently using. Choose ‘change advance power settings’ and go to the sleep section.
Expand the ‘System unattended sleep timeout’ and change the 2 minutes to 0, or whatever.

DFS – Replication service failed to recover from an internal database error on volume.

When DFS is not replicating anymore and you see event ID 2104 with error 9214 there is a simple solution to do which i found on this website: http://www.asptricks.net/2017/01/replication-service-failed-to-recover.html

Basicly it’s disabling the replication group nodes and running a .bat file.

1. Disable group replication (DFS Management -> Replication -> Replication group -> Connections -> disable the group members.

2. Create a .bat file with the following content:


set DFSR_DB_DRIVE=E:
REM Removes the broken DFSR configuration database from the system
net stop dfsr
%DFSR_DB_DRIVE%
icacls "%DFSR_DB_DRIVE%\System Volume Information" /grant "Domain Admins":F
cd "%DFSR_DB_DRIVE%\System Volume Information"
move DFSR %DFSR_DB_DRIVE%\DFSR_backup
cd ..
icacls "%DFSR_DB_DRIVE%\System Volume Information" /remove:g "Domain Admins"
net start dfsr
dfsrdiag PollAD /Member:%userdomain%\%computername%

Windows – Open HKEY_CURRENT_USER as different user

It can happpen that you would need to edit the registery for a user, but regedit is disabled for the userprofile.

There is an option to open registery settings for another user as the administrator;

#1 Log in as Administrator and open regedit.
#2 Select HKEY_USERS and then go to ‘File -> Load Hive
#3 Browse for the NTUSER.Dat file from the user you want to edit the registery from. (make sure the user is not logged on)
#4 Enter the key you want to open, for example: HKEY_CURRENT_USER.
#5 When done, close / delete the hive.

Outlook – Pressed backspace, where did my email go?

When you (accidently) press ‘backspace’ within Outlook you will see your highlighted email dissapear.

You will not find it in deleted items or even in restore deleted items, because it’s in your ‘Archive’ folder within your profile.

Find your ‘Archive’ folder and you will see the message you just pressed ‘backspace’ on.

VLC is crashing when starting up a game

When you have a doublescreen setup and you want to use VLC to watch video’s or play music while you game it will crash.

There is a solution for this issue;

Steps: Open VLC and go to preferences -> go to video -> choose ‘all’ at the bottom and search for Overlay video output in the list under ‘video’ and turn it off. Then go back to simple preferences and go to video. Make sure accelerated video output(overlay) is not checked. Then turn off hardware YUV>RGB. And finally change your output to OpenGL.

Outlook 2016 – Upgrade in Progress

Recently i faced some Outlook 2016 functionality issues. It became impossible to sent / receive email.

In Outlook 2016 options there was a message ‘Upgrade in progress’ This could be there for days without any change.
Some websites are saying that opening Outlook in /safe mode is resolving the issue, this was not the case for me.

The solution for me was:

start -> run -> regedit
go to HKEY_CLASSES_ROOT\Installer\Components\F1291BD604B860441AB89E60BDEE0F9C
right click -> permissions
‘add’ the current user or ‘everyone’ and give it READ permissions.

Open Outlook 2016 and all should work fine.

Office365 – Create a roomlist

If you have multiple rooms in your Exchange Online environment you want to use roomlist(s).

To create a roomlist first connect to powershell:

Connect to Office 365 using Windows Powershell

To create a roomlist enter the below command:
New-DistributionGroup -Name “New RoomList” -Roomlist

You will now have a roomlist, but the list is empty. To add room’s to the list enter the following command:

Add-DistributionGroupMember -Identity “New RoomList” -Member “Room 1”

You will need to enter the above command for each room you want to add to the list.

RW Everything

Sometimes when you reinstall your PC, or for any other reason you need the OEM Microsoft Windows Productkey your laptop / PC came with.

Since there is no sticker with the key on the device you can use a very neat program called ‘RW Everything’ http://www.majorgeeks.com/files/details/rweverything.html

After unzipping the .zip choose rw.exe and click on ACPI.
Next go to the MSDM tab, at the bottom you will find the Windows key.

How to turn Clutter feature on / off for all users via PowerShell

First, connect to Office365 / Exchange via PowerShell.

http://iterrors.com/connect-to-office-365-using-windows-powershell/

To turn Clutter on:
Get-Mailbox | Set-Clutter -Enable $true

To turn Clutter off:
Get-Mailbox | Set-Clutter -Enable $false

To see if it worked, you can get the Clutter status by typing:
Get-Clutter -Identity info@iterrors.com