Fortunately, the icon is not lost forever. In fact, it should take just 30 seconds or so to get it back on your desktop.
Add the My Computer Icon to the Windows 10 Desktop
The method for adding a My Computer icon to the desktop in Windows 10 is unique to the operating system.
Right-click any unused area of the desktop to open a menu. Choose Personalize in the menu that appears. Select Themes in the left pane. Select Desktop icon settings. Select the Computer check box in the Desktop Icon Settings window. Select Apply. A computer icon appears on the desktop. If desktop icons are not visible, right-click the desktop, choose View and select Show Desktop Icons.
Replacing the My Computer Shortcut on the Windows 7 or Windows 8 Desktop
Right-click the desktop and choose Personalize from the menu. When the Personalization Control Panel window appears, click the Change desktop icons link on the left to open the Desktop Icon Settings dialog box. Put a check in the box next to Computer. Several other options appear in the dialog box, and most are probably unchecked, meaning that they’re also not displayed on the desktop. Check any of the other options you want to enable as well. Click the OK button to save the changes and close the dialog box.
When you return to the Windows 7 desktop, the My Computer icon is back in its place.
Why Did the My Computer Icon Disappear?
Beginning with Windows XP, Microsoft added a link to My Computer in the Start Menu. As a result, users had two shortcuts to access their files and folders via My Computer: one on the desktop and the other in the Start Menu.
In an effort to declutter the desktop, Microsoft chose to remove the My Computer icon beginning with Microsoft Windows Vista. Along with this change, Microsoft also dropped the “My” from “My Computer,” changing it to “Computer.”