This error occured because of invalid registry value, to solve this
1. Open notepad
2. Copy this code
3. Save with extension .reg
4. Run the file
1. Open notepad
2. Copy this code
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000]
"OpenGLVendorName"=hex(7):61,00,74,00,69,00,6f,00,67,00,6c,00,78,00,78,00,2e,\
00,64,00,6c,00,6c,00,00,00,61,00,74,00,69,00,6f,00,67,00,6c,00,78,00,78,00,\
2e,00,64,00,6c,00,6c,00,00,00,00,00
4. Run the file