Windows 7 system right shortcut problem

  
We can not create a new shortcut in win 7 right, the problem description such as the title, the following record the solution, view the registry information related to .lnk, save the following code to a.bat run.
description of the problem such as the title, recorded under the following solutions: first, to see with the .lnk relevant registry information, save the following code to a.bat run: C # Code Reg Query HKCR.lnk /S & gt; "% Userprofile %DesktopRegQuery.txt"&Start Notepad "%Userprofile%DesktopRegQuery.txt" This code will look for the .lnk (shortcut) settings in the registry and save the results to the desktop's RegQuery.txt file. Then open this file. Second, to view information search, my information is as follows: RegQuery.txtHKEY_CLASSES_ROOT.lnk (Default) REG_SZ lnkfileHKEY_CLASSES_ROOT.lnkShellExHKEY_CLASSES_ROOT.lnkShellEx (Default) REG_SZHKEY_CLASSES_ROOT.lnkShellEx (Default) REG_SZHKEY_CLASSES_ROOT.lnkShellEx (Default) REG_SZHKEY_CLASSES_ROOT.lnkShellEx (Default) REG_SZHKEY_CLASSES_ROOT .lnkShellNewHandler REG_SZIconPath REG_EXPAND_SZ% SystemRoot% system32shell32.dll, -16769ItemName REG_SZ @ shell32.dll, -30397MenuText REG_SZ @ shell32.dll, -30318NullFile REG_SZCommand REG_SZ rundll32.exe appwiz.cpl, NewLinkHere% 1 ------- & gt; Bold ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~HKEY_CLASSES_ROOT.lnkShellNewConfigDontRename REG_SZ A bold line is the problem. If ShellNew's Command is above, then you need to modify it. (The above registry case is for XP……) Third, fix the problem (just delete the Command line), save the following code to b.bat, run: C# code reg delete HKCR.lnkShellNew /V Command /F this line of code will delete the Command line in ShellNew, then right click -> New -> shortcut. I have been able to create new shortcuts. Fourth, lnk registry information related to the fix the problem as follows: RegQuery.txt wrote HKEY_CLASSES_ROOT.lnk (Default) REG_SZ lnkfileHKEY_CLASSES_ROOT.lnkShellExHKEY_CLASSES_ROOT.lnkShellEx (default) REG_SZHKEY_CLASSES_ROOT.lnkShellEx (default) REG_SZHKEY_CLASSES_ROOT.lnkShellEx (default) REG_SZHKEY_CLASSES_ROOT.lnkShellEx ( default) REG_SZHKEY_CLASSES_ROOT.lnkShellNewHandler REG_SZIconPath REG_EXPAND_SZ% SystemRoot% system32shell32.dll, -16769ItemName REG_SZ @ shell32.dll, -30397MenuText REG_SZ @ shell32.dll, -30318NullFile REG_SZHKEY_CLASSES_ROOT.lnkShellNewConfigDontRename REG_SZ ---- EOF ---- through the above example, Can solve the problem!
Copyright © Windows knowledge All Rights Reserved