Error 1401. Could not create key \abc\def\ghi\. Verify that you have sufficient access
to that key, or contact your support personnel.
1. Open the regedit and navigate to the respective directory (as per your error).
2. Right click on the specific registry and assign the FULL CONTROL permission for SYSTEM and User (your id).
Above solution work for us. Alternatively, do refer to official Microsoft website for other resolutions.