When I tried to upgrade Windows 7 to Windows 10, I got this error every time: The installation failed in the SAFE_OS phase during INSTALL_UPDATES, 0x800f0955 0x20003

I tried many solutions to solve this problem but none of them worked.
Based on the information I found on the internet, I tried a simple solution that no one had proposed before and it worked.

You have to uninstall SNMP.

Step 1: Open control panel
Step 2: Navigate to programs and features
Step 3: Click on "Turn Windows features on or off"
Step 4: Disable "Simple Network Management Protocol(SNMP)"
Step 5: Click ok

After that upgrade Win7 to Win10 went without any problems.

Maybe this help for someone.