Mohammed Fayed Blog

If you got an error message when you click on links in Outlook installed on Windows 10, some time this message is like :

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.


Your organization's policies are preventing us from completing this action for you. For more info, please contact your help desk.

This can be fixed by creating .reg file (modify it to your installed browser)

Windows Registry Editor Version 5.00 


@="\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" %1"

Run CMD Run as Administrator, then execute these 2 commands


powercfg /hibernate on
powercfg /h /type full

Then from control panel [ C:\Windows\System32\control.exe ] choose power options -> Choose what power buttons -> Change settings that are currently unavailable

source: Fix Missing Hibernate Option On Windows 10 Desktop (


Windows Error 809

Error 809: The network connection between your computer and the VPN server could not be established because the remote server is not responding. This could be because one of the network devices (e.g, firewalls, NAT, routers, etc) between your computer and the remote server is not configured to allow VPN connections. Please contact your Administrator or your service provider to determine which device may be causing the problem.

To fix this error, a one-time registry change is required because the VPN server and/or client is behind NAT (e.g. home router). run the following from an elevated command promptYou must reboot your PC when finished.

  • For Windows Vista, 7, 8.x and 10

    REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f
  • For Windows XP ONLY 

    REG ADD HKLM\SYSTEM\CurrentControlSet\Services\IPSec /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f

Although uncommon, some Windows systems disable IPsec encryption, causing the connection to fail. To re-enable it, run the following command and reboot your PC.

  • For Windows XP, Vista, 7, 8.x and 10

    REG ADD HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters /v ProhibitIpSec /t REG_DWORD /d 0x0 /f



 I faced an issue, that Windows 10 desktop icons width become too large and only one icon was appearing on the screen, I tried every method and option I know in the GUI but it was not fixed, finally the fix was done through the registry key:

HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

I updated the [IconSpacing, IconVerticalSpacing] and set them to -1125

then I signed out and signed in again 

  1. Navigate to /lib/systemd/system in your terminal and open docker.service file
    vi /lib/systemd/system/docker.service
  2. Find the line which starts with ExecStart and adds -H=tcp:// to make it look like
    ExecStart=/usr/bin/dockerd -H=fd:// -H=tcp://
  3. Save the Modified File
  4. Reload the docker daemon
    systemctl daemon-reload
  5. Restart the container
    sudo service docker restart

 I have created a RemovePreload.reg text file with the following content, this way this fix can easily be re-applied every time without navigating the registry:

Windows Registry Editor Version 5.00
[-HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]
To use this, save it in a text file and change the extension from .txt to .reg. Then whenever it comes back, you can just double click it and restart or sign out.

In windows 10 the FIPS ( Federal Information Processing Standards ) policy is enabled by default which means that windows will drop the password part from the database connection string which will give you an error like:

System.Data.Entity.Core.ProviderIncompatibleException: An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See for information on DbContext and connections. See the inner exception for details of the failure.

---> System.Data.Entity.Core.ProviderIncompatibleException: The provider did not return a ProviderManifestToken string.

---> Oracle.ManagedDataAccess.Client.OracleException: ORA-01017: invalid username/password; logon denied

To solve this issue we have to disable the FIPS security policy by setting this key in windows registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy] to zero