reg delete command to delete ONEDRIVESETUP.exe from registry is not working

Rakesh 0 Reputation points
2024-10-02T11:22:20.2733333+00:00

reg delete command to delete ONEDRIVESETUP.exe from registry is not working. please find below command

reg delete "Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" -RegValue notepad++.exe /f

I want to delete the value not the the key from registry

The value path is HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store

The value name is D:\Software\npp.8.6.2.portable.x64\notepad++.exe

Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
838 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.