Win10 System Start menu on the icon mysteriously disappears

Source: Internet
Author: User

Today, in the course of my work, a colleague who was tested suddenly gave me a question. That's what she described. "After executing the XXX tool, the icon cannot be found at Start menu. ”

For the problem itself:

1, after the completion of the XXXX tool?

2,start menu disappears, then is the program file still in?

3, is Win10 core the reason?

In response to these three assumptions, I first studied the mechanism of Start menu and found that on Win10, the icons displayed in the Start menu exist C:\ProgramData\Microsoft\Windows\Start Menu\Programs below.

Later, when the XXX tool was opened, it was found that the icon was missing, rather than testing what the colleague said after executing the tool. (This is important to help me debug)

For the 3rd question above, I verified the results with different cores and found the same result, which ruled out the cause of Win10 core.

After a constant attempt, I noticed the Programdata directory, remembering the previous time in order to correspond to a requirement, and put the temporary folder under Programdata.

Think of here, I suddenly feel that today to solve this problem is expected, follow this clue down, found that the code does have to delete the temporary folder operation, depending on the conditions may be deleted programdata this directory (because if not in C, other disks will be created Programdata).

This locates the problem and then modifies the code.

Recompile, test, OK.

It's a pit.

Win10 System Start menu on the icon mysteriously disappears

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.